n8n-workflow-builder-mcp

by ifmelate

add_connection

Establish connections between nodes in n8n workflows by defining source and target nodes with specific input and output handles, ensuring proper workflow configuration.

Input Schema

NameRequiredDescriptionDefault
source_node_idYesThe ID of the source node for the connection
source_node_output_nameYesThe name of the output handle on the source node (e.g., 'main')
target_node_idYesThe ID of the target node for the connection
target_node_input_indexNoThe index for the target node's input handle (default: 0)
target_node_input_nameYesThe name of the input handle on the target node (e.g., 'main')
workflow_nameYesThe Name of the workflow to add the connection to

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "source_node_id": { "description": "The ID of the source node for the connection", "type": "string" }, "source_node_output_name": { "description": "The name of the output handle on the source node (e.g., 'main')", "type": "string" }, "target_node_id": { "description": "The ID of the target node for the connection", "type": "string" }, "target_node_input_index": { "default": 0, "description": "The index for the target node's input handle (default: 0)", "type": "number" }, "target_node_input_name": { "description": "The name of the input handle on the target node (e.g., 'main')", "type": "string" }, "workflow_name": { "description": "The Name of the workflow to add the connection to", "type": "string" } }, "required": [ "workflow_name", "source_node_id", "source_node_output_name", "target_node_id", "target_node_input_name" ], "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/ifmelate/n8n-workflow-builder-mcp'

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