# Openflowkit MCP

> Openflowkit MCP is an open-source MCP server for design and media. Let your agent draw architecture diagrams on a live canvas or in diagram files. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** Web, CLI, Self-hosted
- **Repository:** https://github.com/openflowkit/openflowkit
- **MCP Registry name:** io.github.openflowkit/openflowkit-mcp
- **Categories:** [design and media](https://ai-powered.com/categories/design-and-media), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-23

## About

The diagram language is plain text, and the same text powers the code panel, assistant, CLI and MCP tools. Ten diagram types are supported, including architecture, sequence, flowchart, ERD, state, class, mind map, git graph, chart and wireframe, and Mermaid, Structurizr or D2 can be pasted and converted.

When an agent runs on your computer, it draws on the open canvas while you watch, can restyle and move shapes, and takes a screenshot to check its own work. Each change is one undo step. With no app open, the same tools edit `.openflow.json` files in the repo. For chat apps there is a hosted connector at mcp.openflowkit.com with no sign-in that returns a diagram card. The README counts 29 tools: 16 editor operations and 13 for files and repositories, including `discover_architecture` and `drift_report`, which compares a diagram to the code.

The app is free, open source and local-first; there is also a repo mapper that cites file and line for every arrow.

## Features

- **Live canvas drawing:** Agent edits the open canvas, one undo step per change.
- **Text-based language:** One versioned diagram syntax across UI, CLI and MCP.
- **Repo mapping:** Maps a GitHub repository with arrows cited to file and line.
- **Drift report:** Compares a saved architecture diagram with the code.
- **Screenshot feedback:** Returns a real image so the model can check its result.
- **Rich export:** SVG, PNG, PDF, JSON, plus animated SVG, GIF, MP4 or WebM.

## Good for

- Draw the architecture of a repository
- Turn a README's Mermaid into an editable diagram
- Restyle selected boxes and add a cache in front of an API
- Find where docs and code have drifted apart
- Export an animated diagram for a README

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add openflowkit-mcp -- npx -y openflowkit
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "openflowkit-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "openflowkit"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "openflowkit-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "openflowkit"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "openflowkit-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "openflowkit"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "openflowkit-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "openflowkit"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add openflowkit-mcp -- npx -y openflowkit
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.openflowkit-mcp]
command = "npx"
args = ["-y", "openflowkit"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "openflowkit-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "openflowkit"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user openflowkit-mcp npx -- -y openflowkit

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "openflowkit-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "openflowkit"
      ]
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "openflowkit-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "openflowkit"
      ]
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "openflowkit-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "openflowkit"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "openflowkit-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "openflowkit"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "openflowkit-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "openflowkit"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "openflowkit-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "openflowkit"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "openflowkit-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "openflowkit"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "openflowkit-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "openflowkit"
      ]
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 1 of 14 tools deletes data and 4 change data; 4 names don't say. From the server's own tool labels and tool names; not verified by us.

- `create_diagram` (name suggests: changes): Draws a diagram from text or Mermaid.
- `update_diagram` (name suggests: changes): Changes an existing diagram.
- `add_shape` (name suggests: changes): Adds a shape.
- `get_document` (name suggests: reads): Reads every page of the document.
- `get_diagram` (name suggests: reads): Reads the text behind a diagram.
- `list_pages` (name suggests: reads): Lists pages.
- `style`: Restyles elements.
- `move` (name suggests: changes): Moves elements.
- `delete` (name suggests: deletes): Deletes elements.
- `screenshot`: Returns an image of the canvas.
- `export` (name suggests: reads): Exports SVG, PNG, PDF, JSON or animated SVG.
- `discover_architecture`: Reads a repo to propose its architecture.
- `drift_report`: Compares a diagram with the code.
- `explain_element` (name suggests: reads): Explains a diagram element.

## FAQ

### Does Openflowkit MCP work in claude.ai or ChatGPT?

Yes through a custom connector at https://mcp.openflowkit.com/mcp with no sign-in, though it draws a card in the chat rather than on your canvas.

### Do I need an account?

The README says the browser app needs nothing to install and no account.

### Can Openflowkit MCP work without the app open?

Yes. The same tools edit .openflow.json files in your repo.

### How do I add Openflowkit MCP to Claude Code?

Run `claude mcp add -s user openflowkit -- npx -y openflowkit mcp`.

### Is Openflowkit MCP free?

Yes. Openflowkit MCP is open source, so you can use and self-host it for free.

### What are the best alternatives to Openflowkit MCP?

The closest alternatives to Openflowkit MCP are REA, HyperFrames by HeyGen, Context7, Chrome DevTools MCP and Codebase Memory.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [HyperFrames by HeyGen](https://ai-powered.com/mcp/hyperframes-by-heygen): HyperFrames by HeyGen is a freemium MCP server for design and media.
- [Context7](https://ai-powered.com/mcp/context7): Context7 is a freemium MCP server for developer tools.
- [Chrome DevTools MCP](https://ai-powered.com/mcp/chrome-devtools-mcp-2): Chrome DevTools MCP is an open-source MCP server for browser automation.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [awesome-mcp-servers](https://ai-powered.com/mcp/awesome-mcp-servers-2): awesome-mcp-servers is an open-source MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/openflowkit-mcp
