شعار 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
الفئات
الروابط
  • اربط الأدوات بسير عمل الذكاء الاصطناعي

    يتيح Circuitry MCP Server إمكانات 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"
      ]
    }
  }
}

استخدم MCP الخاص بـ Circuitry MCP Server مع نماذج ذكاء اصطناعي متعددة

يربط TypingMind أدوات MCP على مستوى مساحة العمل، لذا بمجرد توصيل Circuitry MCP Server، يمكنك استخدامه مع نماذج ذكاء اصطناعي مختلفة في TypingMind بدلًا من إعداده لكل نموذج على حدة. يعمل تكامل MCP هذا محليًا عبر موصل MCP الخاص بـ TypingMind على جهازك.

دليل الإعداد لاستخدام الموصل المحلي

استخدم هذا الخيار عندما يحتاج خادم MCP إلى الوصول إلى ملفات محلية أو تطبيقات أو موارد خاصة على جهاز الكمبيوتر لديك.

1

فتح إعدادات MCP

في TypingMind، انتقل إلى «الإعدادات»، ثم «الإعدادات المتقدمة»، ثم «بروتوكول سياق النموذج»، واختر «إعداد الموصل».

  1. افتح TypingMind في متصفحك.
  2. انقر على أيقونة الإعدادات.
  3. انتقل إلى الإعدادات المتقدمة.
  4. افتح قسم بروتوكول سياق النموذج.
  5. انقر على «إعداد الموصل» واختر «هذا الجهاز».
شاشة إعداد موصل MCP في TypingMind مع تحديد «هذا الجهاز»
2

تنفيذ أمر الموصل

اختر «هذا الجهاز»، وانسخ الأمر من TypingMind وشغّله في Terminal. أبقِ العملية قيد التشغيل أثناء استخدام MCP.

  1. انسخ أمر الإعداد الذي يعرضه TypingMind.
  2. افتح Terminal على macOS أو Windows Terminal على Windows.
  3. الصق الأمر ونفّذه.
  4. وافق على تثبيت الحزمة إذا طلب منك Terminal تأكيد المتابعة.
  5. أبقِ نافذة Terminal والعملية التي تعمل فيها قيد التشغيل أثناء استخدام أدوات MCP.
3

أضف Circuitry MCP Server كخادم

عندما تظهر حالة الموصل «جاهز»، انقر على «تعديل الخوادم» والصق إعدادات خادم MCP.

  1. انتظر حتى تظهر حالة الموصل «جاهز».
  2. انقر على «تعديل الخوادم».
  3. الصق إعدادات خادم MCP الخاص بـ Circuitry MCP Server.
  4. احفظ قائمة الخوادم.
  5. حدّث الحالة إذا أردت التأكد من أن الموصل لا يزال جاهزًا.
إعدادات MCP في TypingMind تعرض خادمًا نشطًا وزر «تعديل الخوادم»
{
  "mcpServers": {
    "circuitry-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@circuitry/mcp-server"
      ]
    }
  }
}
4

استخدام الاتصال مع نماذج مختلفة

احفظ قائمة الخوادم، وافتح «الإضافات»، وفعّل أدوات MCP الخاصة بـ Circuitry MCP Server، ثم اختر أي نموذج ذكاء اصطناعي مدعوم في TypingMind واستخدم الأدوات في المحادثة أو أسندها إلى وكيل ذكاء اصطناعي.

  1. افتح صفحة الإضافات في TypingMind.
  2. فعّل أدوات MCP الخاصة بـ Circuitry MCP Server.
  3. ابدأ محادثة واختر نموذج الذكاء الاصطناعي الذي تريد استخدامه.
  4. استخدم أدوات MCP في المحادثة أو عيّنها لوكيل ذكاء اصطناعي.
  5. انتقل إلى نموذج ذكاء اصطناعي آخر عند الحاجة دون إعادة الاتصال بـ MCP.
محادثة في TypingMind تستخدم أدوات MCP المفعّلة مع نموذج ذكاء اصطناعي محدّد
هل يمكنك استخدام Circuitry MCP Server لمساعدتي في هذه المهمة؟
Circuitry MCP Server
بالتأكيد. قرأته.
إليك ما وجدته باستخدام Circuitry MCP Server.

الأسئلة الشائعة

ما استخدامات خادم MCP Circuitry MCP Server؟

Circuitry MCP Server هو خادم MCP يتيح لتطبيقات الذكاء الاصطناعي المتوافقة الاتصال بأدوات ومصادر سياق خارجية. في TypingMind، يمكنك إضافة خادم MCP هذا مرة واحدة وإتاحة أدواته في مساحة عملك للذكاء الاصطناعي.

هل يمكنني استخدام خادم MCP Circuitry MCP Server مع نماذج ذكاء اصطناعي متعددة في TypingMind؟

نعم. يربط TypingMind أدوات MCP على مستوى مساحة العمل، لذا يمكنك استخدام Circuitry MCP Server مع نماذج ذكاء اصطناعي مختلفة مثل Claude أو ChatGPT أو Gemini أو غيرها من النماذج التي أعددتها في TypingMind، دون إعداد خادم MCP لكل نموذج على حدة.

لماذا تستخدم موصل MCP Circuitry MCP Server مع TypingMind؟

يُعد TypingMind من أفضل واجهات المحادثة مع النماذج اللغوية الكبيرة، إذ يجمع نماذج ذكاء اصطناعي متعددة ومطالبات وإضافات ووكلاء ذكاء اصطناعي ومفاتيح API وأدوات MCP في مساحة عمل واحدة. بعد توصيل Circuitry MCP Server، يمكنك استخدام أدوات MCP الخاصة به عبر نماذجك المفضلة مع الحفاظ على سير عمل محادثاتك منظمًا في TypingMind.

كيف أوصّل خادم MCP Circuitry MCP Server بـ TypingMind؟

يعمل Circuitry MCP Server عبر موصل MCP المحلي في TypingMind. هذا هو الخيار الأنسب عندما يحتاج خادم MCP إلى الوصول إلى ملفات محلية أو تطبيقات سطح المكتب أو أدوات سطر الأوامر أو موارد خاصة على حاسوبك.

ما الأدوات التي يوفّرها خادم MCP Circuitry MCP Server في TypingMind؟

يتيح Circuitry MCP Server إمكانات MCP يمكنك تفعيلها من صفحة الإضافات في TypingMind واستخدامها في المحادثات أو تعيينها لوكلاء ذكاء اصطناعي.

هل أحتاج إلى مشاركة مفاتيح API الخاصة بي مع TypingMind لاستخدام خادم MCP Circuitry MCP Server؟

لا. يعطي TypingMind الأولوية للعمل المحلي ويُبقي مزوّدي النماذج ومفاتيح API والمطالبات وإعدادات MCP تحت تحكمك. إذا كان Circuitry MCP Server يتطلب مصادقة، فأضف الترويسات أو إعدادات OAuth أو الإعدادات المحلية المطلوبة لخادم MCP هذا عند إنشاء الاتصال.

خوادم MCP ذات صلة

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا البريدية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇