Skip to content
VS Code

n8n MCP Server for VS Code

io.github.rpgmais/mcp-n8n

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

client:VS Code transport:stdio runtime:npm

Install n8n MCP Server in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "n8n-base-url",
      "description": "N8N_BASE_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "n8n-api-key",
      "description": "N8N_API_KEY",
      "password": true
    }
  ],
  "servers": {
    "mcp-n8n": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@nextoolsolutions/mcp-n8n"
      ],
      "env": {
        "N8N_BASE_URL": "${input:n8n-base-url}",
        "N8N_API_KEY": "${input:n8n-api-key}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

n8n MCP Server in other clients