mcp-n8n
Allows management of n8n workflows, executions, credentials, tags, users, and webhooks via an MCP server, providing 25 tools for automating n8n operations.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-n8nlist my workflows"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-n8n
n8n workflow automation API as a Python library, LangChain tools, and MCP server. Manage workflows, executions, credentials, tags, users, and webhooks from code or an MCP-compatible client.
Features
25 tools across 5 categories:
Workflows (10) -- list, get, create, update, delete, activate, deactivate, execute, list active, get activation errors
Executions (5) -- list, get, delete, retry, stop
Credentials (4) -- list, get schema, create, delete
Tags (3) -- list, create, delete
Misc (3) -- list users, trigger webhook, check status
Related MCP server: n8n-manager-mcp
Installation
# Core library only
pip install .
# With MCP server
pip install ".[mcp]"
# With LangChain tools
pip install ".[langchain]"
# Everything
pip install ".[all]"Configuration
Variable | Description | Default |
| n8n API key | (required) |
| n8n host and port |
|
| Protocol (http or https) |
|
| Full base URL (overrides protocol + host) | (computed) |
Create a .env file:
N8N_API_KEY=your-n8n-api-key
N8N_HOST=localhost:5678
N8N_PROTOCOL=httpQuick Start
MCP Server
mcp-n8nLangChain Tools
from mcp_n8n.langchain_tools import TOOLS, n8n_list_workflows
# Use individual tools
result = n8n_list_workflows.invoke({})
# Or pass all tools to an agent
from langchain.agents import AgentExecutor
agent = AgentExecutor(tools=TOOLS, ...)Python Library
from mcp_n8n.client import N8nClient
client = N8nClient()
workflows = client.get_sync("/workflows")License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
Security scanner for n8n workflows: 18 rules, OWASP Agentic mapped. Free MCP, paid x402 API.
MCP server for secureFlows: token-free URL builders and integration-linting tools for AI agents.
Self-hosted MCP gateway: turn any API, database or MCP server into AI connectors — no code.
Related MCP Servers
- AlicenseBqualityDmaintenanceAn MCP server enabling secure interaction with n8n workflows, executions, and settings via the Model Context Protocol, designed for integration with Large Language Models (LLMs).3348 npm119MIT
- AlicenseBqualityAmaintenanceMCP server for managing n8n workflows through AI assistants. Supports workflow CRUD operations, synchronization, inspection, and execution support for automation-focused workflows.19204 npm2MIT
- FlicenseBqualityCmaintenanceA full-power MCP server for n8n that enables AI agents to create, read, update, delete, and test workflows and credentials, including webhook testing, validation, and backup/versioning.319-
- AlicenseNot gradedqualityDmaintenanceMCP server for managing n8n workflows and executions. Enables listing, activating, deactivating, and executing workflows, as well as monitoring executions and instance health.MIT