Skip to main content
Glama
n8n-mcp-server

n8n-mcp-server

by hifede1

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

n8n_install

Instala n8n globalmente (npm install -g n8n)

n8n_start

Arranca n8n en background y espera a que responda en http://localhost:5678

n8n_stop

Detiene el proceso arrancado por n8n_start

n8n_status

Estado del proceso n8n

API de n8n

Tool

Qué hace

n8n_list_workflows

Lista los workflows

n8n_get_workflow

Lee un workflow por id

n8n_create_workflow

Crea un workflow

n8n_activate_workflow / n8n_deactivate_workflow

Activa / desactiva un workflow

n8n_list_executions

Lista ejecuciones

n8n_get_execution

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:5678

Desarrollo

npm run dev    # tsc --watch
npm start      # node build/index.js

Licencia

MIT

Available Tools

11 tools
n8n_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

    A3.6/5.0

    Scored across 11 tools

    Disambiguation5/5

    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.

    Naming Consistency4/5

    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.

    Tool Count5/5

    Eleven tools provide a well-scoped set covering server lifecycle, workflow management, and execution inspection without redundancy. This is within the ideal range.

    Completeness3/5

    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

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      An MCP server enabling secure interaction with n8n workflows, executions, and settings via the Model Context Protocol, designed for integration with Large Language Models (LLMs).
      33
      48 npm
      118
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      🪄 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.
      10
      86
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      MCP server for n8n workflow automation, enabling management of workflows, executions, credentials, tags, users, and webhooks via an MCP-compatible client.
      MIT