n8n-mcp-server
Provides tools for installing, starting, stopping, and monitoring the n8n process, as well as managing workflows and executions via the n8n REST API.
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., "@n8n-mcp-server list 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.
n8n-mcp-server
Servidor MCP en TypeScript para instalar y gestionar n8n desde cualquier cliente MCP (Claude Desktop, Claude Code, Cursor, VS Code…). Transporte stdio, sin dependencias más allá del SDK oficial de MCP.
Tools
Gestión de proceso
Tool | Qué hace |
| Instala n8n globalmente ( |
| Arranca n8n en background y espera a que responda en |
| Detiene el proceso arrancado por |
| Estado del proceso n8n |
API de n8n
Tool | Qué hace |
| Lista los workflows |
| Lee un workflow por id |
| Crea un workflow |
| Activa / desactiva un workflow |
| Lista ejecuciones |
| Lee una ejecución por id |
Related MCP server: n8n Workflow Builder MCP Server
Instalación
Vía npx (recomendada)
Configuración del cliente MCP (p. ej. Claude Desktop, ~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"n8n-manager": {
"command": "npx",
"args": ["-y", "@hifede/n8n-mcp-server"]
}
}
}Local (desde el código)
git clone https://github.com/hifede1/n8n-mcp-server.git
cd n8n-mcp-server
npm install
npm run build{
"mcpServers": {
"n8n-manager": {
"command": "node",
"args": ["/ruta/absoluta/a/n8n-mcp-server/build/index.js"]
}
}
}Estructura
src/
├── index.ts # servidor y definición de tools
├── tools/
│ ├── install.ts # gestión de proceso (install/start/stop/status)
│ └── api.ts # tools contra la API REST de n8n
└── utils/
└── n8nClient.ts # cliente HTTP hacia localhost:5678Desarrollo
npm run dev # tsc --watch
npm start # node build/index.jsLicencia
MIT
Available Tools
11 toolsn8n_activate_workflowB
Activa un workflow por su ID.
Inputs: id (required), api_key (required), base_url.
n8n_create_workflowC
Crea un nuevo workflow en n8n.
Inputs: api_key (required), workflow (required), base_url.
n8n_deactivate_workflowB
Desactiva un workflow por su ID.
Inputs: id (required), api_key (required), base_url.
n8n_get_executionA
Obtiene el detalle de una ejecución por su ID.
Inputs: id (required), api_key (required), base_url.
n8n_get_workflowB
Obtiene el detalle de un workflow por su ID.
Inputs: id (required), api_key (required), base_url.
n8n_installA
Instala n8n globalmente en la máquina usando npm install -g n8n.
Inputs: no named parameters.
n8n_list_executionsC
Lista las ejecuciones recientes de n8n.
Inputs: api_key (required), limit, base_url, workflow_id.
n8n_list_workflowsB
Lista todos los workflows de n8n.
Inputs: api_key (required), base_url.
n8n_startA
Inicia n8n en background. Espera hasta que responda en http://localhost:5678.
Inputs: no named parameters.
n8n_statusA
Verifica si n8n está corriendo y accesible en http://localhost:5678.
Inputs: no named parameters.
n8n_stopA
Detiene el proceso de n8n iniciado por n8n_start.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 11 tools
Each tool has a clearly distinct purpose: lifecycle commands for the n8n installation (install/start/stop/status), workflow operations (list/get/create/activate/deactivate), and execution queries (list/get). No two tools overlap.
All tools follow the n8n_ prefix with a clear action-resource pattern (e.g., n8n_list_workflows, n8n_get_execution). The only minor deviation is n8n_status, which is a noun rather than verb+noun, but it still fits the overall scheme.
Eleven tools provide a well-scoped set covering server lifecycle, workflow management, and execution inspection without redundancy. This is within the ideal range.
The set lacks update and delete operations for workflows, which are part of typical workflow lifecycle management. While creation, activation, and deactivation are covered, users cannot modify or remove existing workflows, leaving a notable gap.
Maintenance
Related MCP Connectors
A TypeScript MCP server for Home Assistant, enabling programmatic management of entities, automati…
Open-source Zapier/n8n alternative as an MCP server: agents build, run and debug your workflows.
An MCP server that let you interact with Cycloid.io Internal Development Portal and Platform
A simple Typescript MCP server built using the official MCP Typescript SDK and smithery/cli. This…
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 npm118MIT
- AlicenseCqualityDmaintenanceA Model Context Protocol (MCP) server for programmatically creating and managing n8n workflows.118MIT
- AlicenseAqualityDmaintenance🪄 MCP server for programmatic creation and management of n8n workflows. Enables AI assistants to build, modify, and manage workflows without direct user intervention through a comprehensive set of tools and resources for interacting with n8n's REST API.1086MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for n8n workflow automation, enabling management of workflows, executions, credentials, tags, users, and webhooks via an MCP-compatible client.MIT