N
N8n MCP Server
by @Lars-FivMo
MCP server exposing n8n workflow automation to Claude
Created 3/9/2026
Updated about 7 hours ago
README
Repository documentation and setup instructions
n8n-mcp-server
A Model Context Protocol (MCP) server that exposes n8n workflow automation as tools for Claude.
Tools
| Tool | Description |
|------|-------------|
| list_workflows | List all n8n workflows |
| get_workflow | Get details of a specific workflow |
| execute_workflow | Execute a workflow by ID |
Setup
npm install
Usage
Register with Claude Code:
claude mcp add n8n --scope user \
-e N8N_BASE_URL=http://localhost:5678 \
-e N8N_API_KEY=<your-key> \
-- node /path/to/n8n-mcp-server/server.js
Configuration
| Environment Variable | Default | Description |
|---|---|---|
| N8N_API_KEY | — | n8n API key (Settings → API → API Keys) |
| N8N_BASE_URL | http://localhost:5678 | n8n instance URL |
License
Quick Setup
Installation guide for this server
Install Package (if required)
npx @modelcontextprotocol/server-n8n-mcp-server
Cursor configuration (mcp.json)
{
"mcpServers": {
"lars-fivmo-n8n-mcp-server": {
"command": "npx",
"args": [
"lars-fivmo-n8n-mcp-server"
]
}
}
}