MCP server
Line9 Official
ai.line9/diagrams
Checked 26 Oct 2026, 08:29 UTC · Connected to it and listed its tools
Render Mermaid with Line9 layout in your assistant.
Working at last checkVerified publisher: line9.aiAbout 955 tokens per request once connected3 tools
https://mcp.line9.ai/mcp
At a glance
- Type
- MCP server
- Publisher
- line9.ai (verified by the MCP Registry)
- Status
- Working at last check
- Tools
- 3
- Token cost
- About 955 tokens per request
- Sets up in
- Claude Code, Claude Desktop, Codex, Gemini CLI, Cursor, VS Code, Antigravity, ChatGPT, OpenAI API, Grok
- Last checked
- 26 Oct 2026, 08:29 UTC
Connect it to your agent
Opens the app, which shows the server and asks you to confirm. For other apps, copy the setup below.
Claude Code
claude mcp add --transport http diagrams https://mcp.line9.ai/mcp
Claude Desktop
Settings → Connectors → Add custom connector, and paste the URL.
Codex (config.toml)
[mcp_servers.diagrams] url = "https://mcp.line9.ai/mcp"
Gemini CLI
{"mcpServers":{"diagrams":{"httpUrl":"https://mcp.line9.ai/mcp"}}}
Cursor
{"mcpServers":{"diagrams":{"url":"https://mcp.line9.ai/mcp"}}}
VS Code
{"servers":{"diagrams":{"type":"http","url":"https://mcp.line9.ai/mcp"}}}
Antigravity
agy mcp add diagrams https://mcp.line9.ai/mcp
ChatGPT
Settings → Apps & Connectors → Advanced settings: turn on Developer mode, then Create a connector and paste the URL. Which plans can do this varies.
OpenAI API (Responses tools)
{"type":"mcp","server_label":"diagrams","server_url":"https://mcp.line9.ai/mcp","require_approval":"always"}
Grok (xAI API tools)
{"type":"mcp","server_label":"diagrams","server_url":"https://mcp.line9.ai/mcp"}
Tools
get_diagram~224 tokens
Fetch a published diagram's current Mermaid source by name or slug, and show it rendered. The returned source is stamped with the diagram's identity — keep the `line9:` frontmatter block when you edit it so that Line9 recognises the diagram when it is opened and published there instead of creating alist_diagrams~161 tokens
List the diagrams published in the user's Line9 workspace(s): name, visibility, version, last update and permalink. Use it to find a diagram before `get_diagram`. Requires Line9 sign-in.render_diagram~570 tokens
Render Mermaid source with Line9's layout engine. Call this whenever you write or change Mermaid and the user should see the result. Flowcharts and sequence diagrams get Line9's layout; other Mermaid kinds are rendered with Mermaid's own layout and flagged as such. Returns a short verdict — kind, si
Related MCP servers
- Agentic Mermaid
Render, verify, describe, and safely edit Mermaid diagrams through MCP. - DocMorph Studio
Render Mermaid diagrams, Markdown to PDF and outlines, image OCR, and media metadata cleanup. - draw.io
Create draw.io diagrams in chat from Mermaid or XML, shown live and interactive. 10,000+ shapes. - Unseen Workflow Compiler
Compile SOPs, policies, and playbooks into source-grounded visual flowcharts (SVG, Mermaid, JSON). - Tanod Images
Image toolkit: resize, convert, compress, crop, metadata, hashes, favicons, OCR, QR codes, barcodes. - Zindex
Immutable agent diagrams: create, edit, validate and render versioned diagrams over MCP. - TechFabric
Write TechFabric posts from your agent. Walk through posts, compare studies, check readiness. - cnvs.app
Real-time collaborative whiteboard — AI agents and humans edit the same board live over MCP.
Badge for your README
[](https://aptlynx.net/servers/ai.line9/diagrams)
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents