A json-render MCP App that serves interactive shadcn/ui-based UIs directly inside Claude, ChatGPT, Cursor, VS Code, and other MCP-capable clients.
pnpm install
pnpm build
Add to .cursor/mcp.json:
{
"mcpServers": {
"json-render": {
"command": "npx",
"args": ["tsx", "examples/mcp/server.ts", "--stdio"]
}
}
}
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"json-render": {
"command": "npx",
"args": ["tsx", "/absolute/path/to/examples/mcp/server.ts", "--stdio"]
}
}
}
pnpm start
# Server listens on http://localhost:3001/mcp
pnpm start:stdio
useJsonRenderApp hook) into a single self-contained HTML filerender-ui tool with the catalog prompt as its description