|
|
3 ay önce | |
|---|---|---|
| .. | ||
| src | 4 ay önce | |
| CHANGELOG.md | 3 ay önce | |
| README.md | 4 ay önce | |
| index.html | 4 ay önce | |
| package.json | 3 ay önce | |
| server.ts | 4 ay önce | |
| tsconfig.json | 4 ay önce | |
| vite.config.ts | 4 ay önce | |
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