Manages multiple N8N instances via MCP enabling centralized workflow and execution management.
Configuration
View docs{
"mcpServers": {
"businessarchi-n8n-mcp-server": {
"url": "https://votre-serveur.coolify.io",
"headers": {
"MCP_TRANSPORT": "stdio",
"N8N_INSTANCES": "[{\"name\":\"prod\",\"url\":\"https://n8n.example.com\",\"apiKey\":\"your-api-key\"}]"
}
}
}
}This MCP server lets you manage multiple N8N instances from any MCP client, such as Claude or VSCode, enabling centralized control over workflows, executions, and instance status without logging into each N8N separately.
You connect an MCP client to the server either via SSE for network deployments or via stdio for local use. Once connected, you can list instances, manage workflows, run workflows, monitor executions, and retrieve details about specific runs. Use the clientâs MCP capabilities to issue the provided tools and manage configurations across all N8N instances from a single point.
Key capabilities you can leverage include listing available N8N instances, listing and searching workflows, creating, updating, and deleting workflows, toggling workflow activity, executing workflows, and inspecting execution results. The server exposes endpoints for status and health checks, and supports real-time communication when using the SSE transport.
Prerequisites continue to be Node.js 18+ and at least one N8N instance with the API enabled.
Install locally by cloning and building the server, then run it.
# Prerequisite: ensure Node.js 18+ is installed
# Install dependencies and build the MCP server
npm install
npm run build
# Start in the default SSE mode
npm start
# Start in stdio mode (local use from Claude Desktop)
MCP_TRANSPORT=stdio npm startConfigure the MCP server to connect to one or more N8N instances. You can use a JSON configuration string or per-instance environment variables to define the connection details and API keys.
{
"N8N_INSTANCES": "[{\"name\":\"prod\",\"url\":\"https://n8n.example.com\",\"apiKey\":\"your-api-key\"},{\"name\":\"dev\",\"url\":\"https://n8n-dev.example.com\",\"apiKey\":\"your-api-key\"}]"
}The server provides a suite of 11 MCP tools to manage N8N workflows and executions. Each tool is exposed through the MCP interface and can be invoked by your MCP client to perform specific actions.
Protect your API keys and limit access to trusted MCP clients. Use strong API keys for each N8N instance and rotate them as part of regular security hygiene. When deploying publicly, prefer an HTTPS transport and enable health checks to monitor uptime.
If you encounter connectivity issues, verify that the N8N API keys are valid, the server is reachable at the configured URL, and the chosen transport mode is supported by your client. Check that the health endpoint responds correctly and that the MCP client is configured with the proper transport (SSE or stdio).
List the N8N instances that are available in the MCP server.
List workflows for a specified N8N instance.
Search workflows across one or more N8N instances.
Retrieve a workflow's details by identifier.
Create a new workflow in a selected N8N instance.
Update an existing workflow in a selected N8N instance.
Delete a workflow from a selected N8N instance.
Enable or disable a workflow in a selected N8N instance.
Execute a workflow in a selected N8N instance.
List executions for workflows across instances.
Get details for a specific workflow execution.