Bridges json-render's declarative UI system with the Model Context Protocol so you can serve interactive interfaces inside Claude, ChatGPT, Cursor, and VS Code. The server side registers an MCP tool that accepts json-render specs and serves a bundled React app as an HTML resource. Inside the iframe, a React hook connects via postMessage to render the spec with your component catalog. Works with shadcn components out of the box. The setup is straightforward if you're already familiar with MCP servers and Vite bundling, though you're wiring together several pieces. Honestly most useful if you're already invested in json-render and want your UIs to work across MCP clients without rewriting them.

skills.sh installs
5.9K
GitHub stars
19.5K
last updated
Aug 21, 2026

Install

$ npx -y skills add vercel-labs/json-render --skill mcp --agent claude-code

Installs into .claude/skills of the current project.

Files

@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.

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";

const catalog = defineCatalog(schema, {
  components: { ...shadcnComponentDefinitions },
  actions: {},
});

const server = createMcpApp({
  name: "My App",
  version: "1.0.0",
  catalog,
  html: fs.readFileSync("dist/index.html", "utf-8"),
});

await server.connect(new StdioServerTransport());

Client (React, inside iframe)

import { useJsonRenderApp } from "@json-render/mcp/app";
import { JSONUIProvider, Renderer } from "@json-render/react";

Sponsors

Details

Repository
github.com/vercel-labs/json-render
Categories
AI & Agent Building, Cloud & Infrastructure
First seen
May 16, 2026

More from vercel-labs/json-render

All 31
1vercel avatarmigrate-ai-sdk-v6-to-v7vercel/aiMigrate applications from AI SDK 6.x to AI SDK 7.0. Use when upgrading Vercel AI SDK packages, fixing v7 migration errors, or when the user mentions AI SDK v6, 5.8Kskills.sh installs
2affaan-m avataragent-introspection-debuggingaffaan-m/eccStructured self-debugging workflow for AI agent failures using capture, diagnosis, contained recovery, and introspection reports.5.7Kskills.sh installs
3affaan-m avatarai-regression-testingaffaan-m/eccRegression testing strategies for AI-assisted development. Sandbox-mode API testing without database dependencies, automated bug-check workflows, and patterns t5.7Kskills.sh installs
4affaan-m avatarmcp-server-patternsaffaan-m/eccBuild MCP servers with Node/TypeScript SDK — tools, resources, prompts, Zod validation, stdio vs Streamable HTTP. Use Context7 or official MCP docs for latest A5.6Kskills.sh installs
5affaan-m avatarai-first-engineeringaffaan-m/eccEngineering operating model for teams where AI agents generate a large share of implementation output.5.5Kskills.sh installs
6affaan-m avatarcontinuous-agent-loopaffaan-m/eccPatterns for continuous autonomous agent loops with quality gates, evals, and recovery controls.5.5Kskills.sh installs