MCP Hub
Back to servers

MCP Frontend Tools Server

Provides AI assistants with frontend development tools including component scaffolding, bundle analysis, accessibility checks, and responsive design guidance. Enables automated generation of React components with tests and stories, bundle optimization recommendations, and WCAG compliance fixes.

glama
Updated
Apr 18, 2026

MCP Frontend Tools Server

A Model Context Protocol (MCP) server that gives AI assistants (Claude, Copilot, Cursor) access to frontend development tools — component scaffolding, bundle analysis, accessibility checks, and responsive design guides.

MCP TypeScript Node.js

Available Tools

ToolDescription
scaffold_react_componentGenerate a typed React component with tests, stories, and CSS module
analyze_bundleScan a build directory for oversized JS/CSS, report findings
check_accessibilityStatic WCAG 2.2 checks on HTML with fix suggestions
responsive_breakpoint_guideGenerate responsive CSS, container query, and Tailwind patterns

Setup

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "frontend-tools": {
      "command": "node",
      "args": ["/path/to/mcp-frontend-tools/dist/index.js"]
    }
  }
}

VS Code with Copilot

Add to .vscode/settings.json:

{
  "github.copilot.chat.mcpServers": {
    "frontend-tools": {
      "command": "node",
      "args": ["${workspaceFolder}/mcp-frontend-tools/dist/index.js"]
    }
  }
}

Example Usage (in AI Chat)

"Scaffold a UserProfileCard component with avatar, name, and bio props"

The AI calls scaffold_react_component and gets back:

  • UserProfileCard.tsx — Typed component with forwardRef
  • UserProfileCard.test.tsx — Testing Library tests
  • UserProfileCard.stories.tsx — Storybook story
  • UserProfileCard.module.css — CSS module
  • index.ts — Barrel export

"Analyze my dist/ folder for bundle size issues"

The AI calls analyze_bundle and returns a markdown report with oversized files, recommendations, and a summary table.

Architecture

src/
├── index.ts                  # MCP server setup (stdio transport)
└── tools/
    ├── index.ts              # Tool definitions + router
    ├── scaffold-component.ts # React component generator
    ├── bundle-analyzer.ts    # Build output analyzer
    ├── a11y-checker.ts       # Static WCAG checks
    └── responsive-guide.ts   # Responsive CSS pattern generator

Development

npm install
npm run build
npm run inspector   # Test with MCP Inspector

License

MIT

Reviews

No reviews yet

Sign in to write a review