
DiagramZu
ai.diagramzuv0.0.3更新于 Sep 29, 2026
Let Claude, Cursor, or ChatGPT author Mermaid diagrams your team can read and share.
安装
在 SourceWeft 中
- 打开 控制台中的 DiagramZu,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。
{
"mcpServers": {
"mcp": {
"type": "http",
"url": "https://mcp.diagramzu.ai/mcp"
}
}
}README
@diagramzu/mcp
MCP server for diagramzu.ai. Lets Claude Code, Claude Desktop, Cursor, Windsurf, ChatGPT custom GPTs, and any MCP client read and write Mermaid diagrams in your Space.
You author diagrams by talking to your AI — it stores them in your Space at diagramzu.ai/app/d/<id>, where your team can read them and publish a public link.
Available in the official MCP Registry as
ai.diagramzu/mcp.
1. Get a token
Sign up at diagramzu.ai, then create an API token at diagramzu.ai/app/settings/connections. Tokens look like dz_live_… and are scoped to one Space — no separate space-id needed.
2. Connect your client
The hosted server is the easy path: no install, no build. Just paste a config.
Claude Code
Claude Desktop, Cursor, Windsurf, Cline
Add to your client's MCP config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS for Claude Desktop, ~/.cursor/mcp.json for Cursor, etc.):
ChatGPT custom GPT (Actions)
In the GPT builder, add an MCP server action pointing to https://mcp.diagramzu.ai/mcp with a Bearer-token authentication header set to your dz_live_… token.
Local stdio (for clients that don't speak remote MCP)
with environment:
Most users should prefer the remote HTTP transport above — the stdio path exists for clients without HTTP MCP support.
Tools
Which URLs are public
Two different things get called "a link" here, and only one of them works for someone outside your Space:
The tools hand back the /app/… URLs, so a link pasted straight out of a chat is
a members-only one: send it to someone outside the Space and they land on
sign-in. To publish, open the diagram or deck in DiagramZu and use its Share
button. This MCP server deliberately ships no tool that mints a public link —
not because a token cannot (a dz_live_… token can mint one over the REST API),
but because publishing a Space's content should be a deliberate human action
rather than a side effect of a conversation. Once a diagram has a public link,
get_diagram and update_diagram report it on a Share (public, read-only):
line of their own.
Show off your setup
If you publish your MCP / Claude Code config in a dotfiles or example repo, drop this in the README so the next person knows where the diagrams come from:
Renders as a small shields-style badge — gray MCP + indigo diagramzu.
Local development (this repo)
For hacking on diagramzu itself, build from source:
License
MIT
来源:README.md,提交 1ca30cc
工具
0版本历史
1- v0.0.3最新Sep 16, 2026
