MCP server for diagramzu.ai — read/write Mermaid diagrams in your Space from Claude, Cursor, ChatGPT, or any MCP client.
claude mcp add diagramzu-mcp -- npx -y @diagramzu/mcp{
"mcpServers": {
"diagramzu-mcp": {
"command": "npx",
"args": ["-y", "@diagramzu/mcp"],
"env": {
"DIAGRAMZU_BASE_URL": "<diagramzu_base_url>",
"DIAGRAMZU_API_TOKEN": "<diagramzu_api_token>"
}
}
}
}DIAGRAMZU_BASE_URLDIAGRAMZU_API_TOKENMCP Servers overview
# @diagramzu/mcp
[](https://smithery.ai/server/jack08300/diagramzu-mcp)
MCP server for [diagramzu.ai](https://diagramzu.ai). Lets Claude Code, Claude Desktop, Cursor, Windsurf, ChatGPT custom GPTs, and any [MCP](https://modelcontextprotocol.io) client read and write Mermaid diagrams in your Space.
You author diagrams by talking to your AI — it stores them at `diagramzu.ai/d/<id>`, where your team can read and share them.
> Available in the official [MCP Registry](https://registry.modelcontextprotocol.io) as `ai.diagramzu/mcp`.
## 1. Get a token
Sign up at [diagramzu.ai](https://diagramzu.ai), then create an API token at [diagramzu.ai/app/settings/tokens](https://diagramzu.ai/app/settings/tokens). 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
```bash
claude mcp add --scope user --transport http diagramzu https://mcp.diagramzu.ai/mcp \
--header "Authorization: Bearer dz_live_xxx"
```
### 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.):
```json
{
"mcpServers": {
"diagramzu": {
"type": "http",
"url": "https://mcp.diagramzu.ai/mcp",
"headers": { "Authorization": "Bearer dz_live_xxx" }
}
}
}
```
### 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)
```bash
npx -y @diagramzu/mcp
```
with environment:
```
DIAGRAMZU_BASE_URL=https://diagramzu.ai
DIAGRAMZU_API_TOKEN=dz_live_xxx
DIAGRAMZU_SPACE_ID=<your space id>
```
Most users should prefer the remote HTTP transport above — the stdio path exists for clients without HTTP MCP support.
## Tools
| Tool | Description |
|---|---|
| `list_diagrams` | List diagrams in the Space (filter with `q`, sort by `updated` / `created`) |
| `list_folders` | List folders in the Space |
| `get_diagram` | Fetch one diagram by id (returns title + Mermaid source) |
| `create_diagram` | Create a new diagram (returns the share URL) |
| `update_diagram` | Update title and/or Mermaid source of an existing diagram |
| `analyze_diagram` | Get a structural summary of a diagram (nodes, edges, density) |
| `list_versions` | List version history for a diagram |
| `get_version` | Fetch a specific historical version of a diagram |
## 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:
```markdown
[](https://diagramzu.ai)
```
Renders as a small shields-style badge — gray `MCP` + indigo `diagramzu`.
## Local development (this repo)
For hacking on diagramzu itself, build from source:
```bash
cd packages/mcp-diagramzu
pnpm install
pnpm run build
# point your client at: node dist/index.js
# with DIAGRAMZU_BASE_URL / DIAGRAMZU_API_TOKEN / DIAGRAMZU_SPACE_ID
```
## License
MIT
What people ask about diagramzu-mcp
What is yenchieh/diagramzu-mcp?
+
yenchieh/diagramzu-mcp is mcp servers for the Claude AI ecosystem. MCP server for diagramzu.ai — read/write Mermaid diagrams in your Space from Claude, Cursor, ChatGPT, or any MCP client. It has 0 GitHub stars and was last updated yesterday.
How do I install diagramzu-mcp?
+
You can install diagramzu-mcp by cloning the repository (https://github.com/yenchieh/diagramzu-mcp) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is yenchieh/diagramzu-mcp safe to use?
+
yenchieh/diagramzu-mcp has not been audited yet by our security agent. Review the original repository on GitHub before using it in production.
Who maintains yenchieh/diagramzu-mcp?
+
yenchieh/diagramzu-mcp is maintained by yenchieh. The last recorded GitHub activity is from yesterday, with 0 open issues.
Are there alternatives to diagramzu-mcp?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy diagramzu-mcp to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/yenchieh-diagramzu-mcp)<a href="https://claudewave.com/repo/yenchieh-diagramzu-mcp"><img src="https://claudewave.com/api/badge/yenchieh-diagramzu-mcp" alt="Featured on ClaudeWave: yenchieh/diagramzu-mcp" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
The fastest path to AI-powered full stack observability, even for lean teams.
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!
⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 智能筛选新闻 + AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。