New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Integration for building MCP servers that serve interactive json-render UIs inside MCP-capable clients.

skills.sh installs
5.9K
GitHub stars
19.8K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers server setup with createMcpApp() and client rendering through the useJsonRenderApp() hook inside an iframe
  • Includes registerJsonRenderTool and registerJsonRenderResource for adding json-render to an existing MCP server
  • Bundles the React client into a single self-contained HTML file using Vite and vite-plugin-singlefile
  • Designed for developers targeting Claude, ChatGPT, Cursor, or VS Code with a json-render catalog

Install

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

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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

Details

Repository
github.com/vercel-labs/json-render
Categories
Skill & Plugin Building, Frontend & UI Code
First seen
May 16, 2026

More from vercel-labs/json-render

All 30