跳到正文
FunCoding

Ripple

官方 MCP Registry 已收录

Answer with live UI cards: charts, tables, diagrams and dashboards drawn inline in the chat.

Star
22
版本
v0.1.0
许可证
MIT
最近提交
2026年11月20日

@ripple-ui/mcp

An MCP server that lets any agent answer with a live Ripple card instead of a wall of text. It has one tool, ripple_render. The agent writes a small Ripple JSON spec (a chart, a table, a diagram, a dashboard) and the card shows up inline in the chat.

It uses MCP Apps: the tool points at a ui://ripple/card.html resource, and the host draws that page in a sandboxed frame. The page loads @ripple-ui/embed from jsDelivr at a pinned version. Hosts that don't support MCP Apps yet still get the tool's short text reply, so nothing breaks there; you just don't see a card.

No dependencies. It runs on Node 18 or newer.

Install

Claude Code

claude mcp add ripple -- npx -y @ripple-ui/mcp

Add --scope user to have it in every project.

Claude Desktop

Open claude_desktop_config.json (Settings → Developer → Edit Config) and add:

{
  "mcpServers": {
    "ripple": {
      "command": "npx",
      "args": ["-y", "@ripple-ui/mcp"]
    }
  }
}

Restart Claude Desktop.

Cursor

Add this to .cursor/mcp.json in your project, or ~/.cursor/mcp.json for every project:

{
  "mcpServers": {
    "ripple": {
      "command": "npx",
      "args": ["-y", "@ripple-ui/mcp"]
    }
  }
}

Any other MCP client works the same way: run npx -y @ripple-ui/mcp over stdio.

Try it

Ask for something visual: "show last quarter's revenue by month as a chart", "compare these three plans in a table". The agent calls ripple_render with a spec like this:

{
  "version": "1.0",
  "ui": {
    "type": "card",
    "props": { "title": "Revenue" },
    "children": [{ "type": "metric", "props": { "label": "Q3", "value": "$12k" } }]
  }
}

Widget types and props are in the Ripple docs. For better specs, give your agent the Ripple skill too.

Options

Env varWhat it does
RIPPLE_EMBED_URLLoad the embed from somewhere else, such as a self-hosted copy. If it's on another origin, the host's CSP for the card will block it.

Develop

cd packages/mcp
bun run test     # node --test, drives the real server over stdio

同类 MCP Server

精选

Metabase

搜索、查询和可视化 Metabase 数据,操作受用户权限控制。

MEmetabase/metabase51k近 7 天新增 219 个 star

精选

next-ai-draw-io

描述一句话生成架构图,选中形状修改,每次改动可撤销。

DADayuanJiang/next-ai-draw-io37k近 7 天新增 119 个 star

精选

GitDiagram

将 GitHub 仓库转为交互式架构图,获取 Mermaid 源码和视频解说。

AHahmedkhaleel2004/gitdiagram19k近 7 天新增 85 个 star

Figma-Context-MCP

Give your coding agent access to your Figma data. Implement designs in any framework in one-shot.

GLGLips/Figma-Context-MCP16k近 7 天新增 56 个 star

stitch-skills

A library of Agent Skills designed to work with the Stitch MCP server. Each skill follows the Agent Skills open standard, for compatibility with coding agents such as Antigravity, Gemini CLI, Claude Code, Cursor.

GOgoogle-labs-code/stitch-skills15k近 7 天新增 2,572 个 star

精选

cursor-talk-to-figma-mcp

让智能体读取和修改 Figma 设计稿。

GRgrab/cursor-talk-to-figma-mcp7.1k近 7 天新增 11 个 star