Connect Claude, Cursor or VS Code to Flowgraph Studio by signing in
Add Flowgraph Studio's MCP server to Claude, Claude Code, Cursor or VS Code with its address alone, approve the connection once, and revoke it whenever you like. No API key to copy.
Flowgraph Studio's MCP server lets an AI assistant check and render Mermaid, find icons, and read and update the diagrams saved in your account. You can connect an assistant by signing in: add the server's address, approve the connection on a Flowgraph Studio page, and you're done. There's no key to copy, paste or keep secret.
Plan: any plan can connect. Checking and rendering use your monthly API renders (Free 50, Pro 5,000, Pro Max 20,000). Reading and changing saved diagrams needs Pro or Pro Max.
What happens when you connect
sequenceDiagram
participant You
participant App as Claude, Cursor or VS Code
participant FS as Flowgraph Studio
You->>App: Add https://flowgraph.studio/mcp
App->>FS: Register, then open the approval page
FS->>You: Sign in if needed, and approve the app
You->>FS: Connect
FS->>App: A key for this app only
App->>FS: Use the tools with that key- The assistant opens a Flowgraph Studio page in your browser. If you aren't signed in, you sign in first.
- The page says which app is asking, which account it will use and what it will be able to do, and where you'll be sent back to.
- Choose Connect. The app receives a key of its own, and Flowgraph Studio lists it in Account settings → Render API named after the app, such as "Claude (connected app)". Choose Cancel and the app gets nothing.
The approval page is always on flowgraph.studio. If a page asking for your Flowgraph Studio password or sign-in link shows any other address, close it.
Claude (claude.ai and the desktop app)
- In Claude, open Settings → Connectors and choose Add custom connector.
- Name it
Flowgraph Studioand enterhttps://flowgraph.studio/mcpas the server address. Leave any OAuth client ID and secret fields empty: Claude registers itself. - Choose Connect next to the new connector, then approve it on the Flowgraph Studio page.
- In a chat, turn the connector on from the tools menu and ask, for example, "List my Flowgraph diagrams".
Custom connectors added on claude.ai are available in the Claude desktop app too. Which Claude plans can add custom connectors is up to Anthropic; check Claude's help pages if you don't see the option.
Claude Code
Add the server without a header:
claude mcp add --transport http flowgraph https://flowgraph.studio/mcp
Then, in Claude Code, run /mcp, choose flowgraph, and choose to authenticate. Your browser opens the approval page; after Connect, Claude Code shows the server as connected and lists its tools.
Add --scope user to the command to use the connection in every project, or --scope project to put the server (without any key) in the repository's .mcp.json, so everyone on the team connects with their own account.
Cursor
Add the server to ~/.cursor/mcp.json, or to .cursor/mcp.json in a project:
{
"mcpServers": {
"flowgraph": {
"url": "https://flowgraph.studio/mcp"
}
}
}
Open Cursor's settings at the MCP section. The server asks you to sign in; choose it, approve the connection in your browser, and the tools appear.
VS Code
Add the server to .vscode/mcp.json in your workspace, or with the MCP: Add Server command:
{
"servers": {
"flowgraph": {
"type": "http",
"url": "https://flowgraph.studio/mcp"
}
}
}
Start the server from the file or the MCP view. VS Code asks whether to let it sign in to flowgraph.studio; allow it, approve the connection in your browser, and the tools become available to Copilot's agent mode.
Other assistants
Any client that supports the MCP authorization spec, with dynamic client registration and PKCE, connects the same way: give it https://flowgraph.studio/mcp and no key. If a client can't sign in, use an API key instead, as the MCP server guide describes.
What a connected app can do
A connected app can:
- check and render Mermaid diagrams, using your monthly API renders;
- search the icons, which is free;
- list, read, create and change your saved diagrams, on Pro and Pro Max.
It can't delete diagrams, change your account or plan, or create keys. Every change it makes keeps the previous state in version history, so any change can be undone. To give an assistant rendering only, with no access to saved diagrams, create a key without Read and change saved diagrams and use it instead of signing in.
See and revoke connections
Open Account settings → Render API. Each connected app is listed with your keys, with when it was created and last used. Choose Revoke and the app is cut off at once; its next request is refused. To use it again, connect it again. An app that offers a sign-out can also give its connection back itself (through the standard OAuth revocation address, /oauth/revoke), and it then disappears from the list.
A connection counts towards the 10 active keys an account can have. With 10 already, connecting fails with a message to revoke one first.
Troubleshooting
- "That app isn't registered." The app's registration has expired or was made against another server. Remove the connector in the app and add it again.
- "That address isn't the app's." The app asked to send you somewhere it hadn't registered, so Flowgraph Studio stopped. Remove and add the connector again; if it keeps happening, the app may not support signing in yet.
- "Accept the updated Terms first." Open Flowgraph Studio, accept the updated Terms of Service, then connect again.
- The app says it's connected, but saved-diagram tools refuse. Reading and changing saved diagrams needs Pro or Pro Max.
- Too many registrations. Adding apps from the same network many times in a minute is limited. Wait a minute and try again.
Next steps
- Use a Mermaid MCP server to render and review AI diagram edits: the tools and a safe way to have an assistant change a diagram.
- Give an AI assistant Flowgraph's guides with llms.txt: so it writes Mermaid that works the first time.
More guides
- Edit Mermaid diagrams visually in VS CodeDrag, connect and restyle a Mermaid diagram on Flowgraph's canvas inside VS Code, and every change is written back into the .mmd file or Markdown block as ordinary code.
- Keep a diagram's style in its code with %% flowgraph-themeOne comment line keeps a Mermaid diagram's Flowgraph theme in the file, so it looks the same in your repository, in VS Code, from the CLI and through the render API.
- Preview Flowgraph diagrams in VS Code, with icons, layout and your themeInstall the Flowgraph Studio extension to preview Mermaid files and Markdown blocks in VS Code as Flowgraph draws them, see mistakes in plain words, and export SVG or PNG.