Is this the official n8n MCP server?
No. It is a community project by leonardsellem, maintained part-time. n8n's own MCP options are the MCP Server Trigger node and instance-level MCP access.
@leonardsellem
Basic information
MCP server that provides tools and resources for interacting with n8n API
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"n8n-mcp-server": {
"command": "docker",
"args": [
"pull",
"leonardsellem/n8n-mcp-server"
]
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
This n8n MCP server is a community-built Model Context Protocol server (@leonardsellem/n8n-mcp-server) that lets AI assistants list, create, update, activate and run n8n workflows and inspect their executions through the n8n REST API, using natural language.
It is not made by n8n. It connects to your own n8n instance, cloud or self-hosted, with an n8n API key, and runs locally over stdio from npm, from source or as a Docker image. n8n itself now also offers built-in MCP options, covered in the comparison below.
Prerequisites: Node.js 20 or later, and an n8n instance with API access enabled.
1. Create an n8n API key. In your n8n instance, go to Settings > API > API Keys, create a key with appropriate permissions and copy it.
2. Install the server.
npm install -g @leonardsellem/n8n-mcp-server
Or run it with Docker:
docker run -e N8N_API_URL=http://your-n8n:5678/api/v1 \
-e N8N_API_KEY=your_n8n_api_key \
-e N8N_WEBHOOK_USERNAME=username \
-e N8N_WEBHOOK_PASSWORD=password \
leonardsellem/n8n-mcp-server
3. Set environment variables.
| Variable | Purpose |
|---|---|
N8N_API_URL | Full n8n API URL including /api/v1, e.g. http://localhost:5678/api/v1 |
N8N_API_KEY | Your n8n API key |
N8N_WEBHOOK_USERNAME / N8N_WEBHOOK_PASSWORD | Basic Auth credentials, only if you use webhook tools |
DEBUG | Optional debug logging |
The README's example config runs the built file with node. Use the absolute path to build/index.js after npm run build:
{
"mcpServers": {
"n8n-local": {
"command": "node",
"args": ["/path/to/your/cloned/n8n-mcp-server/build/index.js"],
"env": {
"N8N_API_URL": "http://your-n8n-instance:5678/api/v1",
"N8N_API_KEY": "YOUR_N8N_API_KEY"
},
"disabled": false,
"autoApprove": []
}
}
}
If you installed globally from npm, the README notes you can use n8n-mcp-server as the command instead of the node path.
With the global npm install:
claude mcp add n8n -e N8N_API_URL=http://localhost:5678/api/v1 -e N8N_API_KEY=YOUR_N8N_API_KEY -- n8n-mcp-server
Use the same mcpServers block in ~/.cursor/mcp.json, with n8n-mcp-server or the node path as the command.
n8n://workflows/listThe tools fall into two groups:
workflow_list, workflow_get, workflow_create, workflow_update, workflow_delete, workflow_activate and workflow_deactivate.execution_run runs a workflow via the API, run_webhook triggers a webhook workflow by name (it calls <n8n-url>/webhook/<workflowName>), and execution_get, execution_list and execution_stop inspect or stop runs.Resources expose the same data for reading: n8n://workflows/list, n8n://workflow/{id}, n8n://executions/{workflowId} and n8n://execution/{id}.
n8n now ships its own MCP features. The MCP Server Trigger node turns a single n8n workflow into an MCP server whose tools are n8n tool nodes, over SSE or Streamable HTTP. Instance-level MCP access lets an owner or admin expose selected workflows to MCP clients from n8n's settings. Choose this community n8n MCP server when you want an agent to manage workflows themselves (create, edit, activate, delete) through the REST API from a local stdio server. Other community n8n MCP projects exist with different tool sets.
N8N_API_URL includes /api/v1 and that the API key is valid and has the needed permissions.npm run build first, and use the absolute path to build/index.js with the correct separators (double backslashes on Windows).run_webhook uses Basic Auth. Set N8N_WEBHOOK_USERNAME and N8N_WEBHOOK_PASSWORD, and enable Basic Authentication on the webhook node.npm install -g @leonardsellem/n8n-mcp-server@latest or docker pull leonardsellem/n8n-mcp-server:latest, then restart the server.DEBUG=true to enable debug logging.No. It is a community project by leonardsellem, maintained part-time. n8n's own MCP options are the MCP Server Trigger node and instance-level MCP access.
Yes, it is MIT-licensed and free. You need your own n8n instance; n8n cloud or self-hosted pricing is separate.
An n8n API key created under **Settings > API > API Keys** in your instance, set as `N8N_API_KEY`, plus `N8N_API_URL` pointing at your instance's `/api/v1` endpoint.
It is a standard stdio server. The README shows the config for Claude Desktop and VS Code; Claude Code and Cursor can launch the same command with the same environment variables.
Yes. Point `N8N_API_URL` at any n8n instance with API access enabled, including one running locally on `http://localhost:5678/api/v1`.
Yes. `workflow_update`, `workflow_delete` and `workflow_deactivate` act on your live instance. Keep tool approval on, and consider an API key on a non-production instance.
No. It runs locally over stdio and talks to your n8n instance over HTTP. For a remote MCP endpoint hosted by n8n itself, use n8n's built-in MCP features.

Request dedicated senior developers to work on your project, write job descriptions, and prep technical interviews — all without leaving your Claude chat. Just describe what you need, and Lemon.io MCP does the rest. 1–3
Free moving quotes for AI agents from Next Generation Movers, a licensed interstate mover (USDOT 3764697). US long-distance nationwide and local DC/MD/VA. Indicative ballpark price and booking options; optional $0.01 x40
不止于 CSS
This open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
A search tool helps dev to solve the naming things problem.
Comments