Ripple
Answer with live UI cards: charts, tables, diagrams and dashboards drawn inline in the chat.
- Star
- 22
- 分类
- 设计与前端
- 版本
- v0.1.0
- 许可证
- MIT
- 最近提交
- 2026年11月20日
README
在 GitHub 上查看@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 var | What it does |
|---|---|
RIPPLE_EMBED_URL | Load 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
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