n8n Pro MCP
v1.0.0Manage self-hosted n8n (incl.
Values you need
| Variable | What it is | |
|---|---|---|
N8N_API_URL | required | Base URL of the n8n instance (no /api/v1 suffix) |
N8N_API_KEY | required secret | n8n API key (Settings -> n8n API -> Create API key) |
N8N_WEBHOOK_BASE_URL | optional | Separate base URL for webhook calls (queue mode webhook processors) |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add n8n-pro-mcp -e 'N8N_API_KEY=<N8N_API_KEY>' -e 'N8N_API_URL=<N8N_API_URL>' -- npx -y n8n-pro-mcp@1.0.0Add to
claude_desktop_config.json{
"mcpServers": {
"n8n-pro-mcp": {
"args": [
"-y",
"n8n-pro-mcp@1.0.0"
],
"command": "npx",
"env": {
"N8N_API_KEY": "<N8N_API_KEY>",
"N8N_API_URL": "<N8N_API_URL>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"n8n-pro-mcp": {
"args": [
"-y",
"n8n-pro-mcp@1.0.0"
],
"command": "npx",
"env": {
"N8N_API_KEY": "<N8N_API_KEY>",
"N8N_API_URL": "<N8N_API_URL>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "N8N_API_KEY",
"id": "n8n-api-key",
"password": true,
"type": "promptString"
},
{
"description": "N8N_API_URL",
"id": "n8n-api-url",
"password": true,
"type": "promptString"
}
],
"servers": {
"n8n-pro-mcp": {
"args": [
"-y",
"n8n-pro-mcp@1.0.0"
],
"command": "npx",
"env": {
"N8N_API_KEY": "${input:n8n-api-key}",
"N8N_API_URL": "${input:n8n-api-url}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.n8n-pro-mcp]
command = "npx"
args = ["-y", "n8n-pro-mcp@1.0.0"]
env = { "N8N_API_KEY" = "<N8N_API_KEY>", "N8N_API_URL" = "<N8N_API_URL>" }For AI agents
- Ask the user for: N8N_API_URL, N8N_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: list_workflows, get_workflow, create_workflow, update_workflow, delete_workflow, activate_workflow, deactivate_workflow, transfer_workflow, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json