Logo Circuitry MCP Server

Circuitry MCP Server

Tổ chức
circuitry-dev

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

Nhà phát hànhcircuitry-dev
Kho mãcircuitry-mcp-server
Ngôn ngữTypeScript
Bản fork
1
Sao
0
Công cụ có sẵn
0
Phương thức truyền tảistdio
Danh mục
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    Circuitry MCP Server cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    0 sao và 1 bản fork từ kho mã được liên kết.

@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

Cài đặt

TypingMind
Yêu cầu:

Node.js 18+

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

Dùng MCP Circuitry MCP Server với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối Circuitry MCP Server, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Cài trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Cài trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Giữ tiến trình chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm Circuitry MCP Server làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của Circuitry MCP Server.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "circuitry-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@circuitry/mcp-server"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của Circuitry MCP Server, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của Circuitry MCP Server.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng Circuitry MCP Server giúp tôi làm việc này không?
Circuitry MCP Server
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng Circuitry MCP Server.

Câu hỏi thường gặp

Máy chủ MCP Circuitry MCP Server dùng để làm gì?

Circuitry MCP Server là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP Circuitry MCP Server với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng Circuitry MCP Server với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP Circuitry MCP Server với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối Circuitry MCP Server, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP Circuitry MCP Server với TypingMind?

Circuitry MCP Server hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP Circuitry MCP Server cung cấp những công cụ nào trong TypingMind?

Circuitry MCP Server cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP Circuitry MCP Server không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu Circuitry MCP Server yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇