n8n MCP Server

n8n MCP Server is an MCP server that connects AI assistants to an n8n automation instance using natural language. It is designed for developers, DevOps engineers, and workflow automation teams who want to orchestrate tasks without leaving their AI chat interface. By communicating with the n8n REST API and webhook endpoints, the server enables language models to inspect existing workflows, retrieve execution logs, create or edit automated sequences, and activate or deactivate triggers on demand. Users can trigger executions programmatically through standard API calls or basic-auth webhooks and pass structured payload data directly into automated steps. In addition to active tooling, the server exposes read-only resource endpoints for listing workflows and monitoring execution states. This setup allows AI agents running in MCP-compatible clients to diagnose pipeline failures, inspect run histories, stop ongoing workflow executions, and manage entire integration graphs remotely without manual dashboard navigation.

Category: CRM, ERP & E-commerce

Tags: automation, integration, n8n, orchestration, workflows

Visit n8n MCP Server

How to install and configure n8n MCP Server

  1. Ensure Node.js 20 or later is installed. 2. Install the server globally via npm: bash npm install -g @leonardsellem/n8n-mcp-server Alternatively, clone https://github.com/leonardsellem/n8n-mcp-server, run npm install, and run npm run build. 3. Generate an API key in your n8n web interface under Settings > API > API Keys. 4. Add the server configuration to your Claude Desktop configuration file (claude_desktop_config.json) or VS Code settings.json: json { "mcpServers": { "n8n-local": { "command": "n8n-mcp-server", "env": { "N8N_API_URL": "http://localhost:5678/api/v1", "N8N_API_KEY": "your_n8n_api_key", "N8N_WEBHOOK_USERNAME": "username", "N8N_WEBHOOK_PASSWORD": "password" } } } } 5. Restart your MCP client to initialize the server tools.

What you can do with n8n MCP Server

  • Triggering n8n webhooks with dynamic JSON payloads directly from conversational prompts in Claude Desktop or Cursor. * Inspecting past execution failures and error logs to debug broken automated business processes in real time. * Activating or deactivating existing n8n workflows based on automated deployment checks or team schedules. * Creating and updating n8n workflow nodes and parameters through natural language instructions without visiting the browser interface. * Stopping stuck or long-running workflow executions remotely using execution management tools during operational incidents.

Key facts

  • Open Source
  • https://github.com/leonardsellem/n8n-mcp-server
  • CRM, ERP & E-commerce, DevOps, CI/CD & Version Control
  • automation, integration, n8n, orchestration, workflows

Part of MCP Servers

Related MCP servers

  • MCP Kubernetes Server — MCP Kubernetes Server is an MCP server that provides tools for managing and inspecting Kubernetes clusters directly through Large Language…
  • MCP Microsoft Office Bridge — MCP Microsoft Office Bridge is an MCP server that connects AI assistants like Claude to Microsoft 365 services through the…
  • MCP NIF.PT — MCP NIF.PT is an MCP server that connects LLM clients to the Portuguese NIF.PT public API to retrieve and analyze…
  • MCP Nomad Go — MCP Nomad Go is an MCP server that connects AI assistants to HashiCorp Nomad clusters. Written in Go, it allows…
  • MCP Open Library — MCP Open Library is an MCP server that connects AI assistants to the Open Library catalogue API to retrieve book,…
  • MCP PR Messages Generator — MCP PR Messages Generator is an MCP server that generates structured pull request descriptions and summary messages directly from Git…

What can n8n MCP Server do?

n8n MCP Server allows AI clients to manage and trigger n8n automation instances. It provides tools to list, create, update, delete, activate, and deactivate workflows. It also supports running workflows via direct API calls or webhooks, checking run logs, and stopping active executions.

How do I install n8n MCP Server?

You can install it globally via npm using npm install -g @leonardsellem/n8n-mcp-server, or clone the repository and build it with npm run build. It can also be deployed using Docker with the leonardsellem/n8n-mcp-server container image.

Which MCP clients work with n8n MCP Server?

It works with any MCP-compliant client that supports local command execution and environment variables, including Claude Desktop, Cursor, and VS Code with compatible model context protocol extensions.

What credentials are required to run n8n MCP Server?

You need the base URL of your n8n instance ending in /api/v1 and an API key generated from the n8n Settings menu. If you plan to trigger webhooks protected by basic authentication, you also need to supply a webhook username and password.

Is n8n MCP Server open source?

Yes, n8n MCP Server is open source and hosted on GitHub under the repository leonardsellem/n8n-mcp-server, where community contributions and bug reports are accepted.

  • AI Tools
  • Categories
  • Industries
  • CLI Coding Agents
  • MCP Servers
  • MCP Categories