Can Cursor draw diagrams?
Yes, with Slatebox connected over MCP. Cursor’s agent draws flowcharts, architecture diagrams and plans on a slate your team edits live, and reads them back as Mermaid.
How-to
Add Slatebox to Cursor or VS Code as a remote MCP server at https://app.slatebox.com/mcp. Your coding agent draws your architecture, a flow or a plan on a live slate your team edits with it, and reads it back as Mermaid for your repo. It is free and open source.
The button opens a blank private slate. Register to connect an editor: a guest account cannot connect apps.
An architecture diagram drawn from a repository: Web app leads to API over HTTPS. API leads to Postgres and to Job queue, and Job queue leads to Billing worker.
Step by step
Everything here works in a browser, on Slatebox Cloud or on your own Slatebox.
Add a server named slatebox with the URL https://app.slatebox.com/mcp to .cursor/mcp.json in your project, or to ~/.cursor/mcp.json for every project.
Add a server named slatebox of type http with the URL https://app.slatebox.com/mcp to .vscode/mcp.json.
Your editor opens a Slatebox sign-in. Allow it, and the agent acts with your access to your slates, never more.
Ask “Draw this repo’s services and how they talk as a slate.” The agent reads the code and draws notes and labeled lines, then replies with the link.
Share the link. Your team edits the diagram live, and the agent exports it as Mermaid for a README or a pull request.
Two files
Cursor reads mcp.json with an mcpServers key; VS Code reads .vscode/mcp.json with a servers key. Both sign in with OAuth. A client without sign-in can send a personal token from Profile › Developer access instead.
In VS Code, show_slate draws the slate right in the chat. To keep a diagram current on every push without asking, see the architecture recipe.
{
"mcpServers": {
"slatebox": {
"url": "https://app.slatebox.com/mcp"
}
}
}Questions
Yes, with Slatebox connected over MCP. Cursor’s agent draws flowcharts, architecture diagrams and plans on a slate your team edits live, and reads them back as Mermaid.
Yes. Add https://app.slatebox.com/mcp to .vscode/mcp.json as an http server, sign in, and the slate shows right in the chat.
Yes. The export_mermaid tool reads any slate as Mermaid text for a README or a pull request. The architecture recipe keeps a diagram current from your GitHub repo on every push.
Yes. The MCP server is free on Slatebox Cloud and on your own server, and Slatebox is MIT licensed.
Related
Add https://app.slatebox.com/mcp to Cursor or VS Code and ask for a diagram of your code.
Cursor and VS Code are trademarks of their owners. Slatebox is not affiliated with, endorsed by or sponsored by them.