Circuitry MCP Server

Circuitry MCP Server

Official
circuitry-dev

Connects AI agents to Circuitry's visual workflow platform to create code nodes, interpret flowcharts, and generate visual diagrams from project files.

Connects AI coding agents to Circuitry's visual workflow platform, enabling them to create and sync code nodes from project files, understand user-drawn flowcharts and diagrams, generate visual flowcharts, and create data visualizations like spreadsheets and charts.

246 views1Local (stdio)

What it does

  • Create code nodes from project files
  • Sync code changes to visual workflows
  • Interpret user-drawn flowcharts and diagrams
  • Generate visual flowcharts from code
  • Create data visualizations and charts
  • Build interactive spreadsheets

Best for

Developers who prefer visual workflow representationsTeams documenting code architectureCreating technical diagrams from existing codebases
Bidirectional sync between code and visualsInterprets hand-drawn diagrams

About Circuitry MCP Server

Circuitry MCP Server is an official MCP server published by circuitry-dev that provides AI assistants with tools and capabilities via the Model Context Protocol. Connect AI coding agents to Circuitry’s visual workflow platform to convert flowcharts to code, sync project files, and It is categorized under developer tools.

How to install

You can install Circuitry MCP Server in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.

License

Circuitry MCP Server is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.

@circuitry/mcp-server

MCP (Model Context Protocol) server that gives AI coding agents access to Circuitry - a visual workflow and diagramming platform.

What It Does

  • Visualize Code: Create code nodes from project files with bidirectional sync
  • Understand Diagrams: AI agents can comprehend user-drawn flowcharts and diagrams
  • Create Flowcharts: Generate visual flowcharts via Circuitry's chat agent
  • Data Visualization: Create spreadsheets and charts from code analysis

Prerequisites

  1. Circuitry Server - Download from circuitry.dev/download
  2. Node.js 18+
  3. An MCP-compatible AI client (Claude Code, Cursor, VS Code, Gemini CLI, etc.)

Setup

1. Install & Configure Circuitry Server

  1. Download Circuitry Server from circuitry.dev/download
  2. Launch the app (appears in your system tray)
  3. Click the tray icon → Server → Preferences
  4. Click "Generate New Access Key"
  5. Copy the key — you'll need it in the next step

2. Run MCP Setup (Required)

npx @circuitry/mcp-server setup

This will prompt you to enter:

  • EServer address — press Enter for default (http://localhost:3030)
  • Access key — paste the key you generated above

This stores your credentials in ~/.circuitry/mcp-config.json.

3. Add to Your AI Client

Claude Code

claude mcp add circuitry npx @circuitry/mcp-server

Or manually add to ~/.claude/config.json:

{
  "mcpServers": {
    "circuitry": {
      "command": "npx",
      "args": ["-y", "@circuitry/mcp-server"]
    }
  }
}

Cursor

Settings → MCP → Add New MCP Server:

{
  "mcpServers": {
    "circuitry": {
      "command": "npx",
      "args": ["-y", "@circuitry/mcp-server"]
    }
  }
}

VS Code / Copilot

code --add-mcp '{"name":"circuitry","command":"npx","args":["-y","@circuitry/mcp-server"]}'

Gemini CLI

gemini mcp add circuitry npx @circuitry/mcp-server

Cline / Windsurf

Add to your MCP configuration using the standard format above.

4. Restart Your Client

Restart your AI client to load the MCP server.

Usage Examples

Visualize Code Files

You: Show me the auth files as code nodes in Circuitry

Agent: I'll create code nodes from your auth files...
Done! Created 4 code nodes:
- auth/login.ts
- auth/logout.ts
- auth/middleware.ts
- auth/types.ts

Changes sync bidirectionally with your source files.

Understand User-Drawn Flows

You: I've drawn a flow of how I think the auth should work

Agent: I'll analyze your flow in Circuitry...

I can see you've drawn a 5-node authentication flow:
1. Start → Login Form
2. Login Form → Validate Credentials
3. Validate Credentials → branches to Success/Failure
...

Create Flowcharts

You: Create a flowchart showing the error handling flow

Agent: I'll ask Circuitry's agent to create this flowchart...

Done! Created a flowchart with 7 nodes showing:
- Error detection
- Classification (runtime vs validation)
- Logging paths
- User notification
- Recovery options

Available Tools

Connection

ToolDescription
circuitry.statusCheck connection status
circuitry.connectRequest connection (shows permission dialog)

Workflow Understanding

ToolDescription
workflow.getActiveGet current visible workflow info
workflow.getStructureGet simplified workflow structure
workflow.resolveFlowResolve user reference ("this flow") to node IDs
workflow.getNodeSummaryGet simplified node details

Node Operations

ToolDescription
nodes.listList all nodes in the workflow
nodes.getGet a node by ID
nodes.updateUpdate node configuration
nodes.deleteDelete a node

Code Nodes

ToolDescription
code.createCreate code node (from file path with sync, OR with name+content)
code.createBatchCreate multiple code nodes from files
code.setCodeUpdate code content (syncs to source if applicable)

Sheet Nodes

ToolDescription
sheet.createCreate a spreadsheet node with data
sheet.setDataReplace sheet data

Agent Delegation

ToolDescription
agent.chatSend message to Circuitry's chat agent
agent.createFlowchartAsk agent to create a flowchart
agent.pollPoll for agent response (async)

Configuration

Config File

Location: ~/.circuitry/mcp-config.json

{
  "eserverUrl": "http://localhost:3030",
  "accessKey": "your-key-here",
  "configured": true
}

Environment Variables

VariableDescription
CIRCUITRY_ESERVER_URLOverride EServer URL
CIRCUITRY_ACCESS_KEYOverride access key

Commands

# Run setup wizard
npx @circuitry/mcp-server setup

# Check current configuration
npx @circuitry/mcp-server status

Troubleshooting

"Cannot connect to EServer"

  1. Check EServer is running: Look for the Circuitry icon in your system tray
  2. Start Circuitry Server: Download from circuitry.dev/download
  3. Verify URL: Run npx @circuitry/mcp-server status

"Invalid access key"

  1. Create new key: Circuitry Server → Preferences → Generate New Access Key
  2. Re-run setup: npx @circuitry/mcp-server setup

"No Circuitry browser client connected"

  1. Open Circuitry: Make sure the Circuitry app is open
  2. Refresh: Try refreshing the Circuitry page

Development

# Clone and install
git clone https://github.com/circuitry-dev/circuitry-mcp-server.git
cd circuitry-mcp-server
npm install

# Build
npm run build

# Test locally
npx tsx src/index.ts setup
npx tsx src/index.ts status

To test local changes, point your MCP config to the built output:

{
  "mcpServers": {
    "circuitry": {
      "command": "node",
      "args": ["/path/to/circuitry-mcp-server/dist/index.js"]
    }
  }
}

License

MIT

Links

Alternatives

Related Skills

Browse all skills
ui-design-system

UI design system toolkit for Senior UI Designer including design token generation, component documentation, responsive design calculations, and developer handoff tools. Use for creating design systems, maintaining visual consistency, and facilitating design-dev collaboration.

18
ai-sdk

Answer questions about the AI SDK and help build AI-powered features. Use when developers: (1) Ask about AI SDK functions like generateText, streamText, ToolLoopAgent, embed, or tools, (2) Want to build AI agents, chatbots, RAG systems, or text generation features, (3) Have questions about AI providers (OpenAI, Anthropic, Google, etc.), streaming, tool calling, structured output, or embeddings, (4) Use React hooks like useChat or useCompletion. Triggers on: "AI SDK", "Vercel AI SDK", "generateText", "streamText", "add AI to my app", "build an agent", "tool calling", "structured output", "useChat".

6
api-documenter

Master API documentation with OpenAPI 3.1, AI-powered tools, and modern developer experience practices. Create interactive docs, generate SDKs, and build comprehensive developer portals. Use PROACTIVELY for API documentation or developer portal creation.

4
openai-knowledge

Use when working with the OpenAI API (Responses API) or OpenAI platform features (tools, streaming, Realtime API, auth, models, rate limits, MCP) and you need authoritative, up-to-date documentation (schemas, examples, limits, edge cases). Prefer the OpenAI Developer Documentation MCP server tools when available; otherwise guide the user to enable `openaiDeveloperDocs`.

4
cli-builder

Guide for building TypeScript CLIs with Bun. Use when creating command-line tools, adding subcommands to existing CLIs, or building developer tooling. Covers argument parsing, subcommand patterns, output formatting, and distribution.

3
ydc-ai-sdk-integration

Integrate Vercel AI SDK applications with You.com tools (web search, AI agent, content extraction). Use when developer mentions AI SDK, Vercel AI SDK, generateText, streamText, or You.com integration with AI SDK.

2