
Glue Code Generator
io.github.Maverick7Published by GitHub account Maverick7v1.0.6Updated Oct 24, 2026
Maps API JSON to Vue/React components with Zod schemas and live UI previews
Overview
Generates Zod schemas mapping sample API JSON to Vue or React design-system components and renders a live UI preview in chat.
- What you can do
- Generate a Zod schema that maps a sample API JSON response onto the props of a Vue component from a design system
- Return a preview of the mapped data alongside the generated schema code
- Render a live HTML card of the result inside the chat via mcp-ui
- Work in two stages: schema generation from messy API JSON, then runtime preview rendering
- When to use it
- Useful when wiring a frontend to a backend API and you want the assistant to draft the schema mapping between an API response and an existing design-system component, and to show what the mapped card would look like before writing integration code.
- Requirements
- Runs as a local Node.js process; the README describes installing dependencies, building and starting the server, and pointing the client at the built entry file. The README also mentions a local HTTP endpoint on port 3000 for health checks and MCP connections. No accounts, API keys or environment variables are declared.
Installation
In SourceWeft
- Open Glue Code Generator in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
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
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):
Option 2: Claude Desktop
Add to claude_desktop_config.json:
🎮 Demo Walkthrough
The "Magic Moment"
- Open your AI chat (VS Code with Roo Code, or Claude Desktop)
- Paste this prompt:
- Result: The tool generates the Zod schema AND renders the actual card live in chat!
🧪 Testing with MCP Inspector
📦 Tool Reference
generate_ui_schema
Maps API JSON to Vue component props.
Inputs:
Outputs:
- Generated Zod schema code
- Mapped data preview
- Live HTML card rendered via
mcp-ui
🏗️ Architecture
🚀 Publishing & Distribution
Option 1: Smithery (MCP Marketplace)
The official way for users to discover and install MCP servers:
- Create account at smithery.ai
- Submit your server with metadata
- Users can browse and add via:
smithery install glue-code-generator
Option 2: npm Package
Publish to npm for npx usage:
Option 3: GitHub
Users clone/download and configure manually in their MCP client settings.
Note: VS Code doesn't have a built-in MCP browser yet. Users configure MCP servers in their settings or use extensions like Roo Code/Cline.
📄 License
MIT
Source: README.md at commit a754dfb
Tools
0Version history
1- v1.0.6LatestSep 16, 2026
Score
40% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Declare a license in the repository or the registry entry.
