Skip to main content
Glama

n8n MCP Server

by get2knowio

apply_ops

Apply multiple graph operations atomically to a workflow, enabling batch updates to nodes, connections, parameters, and properties in a single transaction.

Instructions

Apply multiple graph operations atomically to a workflow

Input Schema

NameRequiredDescriptionDefault
opsYesArray of operations to apply
workflowIdYesThe workflow ID

Input Schema (JSON Schema)

{ "properties": { "ops": { "description": "Array of operations to apply", "items": { "properties": { "type": { "description": "The type of operation", "enum": [ "addNode", "deleteNode", "updateNode", "setParam", "unsetParam", "connect", "disconnect", "setWorkflowProperty", "addTag", "removeTag" ], "type": "string" } }, "required": [ "type" ], "type": "object" }, "type": "array" }, "workflowId": { "description": "The workflow ID", "oneOf": [ { "type": "string" }, { "type": "number" } ] } }, "required": [ "workflowId", "ops" ], "type": "object" }

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/get2knowio/n8n-mcp'

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