N8n MCP Server

A Model-Controller-Provider (MCP) server implementation for n8n workflow automation

Local serverstdioTypeScript

What is the N8n MCP server?

If you already use N8n, the n8n mcp server is the piece that lets your assistant work with it directly. A Model-Controller-Provider (MCP) server implementation for n8n workflow automation.

What the server does

A Model-Controller-Provider (MCP) server implementation for n8n workflow automation. This server provides a standardized interface for executing and managing n8n workflows through a JSON-RPC protocol.

  • JSON-RPC 2.0 compliant API
  • Workflow execution and management
  • Environment-based configuration
  • TypeScript support
  • Comprehensive logging
  • Docker support

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • initialize — Initialize the server connection
  • shutdown — Gracefully shutdown the server
  • listTools — List available workflow tools
  • callTool — Execute a specific workflow tool
  • Linting — The Linting tool exposed by this server

Credentials and setup notes

Configuration is passed through the environment: N8N_API_KEY. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

  • Node.js >= 14.0.0 - n8n instance running and accessible - n8n API key

Installation

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client.

Where it fits

Among the cloud and infrastructure options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. N8n's toolset — initialize, shutdown, listTools and 2 more — is a fair guide to whether it matches your workflow. It is maintained by S17S17; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
initializeInitialize the server connection
shutdownGracefully shutdown the server
listToolsList available workflow tools
callToolExecute a specific workflow tool
LintingThe Linting tool exposed by this server.

Configuration

  • Node.js >= 14.0.0 - n8n instance running and accessible - n8n API key
VariableDescriptionRequired
N8N_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • Use N8n to initialize.
  • Use N8n to shutdown.
  • Use N8n to listTools.

Frequently asked questions

Node.js >= 14.0.0, a running n8n instance, and an n8n API key.