# N8n MCP

> N8n MCP is an open-source MCP server. MCP server for n8n: generate, lint, explain failed executions, drive live n8n via REST. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/ratamaha-git/n8n-mcp
- **MCP Registry name:** io.github.ratamaha-git/n8n-mcp
- **Listing updated:** 2026-11-13

## About

MCP server for n8n: generate, lint, explain failed executions, drive live n8n via REST.

## Install

### Claude Code (Terminal)

```sh
claude mcp add n8n-mcp -- npx -y @automatelab/n8n-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "n8n-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@automatelab/n8n-mcp"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "n8n-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@automatelab/n8n-mcp"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "n8n-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@automatelab/n8n-mcp"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "n8n-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@automatelab/n8n-mcp"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "n8n-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@automatelab/n8n-mcp"
      ]
    }
  }
}
```

## FAQ

### Is N8n MCP free?

Yes. N8n MCP is open source, so you can use and self-host it for free.

### How do I add N8n MCP to Claude Code?

Run this command in your terminal: claude mcp add n8n-mcp -- npx -y @automatelab/n8n-mcp

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/n8n-mcp
