N8n MCP Server
by leonardosepulvedatio.github.leonardosepulvedat/mcp-n8nv1.5.0
Operate and build n8n: 61 tools, 560-node catalog, validation, autofix, snapshots and backups.
context tax
queued
security
queued
cold start
queued
freshness
Active5d ago
Install N8n MCP server
Install in Claude Code
claude mcp add n8n-leonardosepulvedat -e N8N_BASE_URL='<n8n-base-url>' -e N8N_API_KEY='<n8n-api-key>' -- npx -y mcp-n8nInstall in Cursor
{
"mcpServers": {
"n8n-leonardosepulvedat": {
"command": "npx",
"args": [
"-y",
"mcp-n8n"
],
"env": {
"N8N_BASE_URL": "<n8n-base-url>",
"N8N_API_KEY": "<n8n-api-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"n8n-leonardosepulvedat": {
"command": "npx",
"args": [
"-y",
"mcp-n8n"
],
"env": {
"N8N_BASE_URL": "<n8n-base-url>",
"N8N_API_KEY": "<n8n-api-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"n8n-leonardosepulvedat": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-n8n"
],
"env": {
"N8N_BASE_URL": "<n8n-base-url>",
"N8N_API_KEY": "<n8n-api-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"n8n-leonardosepulvedat": {
"command": "npx",
"args": [
"-y",
"mcp-n8n"
],
"env": {
"N8N_BASE_URL": "<n8n-base-url>",
"N8N_API_KEY": "<n8n-api-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| N8N_BASE_URL | yes | — | Base URL of the n8n instance (e.g. https://your-n8n-instance.com) |
| N8N_API_KEY | yes | yes | n8n API key (Settings -> n8n API) |
| N8N_TOOLSETS | — | — | Comma-separated toolsets to expose: core, builder, admin (default: all) |
Freshness
Active — last maintenance signal 5d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-05 · 5d ago · GitHub
Latest release
2026-08-21 · 50d ago · GitHub · v1.5.0
Package published
no data · npm/PyPI
Registry entry updated
2026-08-21 · 50d ago · official registry · v1.5.0
FAQ
›How do I install the N8n MCP server in Claude Code?
Run: claude mcp add n8n-leonardosepulvedat -e N8N_BASE_URL='<n8n-base-url>' -e N8N_API_KEY='<n8n-api-key>' -- npx -y mcp-n8n. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does N8n require an API key?
Yes. It expects N8N_BASE_URL, N8N_API_KEY, of which 1 is a secret.
›Can I use N8n as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is N8n in the official MCP registry?
Yes, as io.github.leonardosepulvedat/mcp-n8n.
Alternatives to N8n
Other productivity & office MCP servers.