draw.io MCP: interactive diagrams drawn in your AI app's chat
Ask for a diagram and get a live, interactive draw.io diagram right in the chat, built from Mermaid or draw.io XML with about 10,000 shapes to pick from. The draw.io MCP server needs no sign-in, so ContextGate adds it to Claude, ChatGPT and Cursor straight away and records each diagram your AI app draws.
- Ready to connect
- Free
- 3 example tools
Draw with draw.io in Claude, ChatGPT or Cursor
- 1Click Connect draw.io free. There's no sign-in, so its tools are ready at once.
- 2`create_diagram` draws, while `search_shapes` and `get_drawio_reference` help your AI app pick the right shapes and styles. Keep all three on so diagrams come out right, and switch off any your team won't use.
- 3Add ContextGate to your AI app as a connector or MCP server. The steps for each app are on the Works with page.
- 4Ask your AI app for an architecture diagram of your API, load balancer and database, then open Activity to see the `create_diagram` call.
Diagrams from a prompt
- Turn a description into a flowchart or sequence diagram written in Mermaid and shown live with `create_diagram`.
- Use draw.io XML when you need exact layout, containers, swimlanes or layers.
- Find the right icon among about 10,000 built-in shapes with `search_shapes`.
- Have your AI app read the draw.io reference with `get_drawio_reference` before it styles edges and layers.
Diagrams with a paper trail
- Policies check every call, so a secret pasted into a diagram description can be blocked.
- Activity records every diagram your team's AI apps create through ContextGate.
What you get with draw.io and ContextGate
- Your AI apps can use draw.ioClaude, Cursor, ChatGPT and other AI apps reach draw.io through the one ContextGate connection you add to them.
- You choose which tools they can useSwitch off any draw.io tool you don't want used. It's hidden from your AI apps and refused if called.
- Every call is checked and recordedYour policies check each call (for example, personal data is hidden and secrets are blocked), and Activity keeps a record of it.
ContextGate sees only the tool calls that go through it, not your AI app's built-in tools or your chats.
draw.io tools
Examples of what your AI apps can do in draw.io. You'll see the exact list of tools after you connect it.