
Glue Code Generator
This is a code generation tool that bridges the gap between backend API responses and frontend design system components. It takes messy JSON from your APIs and Vue or React component templates, then generates Zod validation schemas that map one to the other. The standout feature is the live preview capability using mcp-ui, so you can see the rendered component directly in your chat interface while working. You'd reach for this when you're tired of manually writing transformation logic between your API contracts and UI layer, especially if you're working with design systems that have strict component interfaces. Runs as a local Node server and integrates with Claude Desktop or VS Code extensions like Roo Code.
- tool
- 1
- transport
- STDIO
- last updated
- Dec 7, 2025
Tools
1 toolsPublic tool metadata for what this MCP can expose to an agent.
generate_ui_schemaMaps API JSON to Vue component props.
Maps API JSON to Vue component props.
No parameter schema in public metadata yet.
Sponsors
Readme
MCP UI Glue Code Generator
π― The Grand Slam Demo: Maps messy API JSON to Vue OR React Design System components using Zod schemas, with live UI previews via MCP-UI.
β¨ What is this?
This is a Two-Stage System for automating frontend integration:
- Stage 1 (Factory): Takes "Messy API JSON" + "Design System Component" (Vue or React) β Generates Zod Schema mapping
- Stage 2 (Runtime): Renders a live preview using
mcp-uidirectly in your chat
π Quick Start
# Install dependencies
npm install
# Build the server
npm run build
# Start the server
npm start
Server will be running at:
- Health Check: http://localhost:3000/
- MCP Endpoint: http://localhost:3000/mcp
π§ VS Code Integration
Option 1: Roo Code / Cline Extension
Add to your VS Code settings (settings.json):
{
"roo-cline.mcpServers": {
"glue-code-generator": {
"command": "node",
"args": ["d:/MCPUIPlugin/build/index.js"]
}
}
}
Option 2: Claude Desktop
Add to claude_desktop_config.json:
Details
- Repository
- github.com/maverick7/mcp-glue-code-generator
- Category
- Data & Analytics
- Package
mcp-glue-code-generator- Transport
- STDIO
- Registry
- MCP registry, active