Circuitry MCP Serverのロゴ

Circuitry MCP Server

組織
circuitry-dev

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

公開者circuitry-dev
リポジトリcircuitry-mcp-server
言語TypeScript
フォーク
1
スター
0
利用可能なツール
0
通信方式stdio
カテゴリ
リンク
  • ツールをAIワークフローに接続

    Circuitry MCP Serverは、対応するAIクライアントやAIエージェントから利用できるMCP機能を提供します。

  • 0個の利用可能なツール

    呼び出し可能なアクションを以下で確認できます。サーバーから提供されている場合は、名前や説明も表示されます。

  • コピーして使える設定

    セットアップ用の設定例を使って、お好みのMCPクライアントにこのサーバーを設定できます。

  • オープンソースの注目度

    リンク先のリポジトリには0件のスターと1件のフォークがあります。

@circuitry-ide/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)

bash
npx @circuitry-ide/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

bash
claude mcp add circuitry npx @circuitry-ide/mcp-server

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

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

Cursor

Settings → MCP → Add New MCP Server:

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

VS Code / Copilot

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

Gemini CLI

bash
gemini mcp add circuitry npx @circuitry-ide/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

The tables above are a hand-picked highlight. The full tool catalog is fetched live from the connected Circuitry app (see below), so it grows with the app — there may be many more tools available than are listed here.

How tools stay in sync (dynamic discovery)

This package does not hard-code the tool catalog. On a successful circuitry.connect, the server fetches the app's live tool definitions over the existing relay (tools.getDefinitions) and advertises them to your AI client — so when Circuitry adds a tool, you get it without updating this package.

Resolution order for the active tool list:

  1. Live fetch from the connected app (freshest).
  2. Disk cache of the last successful fetch (~/.circuitry-mcp/tools-cache.json) — used when offline.
  3. Bundled snapshot (tools-snapshot.json, shipped in the npm tarball) — first-run fallback.

The circuitry.* connection tools are always available regardless of source.

If the app reports it needs a newer server than you have (version handshake), the server keeps working with whatever it can parse and surfaces an update-required notice on circuitry.connect / circuitry.status:

npm i -g @circuitry-ide/mcp-server@latest   # or just use `npx @circuitry-ide/mcp-server`

The bundled snapshot is regenerated at publish time from the app's source of truth (circuitry/src/lib/circuitry-api/tool-definitions.ts) via npm run mcp:generate in the app repo. There is no manual parity step to run.

Dynamic discovery landed in 2.1.0 — see CHANGELOG.md.

Safety note — external write tools

Tools invoked through this MCP server run against the app without the chat's plan-approval UI that gates the in-app agent. The mitigations are: (1) the connection itself is user-approved via the permission dialog raised by circuitry.connect, and (2) most edits are revertible via workflow.undo.

Configuration

Config File

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

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

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

# Check current configuration
npx @circuitry-ide/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-ide/mcp-server status

"Invalid access key"

  1. Create new key: Circuitry Server → Preferences → Generate New Access Key
  2. Re-run setup: npx @circuitry-ide/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

bash
# 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:

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

License

This is proprietary software, provided so you can install and run it to connect your AI tools to the Circuitry service. The source is published for transparency and interoperability — it is not open-source, and viewing it grants no right to copy, modify, redistribute, or build a competing product. You may download, install and run it to use Circuitry; all other rights are reserved. See LICENSE for the full terms. "Circuitry" and the Circuitry logo are trade marks of Circuitry.

Use of the Circuitry service through this software is also governed by the Circuitry Terms of Service.

Links

インストール

TypingMind
前提条件:

Node.js 18+

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

Circuitry MCP ServerのMCPを複数のAIモデルで活用

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度Circuitry MCP Serverに接続すれば、モデルごとに個別に設定することなく、TypingMind内のさまざまなAIモデルで利用できます。 このMCPは、デバイス上のTypingMind MCPコネクタを通じてローカルで動作します。

ローカルコネクタのセットアップガイド

MCPサーバーが、お使いのコンピューター上のローカルファイル、アプリ、非公開リソースにアクセスする必要がある場合は、この方法を使います。

1

MCP設定を開く

TypingMindで「設定」、「詳細設定」、「MCP」の順に進み、「コネクタを設定」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 設定アイコンをクリックしてください。
  3. 「詳細設定」に移動してください。
  4. 「MCP」セクションを開いてください。
  5. 「コネクタを設定」をクリックし、「このデバイス」を選択してください。
「このデバイス」が選択されたTypingMindのMCPコネクタ設定画面
2

コネクタのコマンドを実行

「このデバイス」を選択し、TypingMindからコマンドをコピーしてターミナルで実行してください。MCPの使用中は、プロセスを実行したままにしてください。

  1. TypingMindに表示されるセットアップコマンドをコピーしてください。
  2. macOSではターミナルを、WindowsではWindows Terminalを開いてください。
  3. コマンドを貼り付けて実行してください。
  4. ターミナルで続行の確認を求められた場合は、パッケージのインストールを承認してください。
  5. MCPツールの使用中は、ターミナルウィンドウを開いたまま、プロセスの実行を継続してください。
3

Circuitry MCP Serverをサーバーとして追加

コネクタのステータスが「準備完了」になったら、「サーバーを編集」をクリックし、MCPサーバーの設定を貼り付けてください。

  1. コネクタのステータスが「準備完了」になるまでお待ちください。
  2. 「サーバーを編集」をクリックしてください。
  3. Circuitry MCP ServerのMCPサーバー設定を貼り付けてください。
  4. サーバー一覧を保存してください。
  5. コネクタが引き続き使用可能か確認するには、更新してください。
稼働中のサーバーと「サーバーを編集」ボタンが表示されたTypingMindのMCP設定画面
{
  "mcpServers": {
    "circuitry-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@circuitry/mcp-server"
      ]
    }
  }
}
4

複数のモデルで同じ接続を使用

サーバー一覧を保存し、「プラグイン」を開いてCircuitry MCP ServerのMCPツールを有効にしてください。その後、TypingMindで対応するAIモデルを選択し、チャットでツールを使うか、AIエージェントに割り当ててください。

  1. TypingMindの「プラグイン」ページを開いてください。
  2. Circuitry MCP ServerのMCPツールを有効にしてください。
  3. チャットを開始し、使用するAIモデルを選択してください。
  4. MCPツールをチャットで使うか、AIエージェントに割り当ててください。
  5. MCPに再接続することなく、必要に応じて別のAIモデルに切り替えられます。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
Circuitry MCP Serverを使ってこのタスクを手伝ってもらえますか?
Circuitry MCP Server
はい、読みました。
Circuitry MCP Serverで調べた結果をお伝えします。

よくある質問

Circuitry MCP Server MCPサーバーは何に使いますか?

Circuitry MCP Serverは、対応するAIクライアントを外部ツールやコンテキストに接続するためのMCPサーバーです。TypingMindでは、このMCPサーバーを一度追加するだけで、AIワークスペース内でそのツールを利用できるようになります。

TypingMindでCircuitry MCP Server MCPを複数のAIモデルと併用できますか?

はい。TypingMindはワークスペース単位でMCPツールに接続するため、モデルごとにMCPサーバーを設定する必要はありません。Claude、ChatGPT、Geminiや、TypingMindで設定したその他のAIモデルでCircuitry MCP Serverを利用できます。

TypingMindでCircuitry MCP Server MCPを使うメリットは何ですか?

TypingMindは、複数のAIモデル、プロンプト、プラグイン、AIエージェント、APIキー、MCPツールを1つのワークスペースにまとめられる、LLMチャット向けの優れたフロントエンドです。Circuitry MCP Serverを接続すると、TypingMindでチャットのワークフローを整理しながら、お好みのモデルでそのMCPツールを利用できます。

Circuitry MCP Server MCPをTypingMindに接続するにはどうすればよいですか?

Circuitry MCP ServerはTypingMindのローカルMCPコネクタ経由で動作します。MCPサーバーがコンピューター上のローカルファイル、デスクトップアプリ、コマンドラインツール、プライベートリソースにアクセスする必要がある場合に最適です。

TypingMindでCircuitry MCP Server MCPのどのようなツールを利用できますか?

Circuitry MCP ServerはMCP機能を提供しています。TypingMindのプラグインページで有効にすると、チャットで使用したり、AIエージェントに割り当てたりできます。

Circuitry MCP Server MCPを使うには、APIキーをTypingMindと共有する必要がありますか?

いいえ。TypingMindはローカルファーストの設計で、モデルプロバイダー、APIキー、プロンプト、MCP設定をご自身で管理できます。Circuitry MCP Serverで認証が必要な場合は、接続の作成時に、そのMCPサーバーに必要なヘッダー、OAuth設定、またはローカル設定を追加してください。

関連するMCPサーバー

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇