n8n MCP Server

create-workflow

Create a new workflow in n8n. Use to set up a new workflow with optional nodes and connections. IMPORTANT: 1) Arguments must be provided as compact, single-line JSON without whitespace or newlines. 2) Must provide full workflow structure including nodes and connections arrays, even if empty. The 'active' property should not be included as it is read-only.

Input Schema

NameRequiredDescriptionDefault
clientIdYes
connectionsNo
nameYes
nodesNo

Input Schema (JSON Schema)

{ "properties": { "clientId": { "type": "string" }, "connections": { "type": "object" }, "name": { "type": "string" }, "nodes": { "type": "array" } }, "required": [ "clientId", "name" ], "type": "object" }