json-render-mcp
Installation
SKILL.md
@json-render/mcp
MCP Apps integration that serves json-render UIs as interactive MCP Apps inside Claude, ChatGPT, Cursor, VS Code, and other MCP-capable clients.
In pmx-canvas, prefer the native canvas_add_json_render_node and canvas_add_graph_node
tools first. They store validated specs directly in canvas node state and render them through the
local pmx-canvas viewer route without needing a separate sidecar server.
Quick Start
Server (Node.js)
import { createMcpApp } from "@json-render/mcp";
import { defineCatalog } from "@json-render/core";
import { schema } from "@json-render/react/schema";
import { shadcnComponentDefinitions } from "@json-render/shadcn/catalog";
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
import fs from "node:fs";