uswds-local-mcp-server
Verified Safeby 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
node dist/index.jsEnvironment 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
spec-workflow-mcp
Facilitates structured, specification-driven software development by providing a workflow engine, real-time dashboards, and tools for task management, approvals, and detailed implementation logging, integrated with AI agents and VSCode.
f2c-mcp
A Model Context Protocol server for Figma Design to Code, enabling AI tools to convert Figma designs into production-ready frontend code.
mcp-server
A Node.js server implementing Model Context Protocol (MCP) for Webflow, enabling AI agents to interact with Webflow Data and Designer APIs.
comet
An AI-enhanced development workflow agent (Model Context Protocol server) to assist with building React/TypeScript components based on USWDS, including code generation, component listing, and documentation search.