# n8n MCP Server

> n8n MCP Server is an open-source MCP server. The most complete MCP server for n8n — 43 tools for workflows, data tables, and more. It runs locally on your machine and is started by your AI client.

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

## About

The most complete MCP server for n8n — 43 tools for workflows, data tables, and more.

## Install

### Claude Code (Terminal)

```sh
claude mcp add mcp-n8n --env N8N_API_KEY='<N8N_API_KEY>' -- npx -y @nextoolsolutions/mcp-n8n
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "mcp-n8n": {
      "command": "npx",
      "args": [
        "-y",
        "@nextoolsolutions/mcp-n8n"
      ],
      "env": {
        "N8N_API_KEY": "<N8N_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "mcp-n8n": {
      "command": "npx",
      "args": [
        "-y",
        "@nextoolsolutions/mcp-n8n"
      ],
      "env": {
        "N8N_API_KEY": "<N8N_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "servers": {
    "mcp-n8n": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@nextoolsolutions/mcp-n8n"
      ],
      "env": {
        "N8N_API_KEY": "<N8N_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "mcp-n8n": {
      "command": "npx",
      "args": [
        "-y",
        "@nextoolsolutions/mcp-n8n"
      ],
      "env": {
        "N8N_API_KEY": "<N8N_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "mcp-n8n": {
      "command": "npx",
      "args": [
        "-y",
        "@nextoolsolutions/mcp-n8n"
      ],
      "env": {
        "N8N_API_KEY": "<N8N_API_KEY>"
      }
    }
  }
}
```

## FAQ

### Is n8n MCP Server free?

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

### How do I add n8n MCP Server to Claude Code?

Run this command in your terminal: claude mcp add mcp-n8n --env N8N_API_KEY='<N8N_API_KEY>' -- npx -y @nextoolsolutions/mcp-n8n

## 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-server
