Skip to main content
Glama
circuitry-dev

Circuitry MCP Server

Official

code.setCode

Edit code content in Circuitry's visual workflow platform to modify functions or logic while preserving the node structure, with optional diff review before applying changes.

Instructions

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)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nodeIdYesCode node ID
codeYesSource code to set
optionsNoOptions: { showDiff?: boolean (show diff UI), targetName?: string (display name), source?: string }
Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/circuitry-dev/circuitry-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server