Frontend Guru MCP
Transforms design inputs (URLs, screenshots, descriptions) into production-ready React components following G2's Elevate 2.0 design system, providing both an MCP server for Claude Code and a web interface.
README
Frontend Guru MCP
Transform designs to Elevate 2.0 design system - MCP server + web interface
šÆ What This Does
Takes design inputs (URLs, screenshots, descriptions) and transforms them into production-ready React components that follow G2's Elevate 2.0 design system.
Two interfaces:
- MCP Server - For Claude Code users (CLI + Desktop tab)
- Web Interface - For everyone else (GUI, zero setup)
š Quick Start
For Claude Code Users (MCP Server)
1. Install dependencies:
npm install
npm run build
2. Configure Claude Code/Desktop:
Add to your MCP config file:
Claude Desktop: ~/Library/Application Support/Claude/claude_desktop_config.json
Claude Code: ~/.claude/mcp_servers.json
{
"mcpServers": {
"frontend-guru": {
"command": "node",
"args": ["/Users/abedell/Developer/frontend-guru-mcp/dist/mcp/index.js"]
}
}
}
3. Restart Claude
4. Use it:
/frontend-guru https://example.com
Claude will ask you questions about format, then run the transformation.
For Web Interface Users
Coming soon - Will be deployed to: https://g2-frontend-guru.vercel.app
š Project Structure
src/
āāā core/ # Shared logic (used by both MCP and web)
ā āāā agents/ # Agent prompts (orchestrator, analyzer, planner, etc.)
ā āāā orchestrator/ # Transformation workflow
ā āāā exports/ # Output format handlers
āāā mcp/ # MCP server (Claude Code)
āāā web/ # Web interface (Next.js) - TODO
š§ Development
Run MCP server in dev mode:
npm run dev:mcp
Build everything:
npm run build
š Next Steps (TODO)
- [ ] Complete web interface (Next.js app in
src/web/) - [ ] Deploy web interface to Vercel
- [ ] Implement actual agent workflow integration (currently returns mock data)
- [ ] Add export handlers (ZIP, preview URL, clipboard)
- [ ] Add progress tracking for long builds
- [ ] Add build history/listing
š How It Works
- User provides input (URL, screenshot, or description)
- Analyzer agent identifies all sections in the design
- Planner agent creates optimal build plan
- Builder agent transforms design to React code (with design system rules)
- Validator agent checks completeness and compliance
- Refiner agent fixes any design system violations
- Export in requested format (React, ZIP, preview, clipboard)
All agents follow the "transformation mindset" - adapting designs to match Elevate 2.0 standards, not just copying them.
š Documentation
- Agents: See
src/core/agents/for all agent prompts - Design System Rules: See
src/core/agents/frontend-guardian.mdfor all 41 rules - Orchestrator: See
src/core/agents/orchestrator.mdfor workflow
š Troubleshooting
MCP server not showing up in Claude:
- Check config file path is correct
- Verify file has valid JSON (no trailing commas)
- Restart Claude completely
- Check logs: MCP server logs to stderr
Build fails:
- Ensure all agents are present in
src/core/agents/ - Check that Node.js version is 18+ (
node --version)
š License
Private - G2 internal use only
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.