Back to Home
ctrimm icon

uswds-local-mcp-server

Verified Safe

by ctrimm

Overview

Provides an MCP (Model Context Protocol) server for AI-assisted guidance on the USWDS design system, offering tools to list, describe, compare, validate, and generate code for USWDS components in React, vanilla HTML, or Tailwind CSS.

Installation

Run Command
node dist/index.js

Environment Variables

  • RESEND_API_KEY
  • CLOUDFLARE_API_TOKEN
  • EMAIL_ENABLED
  • EMAIL_FROM
  • USE_REACT_COMPONENTS

Security Notes

Authentication uses API keys stored in DynamoDB, with secrets managed by AWS Secrets Manager via SST. Origin validation middleware is in place for CORS protection. Rate limiting is implemented in-memory per Lambda instance, offering basic protection but lacking global coordination without further integration (e.g., WAF, API Gateway usage plans, which are mentioned as future enhancements in ARCHITECTURE.md and RATE_LIMITING.md). The admin API has custom authentication via middleware, which needs to be carefully secured in production. No `eval` or blatant obfuscation found.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassMedium
Avg Tokens1000
Stars0
Forks0
Last Update2026-01-04

Tags

USWDSMCPServerlessAI ToolsReactTailwind CSSAWS Lambda