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 "Install 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
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 installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/lyzetam/mcp-n8n'
If you have feedback or need assistance with the MCP directory API, please join our Discord server