Circuitry MCP Server
OfficialThis server connects AI coding agents to Circuitry, a visual workflow and diagramming platform, enabling them to create, read, update, and manage workflows, diagrams, code nodes, spreadsheets, flowcharts, and UI designs.
Connection & Status
Check connection status; connect/disconnect from Circuitry
Workflow Understanding
Get active workflow info, node summaries, and structure
Resolve natural language references to specific node IDs
Get currently selected nodes; auto-layout with dagre algorithm
Undo/redo workflow changes
Node & Edge Operations
List, get, search, add, update, delete, and connect nodes
Create flowcharts with shaped/colored nodes and labeled edges
Insert nodes between connections; manage edges (create, list, delete)
Code Nodes
Create code nodes from files with bidirectional sync; batch create
Read (with line range support), update (with optional diff UI), and replace code content
Sheet (Spreadsheet) Nodes
Create sheets with headers/data; get/set cells, rows, columns, and paginated data
Insert/delete rows and columns; set formulas and fill ranges
Text Nodes
Create and update markdown documentation nodes with LaTeX support
CodeBook (Notebook)
Open/close CodeBook view; add cells (code, text, agent, datagrid, chart, image)
Run individual or all cells; set Python execution targets (Pyodide, local, EServer)
Drawing & HTML
Capture drawing layer as an image for visual interpretation
Create, update, delete, list, and get HTML components (with CSS and JS)
Designer Mode (UI Design)
Check/get/set designer mode; switch between design, layout, HTML, and preview modes
Create, update, delete, duplicate, select, and capture screens (with device presets)
Manage layout elements (headers, footers, grids, flex containers, cards) and styles
Extract design context (fonts, colors, button styles)
Agent Delegation
Send messages to Circuitry's built-in chat agent; ask it to create flowcharts automatically
Poll for async agent responses
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Circuitry MCP Server create a flowchart showing our user authentication process"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@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
Related MCP server: Flowchart MCP
Prerequisites
Circuitry Server - Download from circuitry.dev/download
Node.js 18+
An MCP-compatible AI client (Claude Code, Cursor, VS Code, Gemini CLI, etc.)
Setup
1. Install & Configure Circuitry Server
Download Circuitry Server from circuitry.dev/download
Launch the app (appears in your system tray)
Click the tray icon → Server → Preferences
Click "Generate New Access Key"
Copy the key — you'll need it in the next step
2. Run MCP Setup (Required)
npx @circuitry-ide/mcp-server setupThis 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-ide/mcp-serverOr manually add to ~/.claude/config.json:
{
"mcpServers": {
"circuitry": {
"command": "npx",
"args": ["-y", "@circuitry-ide/mcp-server"]
}
}
}Cursor
Settings → MCP → Add New MCP Server:
{
"mcpServers": {
"circuitry": {
"command": "npx",
"args": ["-y", "@circuitry-ide/mcp-server"]
}
}
}VS Code / Copilot
code --add-mcp '{"name":"circuitry","command":"npx","args":["-y","@circuitry-ide/mcp-server"]}'Gemini CLI
gemini mcp add circuitry npx @circuitry-ide/mcp-serverCline / 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 optionsAvailable Tools
Connection
Tool | Description |
| Check connection status |
| Request connection (shows permission dialog) |
Workflow Understanding
Tool | Description |
| Get current visible workflow info |
| Get simplified workflow structure |
| Resolve user reference ("this flow") to node IDs |
| Get simplified node details |
Node Operations
Tool | Description |
| List all nodes in the workflow |
| Get a node by ID |
| Update node configuration |
| Delete a node |
Code Nodes
Tool | Description |
| Create code node (from file path with sync, OR with name+content) |
| Create multiple code nodes from files |
| Update code content (syncs to source if applicable) |
Sheet Nodes
Tool | Description |
| Create a spreadsheet node with data |
| Replace 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:
Live fetch from the connected app (freshest).
Disk cache of the last successful fetch (
~/.circuitry-mcp/tools-cache.json) — used when offline.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
{
"eserverUrl": "http://localhost:3030",
"accessKey": "your-key-here",
"configured": true
}Environment Variables
Variable | Description |
| Override EServer URL |
| Override access key |
Commands
# Run setup wizard
npx @circuitry-ide/mcp-server setup
# Check current configuration
npx @circuitry-ide/mcp-server statusTroubleshooting
"Cannot connect to EServer"
Check EServer is running: Look for the Circuitry icon in your system tray
Start Circuitry Server: Download from circuitry.dev/download
Verify URL: Run
npx @circuitry-ide/mcp-server status
"Invalid access key"
Create new key: Circuitry Server → Preferences → Generate New Access Key
Re-run setup:
npx @circuitry-ide/mcp-server setup
"No Circuitry browser client connected"
Open Circuitry: Make sure the Circuitry app is open
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 statusTo 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
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
Available Tools
134 toolschart.createC
Create a chart/visualization node.
Inputs: name, chartType, data, position.
chart.setConfigC
Update chart configuration.
Inputs: nodeId (required), config (required).
circuitry.connectA
Request connection to Circuitry. Shows permission dialog in Circuitry for user approval. Call this first before using other tools.
Inputs: no named parameters.
circuitry.disconnectA
Disconnect from Circuitry. Ends the current MCP session. Call circuitry.connect to reconnect.
Inputs: no named parameters.
circuitry.statusC
Check connection status to Circuitry.
Inputs: no named parameters.
codebook.addCellA
Add a new cell to CodeBook. Creates a linked node in the workflow and inserts it in the cell order.
Supported cell types:
code: Python/JavaScript code with execution
text: Markdown documentation with LaTeX support ($...$)
agent: AI-powered processing cell
datagrid: Spreadsheet/sheet for data
chart: Visualization cell
image: Image display cell
This is the preferred way to add nodes when CodeBook is open. For workflow canvas, use code.create, text.create, or sheet.create instead.
Inputs: nodeType (required), afterCellId, executionTarget.
codebook.closeB
Close CodeBook view and return to workflow canvas.
Inputs: no named parameters.
codebook.getExecutionTargetA
Get the current Python execution target for new code cells.
Inputs: no named parameters.
codebook.getStateB
Get CodeBook state including cell order, selected cell, and execution status. Useful for understanding the current notebook context.
Inputs: no named parameters.
codebook.isOpenA
Check if CodeBook (notebook view) is currently active. When CodeBook is open, node creation should use codebook.addCell for proper cell insertion.
Inputs: no named parameters.
codebook.openA
Open CodeBook view for the current workflow. Switches to notebook-style linear view.
Inputs: no named parameters.
codebook.runAllB
Execute all cells in CodeBook in order.
Inputs: no named parameters.
codebook.runCellC
Execute a specific cell in CodeBook.
Inputs: cellId (required).
codebook.setExecutionTargetC
Set the Python execution target for new code cells.
Inputs: target (required).
code.createB
Create a code node. Use filePath for bidirectional file sync, OR use name+content for direct creation.
Inputs: filePath, name, content, position.
code.createBatchC
Create multiple code nodes from file paths. EServer fetches files and sets up sync.
Inputs: filePaths (required), layout.
code.createBatchGroupedA
Create code nodes organized in named groups with flow node headers. Each group gets a label header (flow node) with its code files arranged below it. Groups are placed side-by-side (horizontal) or stacked (vertical).
IMPORTANT: Provide descriptive names for each file. For Next.js page.tsx files, derive the name from the folder path (e.g., "/app/login/page.tsx" → "Login", "/app/dashboard/settings/page.tsx" → "Dashboard Settings"). Avoid generic names like "page" or "index".
Example: Organize files by folder structure like "Controllers", "Services", "Models".
Inputs: groups (required), layout.
code.getCodeA
Get code from a Code node. Supports optional line range for large files (like Claude Code's Read tool).
Without offset/limit: returns full code. With offset/limit: returns specific lines (0-indexed).
Example: offset=100, limit=50 returns lines 100-149.
Inputs: nodeId (required), offset, limit.
code.getLineCountB
Get the number of lines in a code node. Useful for planning chunked reads of large files.
Inputs: nodeId (required).
code.setCodeA
Update code content in a code node. Use showDiff: true to show inline diff UI for user to review/accept changes. If node is EServer-sourced, will sync to source file.
CRITICAL: Use this for "remove/add/change the X function" requests - EDIT the code content, don't delete the node!
"remove the power function" → Get code with code.getCode, then update with code.setCode (function removed)
"delete the node" → Use nodes.delete instead (removes entire node)
Inputs: nodeId (required), code (required), options.
code.setLinesA
Replace a range of lines in a code node. More efficient than setCode for partial updates.
The number of lines being replaced equals the length of the 'lines' array. Lines at startLine through startLine + lines.length - 1 will be replaced.
Inputs: nodeId (required), startLine (required), lines (required).
designer.getActiveA
Check if Designer mode is active and get current document info.
Returns null if not in Designer mode. Use this before calling screen.* or layout.* tools.
Inputs: no named parameters.
designer.getDesignContextA
Get design context (fonts, colors, patterns, buttons) extracted from all screens.
Use this to understand the user's design style before generating HTML components. The returned context includes:
fonts: Font families, sizes, and weights used in text elements
colorPalette: Colors categorized by usage (primary/accent, backgrounds, text)
buttons: Detected button styles (background, text color, border radius)
patterns: Common corner radii, whether shadows/gradients are used
theme: Overall theme (light/dark/neutral) based on backgrounds
TIP: When generating HTML with html.create, use this context to match colors, fonts, and button styles to the existing design.
Inputs: no named parameters.
designer.getModeA
Get the current Designer mode (design, layout, html, or preview).
Inputs: no named parameters.
designer.setModeC
Set the Designer mode.
design: Freehand drawing, sketching UI mockups
layout: Add structural containers (grids, sections)
html: Convert drawings to HTML, edit properties
preview: Interactive preview, test responsiveness
Inputs: mode (required).
documents.clearTargetB
Clear the explicit target document, falling back to most recently focused primary document.
Inputs: no named parameters.
documents.formatContextB
Get a formatted string listing open documents for system prompts. Shows document names, types, panes, and the current target. Use this to understand the multi-document context.
Inputs: no named parameters.
documents.getByTypeC
Get all documents of a specific type (e.g., "workflow", "spreadsheet", "designer", "notepad").
Inputs: type (required).
documents.getRecentA
Get recently focused documents ordered by most recent first. Excludes chat, browser, and terminal documents. Shows which documents the user was last working on - use this to determine which document the user is referring to.
Inputs: limit.
documents.getTargetA
Get the current target document for operations. Returns the explicitly set target, or falls back to the most recently focused primary document (workflow, designer, notepad, spreadsheet).
Inputs: no named parameters.
documents.listB
Get all open documents with their metadata. Useful for discovering what documents are available and which pane they are in (left, right, bottom-left, bottom-right).
Inputs: no named parameters.
documents.setTargetA
Set an explicit target document for subsequent operations. Useful when working with multiple documents to ensure operations go to the correct one.
Inputs: docId (required).
drawing.getActiveDocumentA
Get information about the active drawing document. Use to determine context (notepad/designer/workflow) and whether HTML components exist.
Inputs: no named parameters.
drawing.getImageA
Get the drawing layer as an image for visual interpretation. Use this when user sketches an idea and you need to "see" what they drew. Returns base64 PNG.
Inputs: maxSize, backgroundColor.
edges.connectC
Connect two nodes with an edge.
Inputs: sourceId (required), targetId (required), sourceHandle, targetHandle, +1 more.
edges.deleteC
Delete an edge by ID.
Inputs: edgeId (required).
edges.deleteBetweenC
Delete all edges between two nodes. More intuitive than needing edge IDs.
Inputs: sourceId (required), targetId (required).
edges.listB
List all edges in the current workflow.
Inputs: no named parameters.
execution.getStatusC
Get current execution status.
Inputs: no named parameters.
execution.startC
Start workflow execution from a specific node or the start node.
Inputs: startNodeId, input.
execution.stopB
Stop the current workflow execution.
Inputs: no named parameters.
file.exportB
Export workflow to JSON.
Inputs: no named parameters.
file.saveC
Save the current workflow.
Inputs: path.
html.createA
Create HTML content in Circuitry.
DESIGNER MODE: Use layout.createSection instead!
For Designer screens, ALWAYS use layout.createSection to create HTML with proper layout structure. It creates both a layout container AND HTML component together, ensuring correct stacking and preview export.
Only use html.create directly in Designer for adding content to existing layout grid cells.
WORKFLOW context - TWO options (ASK USER if unclear):
target: "drawing" - Quick prototypes on canvas drawing layer (default)
target: "node" - Web Node with inputs from other nodes
CRITICAL CSS STRUCTURE - Prevents zoom scaling bugs:
NEVER put visual styles (background, border-radius, padding, box-shadow) on :host - causes border-radius to scale incorrectly when zooming. Use :host { display: block; } only, and put all visual styles on an inner container element.
MOBILE UI SIZING:
Headers: 64px height
Bottom nav: 84px height
iPhone 15: 393x852
After editing components: Use layout.analyze with autoFix to detect and fix layout issues.
Inputs: name (required), html, css, htmlFile, +9 more.
html.deleteB
Delete an HTML component from the drawing layer. In Designer mode, operates on currently selected screen.
Inputs: id (required).
html.getA
Get full details of an HTML component including HTML, CSS, and JS content. In Designer mode, searches currently selected screen - use screen.select first if needed.
Inputs: id (required).
html.getByNameA
Get an HTML component by its display name. Case-insensitive search. Use this to find components like "Login Form" or "Navigation Menu" without needing to know the ID. In Designer mode, searches currently selected screen.
Inputs: name (required).
html.listA
List all HTML components in the current drawing layer. In Designer mode, lists components on currently selected screen.
Inputs: no named parameters.
html.updateA
Update an existing HTML component. Only provided fields will be updated. In Designer mode, operates on currently selected screen - use screen.select first if needed.
Inputs: id (required), name, html, css, +7 more.
image.createC
Create an image node.
Inputs: name, url, position.
image.setSourceC
Set image source URL or data.
Inputs: nodeId (required), source (required).
layout.analyzeA
Analyze and fix layout issues after editing components.
Use for: Fixing overlaps, repositioning elements, adjusting sizes after edits.
Don't use for: Initial creation - use layout.createSection which handles positioning automatically.
Use autoFix: true to automatically apply fixes.
Issues detected:
Overlapping elements
Footer/header misplacement
Content overflow beyond screen
Elements clipped by screen edges
Workflow:
Create with
layout.createSection(handles positioning)After edits, use
layout.analyze({ autoFix: true })to fix issuesUse
screen.captureto verify
Inputs: screenId, autoFix.
layout.createB
Create a layout element on a screen.
Layout Types:
Semantic sections: header, footer, hero, sidebar
Grid layouts: grid-1col, grid-2col, grid-3col, grid-4col
Flex layouts: flex-row, flex-column
Containers: card, container
Full-width types (header, footer, hero, grids, container) auto-snap to screen width. Semantic elements auto-position: header at top, footer at bottom.
Inputs: type (required), name, screenId, position, +2 more.
layout.createSectionA
PREFERRED METHOD for creating HTML in Designer mode.
Creates both a layout container AND an HTML component inside it together. This ensures:
Proper parent-child structure
Correct vertical stacking (content sections stack below each other)
Clean preview/export with proper positioning
Use container param for auto-positioning:
"header" - positions at top
"footer" - positions at bottom
"content" - stacks below previous content sections
CRITICAL CSS STRUCTURE - Prevents zoom scaling bugs:
NEVER put visual styles on :host - causes border-radius to scale incorrectly when zooming.
WRONG:
:host {
background: #1a1a3e;
border-radius: 16px;
padding: 20px;
}CORRECT:
:host { display: block; }
.card {
background: #1a1a3e;
border-radius: 16px;
padding: 20px;
}Always wrap HTML content in a container div and apply all visual styles (background, border-radius, padding, box-shadow) to that inner element, NOT to :host.
Headers & Footers MUST have opaque backgrounds - content scrolls behind them:
Use solid color:
background: #1a1a3e;Or gradient:
background: linear-gradient(...);Or blur:
background: rgba(26,26,62,0.9); backdrop-filter: blur(10px);
Cards narrower than screen should be centered:
Use
margin: 16px auto;in CSS to center horizontallyOr set position.x to center:
(screenWidth - cardWidth) / 2
Returns both layoutId and htmlId so you can reference either element later.
Inputs: name (required), html (required), layoutType, container, +6 more.
layout.deleteC
Delete a layout element.
Inputs: layoutId (required).
layout.getB
Get a layout element by ID or name.
Inputs: layoutId (required).
layout.getCellB
Get details about a specific cell in a grid layout.
Inputs: layoutId (required), cellIndex (required).
layout.listB
List all layout elements on the current or specified screen.
Inputs: screenId.
layout.searchC
Search for layout elements by name or type.
Inputs: query, type, screenId.
layout.setCellContentA
Set HTML content for a grid cell. Use html.create for more complex components.
Inputs: layoutId (required), cellIndex (required), html (required), css.
layout.setCellStyleC
Set style properties on a specific grid cell.
Inputs: layoutId (required), cellIndex (required), style (required).
layout.setStyleB
Set style properties on a layout element.
Available style properties:
backgroundColor, borderColor, borderWidth, borderRadius, opacity
padding: { top, right, bottom, left }
gap (spacing between children)
justifyContent, alignItems (for flex/grid alignment)
widthMode, heightMode ('fixed' or 'flexible')
widthPercent, heightPercent (for responsive sizing)
Inputs: layoutId (required), style (required).
layout.updateC
Update a layout element (name, position, dimensions, style).
Inputs: layoutId (required), name, position, dimensions.
nodes.addC
Add a new node to the workflow.
Inputs: type (required), position, name, config.
nodes.addConnectedC
Create a new node and connect it to an existing node.
Inputs: sourceNodeId (required), direction (required), type (required), name, +1 more.
nodes.createFlowchartA
Create a flowchart with nodes and edges on the canvas. Returns nodeIds mapping for subsequent modifications via nodes.updateFlowchart.
Nodes: { id, name, shape?, color? }
shape: rounded (default), diamond (decisions), pill (start/end), cylinder (database), parallelogram (I/O)
color: CSS name (blue, green, red, amber) or hex. Use red for problems, green for success.
Edges: { from, to, fromHandle?, toHandle?, label? }
handles: "left", "right", "top", "bottom"
For decisions: fromHandle "right" for Yes/true, "bottom" for No/false
Inputs: nodes (required), edges (required), startPosition, spacing, +1 more.
nodes.deleteC
Delete a node from the workflow.
Inputs: nodeId (required).
nodes.getC
Get a specific node by its ID.
Inputs: nodeId (required).
nodes.getByNameC
Find a node by its display name.
Inputs: name (required).
nodes.getByTypeB
Get all nodes of a specific type. Types: start, agent, code, datagrid (Sheet), text, image, chart, condition, loop, then, trigger, action, sticky, flow, web, terminal, scene3d
Inputs: type (required).
nodes.insertBetweenA
Insert node(s) between two connected nodes. Removes existing edge and creates new edges through the inserted nodes.
Use node for single insertion: Source → NewNode → Target
Use nodes for chain insertion: Source → A → B → C → Target
Inputs: sourceId (required), targetId (required), node, nodes.
nodes.listB
List all nodes in the active workflow.
Inputs: no named parameters.
nodes.searchA
Search workflow nodes by name or content. Returns ALL matches with confidence scores - let AI decide which is most relevant.
Use cases:
"the validation node" → searches for nodes with "validation" in name
"sheet with customer data" → searches sheet headers and data sample
"authentication code" → searches code node contents
Content searched by type:
sheet: headers + first 100 rows of data
code: first 1000 chars
text/agent: full content
flow: displayName + content
Large sheets (>1000 rows) are skipped by default to avoid slowness. Use includeLargeSheets: true to include them.
Inputs: query (required), limit, types, searchContent, +1 more.
nodes.updateC
Update a node's data/configuration.
Inputs: nodeId (required), data (required).
nodes.updateFlowchartB
Update an existing flowchart. Pass nodeIds from createFlowchart response to modify nodes/edges.
Inputs: nodeIds (required), add, update, remove.
screen.captureA
Capture a Designer screen as a PNG image. Use this to verify layouts and catch visual issues like:
Clipped content (text/buttons cut off by container)
Poor contrast (light text on light background)
Overlapping elements
Sizing problems
Returns the screen as a base64 PNG image that Claude can analyze visually.
Inputs: screenId.
screen.createA
Create a new screen (page/artboard) in the Designer.
Device presets: iPhone 15, iPhone SE, iPad Pro 12", Desktop 1920, etc. Or use "custom" with explicit dimensions.
TIP: After adding components to a screen, run layout.analyze to check for layout issues and get suggested fixes. Screens can be resized taller if content overflows.
Inputs: name (required), devicePreset, dimensions, backgroundColor, +1 more.
screen.deleteC
Delete a screen from the Designer.
Inputs: screenId (required).
screen.duplicateC
Duplicate a screen with all its layouts and HTML components.
Inputs: screenId (required), newName.
screen.getC
Get a screen by ID or name.
Inputs: screenId (required).
screen.listB
List all screens (pages/artboards) in the current Designer document.
Inputs: no named parameters.
screen.selectC
Select a screen to make it active for editing.
Inputs: screenId (required).
screen.updateC
Update screen properties (name, dimensions, backgroundColor).
Inputs: screenId (required), name, dimensions, backgroundColor.
sheet.createC
Create a new Sheet (spreadsheet) node with data.
Inputs: name, data, headers, position.
sheet.deleteColumnC
Delete a column at a specific position.
Inputs: nodeId (required), colIndex (required).
sheet.deleteRowC
Delete a row at a specific position.
Inputs: nodeId (required), rowIndex (required).
sheet.fillRangeA
Fill a range with a formula pattern - efficient for computed columns/rows. Use {row} for 1-indexed row number (Excel-style), {col} for column letter.
Inputs: nodeId (required), formula (required), col, startRow, +4 more.
sheet.getCellB
Get a single cell value from a Sheet.
Inputs: nodeId (required), row (required), col (required).
sheet.getCellFormulaB
Get the formula string for a cell.
Inputs: nodeId (required), row (required), col (required).
sheet.getCellInfoC
Get detailed cell info including formula and computed value.
Inputs: nodeId (required), row (required), col (required).
sheet.getColumnB
Get an entire column from a Sheet by index or letter.
Inputs: nodeId (required), col (required).
sheet.getColumnCountB
Get the number of columns in a Sheet.
Inputs: nodeId (required).
sheet.getDataPaginatedA
Get sheet data with pagination. Best for large sheets (100K+ rows).
Inputs: nodeId (required), page (required), pageSize (required).
sheet.getFormulasA
Get all formulas in a Sheet as a map of cell keys to formula strings.
Inputs: nodeId (required).
sheet.getHeadersB
Get the column headers of a Sheet.
Inputs: nodeId (required).
sheet.getRowCountA
Get the number of rows in a Sheet. Use for planning pagination/chunked reads.
Inputs: nodeId (required).
sheet.getRowsA
Get a range of rows from a Sheet (0-indexed, inclusive). Use for large sheets instead of getData.
Inputs: nodeId (required), startRow (required), endRow (required).
sheet.insertColumnC
Insert a column at a specific position.
Inputs: nodeId (required), colIndex (required), data (required), header.
sheet.insertRowC
Insert a row at a specific position.
Inputs: nodeId (required), rowIndex (required), data (required).
sheet.listFunctionsA
List all available formula functions. Sheets support ALL standard Excel/Google Sheets functions including:
Math: SUM, AVERAGE, MIN, MAX, ROUND, ABS, SQRT, etc.
Lookup: VLOOKUP, HLOOKUP, INDEX, MATCH, LOOKUP
Text: CONCAT, LEFT, RIGHT, MID, LEN, TRIM, UPPER, LOWER
Logic: IF, AND, OR, NOT, IFERROR, SWITCH
Date: TODAY, NOW, DATE, YEAR, MONTH, DAY
Stats: COUNT, COUNTA, COUNTIF, SUMIF, AVERAGEIF And 50+ more functions.
Inputs: no named parameters.
sheet.setCellC
Set a single cell value in a Sheet. Can also set formulas (start with =).
Inputs: nodeId (required), row (required), col (required), value (required).
sheet.setCellFormulaC
Set a formula for a cell. Formulas must start with =.
Inputs: nodeId (required), row (required), col (required), formula (required).
sheet.setCellsA
Set multiple cells in one call - efficient for sparse updates. Values starting with "=" are treated as formulas.
Inputs: nodeId (required), cells (required).
sheet.setDataC
Replace all data in a Sheet.
Inputs: nodeId (required), data (required), headers.
sheet.updateRowC
Replace an entire row at a specific position.
Inputs: nodeId (required), rowIndex (required), data (required).
spreadsheet.addSheetC
Add a new sheet to a standalone spreadsheet.
Inputs: documentId, name.
spreadsheet.createC
Create a new standalone spreadsheet document with optional initial data.
Inputs: name, initialData, initialSheetName.
spreadsheet.deleteSheetA
Delete a sheet from a standalone spreadsheet. Cannot delete the last sheet.
Inputs: index (required), documentId.
spreadsheet.getActiveDocumentA
Get info about the active standalone spreadsheet document. Returns null if no spreadsheet is focused. Use this to check if user is working on a spreadsheet.
Inputs: no named parameters.
spreadsheet.getCellB
Get a single cell value from a standalone spreadsheet.
Inputs: row (required), col (required), documentId, sheetIndex.
spreadsheet.getCellFormulaA
Get the formula from a cell in a standalone spreadsheet. Returns null if cell has no formula.
Inputs: row (required), col (required), documentId, sheetIndex.
spreadsheet.getDataB
Get data from a sheet in a standalone spreadsheet as a 2D array.
Inputs: documentId, sheetIndex.
spreadsheet.listFunctionCategoriesB
List formula functions organized by category (Math, Logic, Text, Lookup, Date, etc.). Useful for discovering available functions.
Inputs: no named parameters.
spreadsheet.listFunctionsB
List all available formula functions for spreadsheets. Returns 100+ Excel-compatible function names including:
Math: SUM, AVERAGE, MIN, MAX, ROUND, ABS, SQRT, etc.
Lookup: VLOOKUP, HLOOKUP, INDEX, MATCH, LOOKUP
Text: CONCAT, LEFT, RIGHT, MID, LEN, TRIM, UPPER, LOWER
Logic: IF, AND, OR, NOT, IFERROR, SWITCH
Date: TODAY, NOW, DATE, YEAR, MONTH, DAY
Stats: COUNT, COUNTA, COUNTIF, SUMIF, AVERAGEIF And many more.
Inputs: no named parameters.
spreadsheet.listSheetsA
List all sheets in a standalone spreadsheet document. Shows sheet names, row counts, and column counts.
Inputs: documentId.
spreadsheet.renameSheetC
Rename a sheet in a standalone spreadsheet.
Inputs: index (required), newName (required), documentId.
spreadsheet.setCellA
Set a single cell value in a standalone spreadsheet. Use = prefix for formulas (e.g., "=SUM(A1:A10)").
Inputs: row (required), col (required), value (required), documentId, +1 more.
spreadsheet.setCellFormulaC
Set a formula for a cell in a standalone spreadsheet.
Inputs: row (required), col (required), formula (required), documentId, +1 more.
spreadsheet.setDataC
Set data in a sheet of a standalone spreadsheet.
Inputs: data (required), documentId, sheetIndex.
spreadsheet.switchSheetB
Switch to a different sheet within a spreadsheet by index or name.
Inputs: indexOrName (required), documentId.
text.createA
Create a Text (documentation) node with markdown and LaTeX support.
Text nodes are ideal for:
Documentation and explanations
Mathematical formulas using LaTeX ($...$ for inline, $$...$$ for block)
Rich text content with headers, lists, code blocks
Plans, discussions, and progress tracking in CodeBook view
In CodeBook: Use codebook.addCell('text') instead for proper cell insertion.
Inputs: name, content, position.
text.getContentC
Get markdown content from a Text node.
Inputs: nodeId (required).
text.setContentC
Update markdown content in a Text node. Supports markdown and LaTeX.
Inputs: nodeId (required), content (required).
workflow.canRedoA
Check if redo is available. Call before redo to verify there are changes to restore.
Inputs: no named parameters.
workflow.canUndoA
Check if undo is available. Call before undo to verify there are changes to revert.
Inputs: no named parameters.
workflow.getActiveB
Get info about the currently visible workflow.
Inputs: no named parameters.
workflow.getFlowchartsA
Get existing flow nodes to modify. Use before updateFlowchart to see what exists.
Inputs: no named parameters.
workflow.getNodeSummaryA
Get simplified details about nodes. Returns name, type, and connections - enough for Claude CLI to understand the diagram.
Inputs: nodeIds.
workflow.getSelectionContextA
Get currently selected nodes and what is selected within them (cells in sheets, text in code/text/agent nodes). Use this to understand what the user is referring to when they say "this", "what does this do?", "explain this", etc. Returns empty array if nothing is selected.
Inputs: no named parameters.
workflow.getStructureB
Get simplified structure of all flows in the workflow. Use this to understand what user has drawn.
Inputs: no named parameters.
workflow.layoutNodesB
Auto-layout specific nodes using dagre (longest-path algorithm). Positions nodes and optimizes edge handles for clean flowchart appearance.
Inputs: nodeIds, direction, spacing.
workflow.redoA
Redo the last undone change. Restores nodes, edges, and drawing data to the next state.
Inputs: no named parameters.
workflow.resolveFlowA
Resolve which flow/nodes the user is referring to based on their message. Uses heuristics to match: selected node content, node names, code/text content keywords. Call this instead of fetching entire workflow for context.
Inputs: userMessage (required), selectedNodeId.
workflow.undoA
Undo the last workflow change. Reverts nodes, edges, and drawing data to previous state. Use this when changes need to be reverted or the user asks to undo.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 134 tools
The tool set has clear domains (e.g., codebook, nodes, sheet, layout), but there is significant overlap within domains that could confuse an agent. For example, codebook.addCell and code.create/text.create/sheet.create have overlapping purposes depending on context, and sheet.* vs. spreadsheet.* tools have similar functionalities but target different document types. Descriptions help clarify, but the boundaries are not always distinct.
Tool names follow a highly consistent verb_noun pattern with dot notation for namespacing (e.g., codebook.addCell, nodes.delete, layout.createSection). All tools use snake_case consistently, and naming conventions are predictable across the entire set, making it easy to infer functionality from names.
With 134 tools, the count is excessive for the server's purpose of interacting with Circuitry's workflow and design features. This many tools creates a steep learning curve and likely includes redundant or overly granular operations that could be consolidated, such as multiple sheet and spreadsheet tools with similar functions. A more focused set of 20-40 tools would be more appropriate.
The tool surface is exceptionally complete, covering CRUD/lifecycle operations for all major domains (e.g., nodes, edges, code, sheets, layout, screens). It includes comprehensive workflows from connection management to execution, design, and documentation, with no apparent gaps that would cause agent failures. The tools support everything from basic creation to advanced analysis and fixes.
Maintenance
Related MCP Connectors
Turn calls and notes into process flow diagrams in Claude, ChatGPT, VS Code, Cursor, and Teams.
Build and run visual creative-production workflows from your AI agent.
Software diagrams for developers, teams and agents — give your AI agents diagramming superpowers.
Connect AI assistants to your approved computer for files, commands, browser and desktop tasks.
Related MCP Servers
AlicenseBqualityFmaintenanceConnects AI assistants (Claude, Cursor, etc.) directly to the HiveFlow automation platform, allowing them to create, manage, and execute automation flows through natural language commands.94 npm4MIT- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to create, edit, and export flowcharts through a local web-based editor with visual drag-and-drop, real-time sync, and 14 MCP tools for full node/edge CRUD.2Apache 2.0
- AlicenseNot gradedqualityDmaintenanceConnects AI coding agents to FlutterFlow projects, enabling browsing, inspection, and modification of projects directly from the assistant.MIT
- AlicenseBqualityBmaintenanceBridges local development environments with the Engineering Intelligence Platform (EIP), enabling AI coding agents to manage SSOT, generate implementation/test/security plans, and synchronize architectural knowledge.5MIT