Skip to content

Issues Setting Up n8n-MCP with Claude Desktop (Full Error Breakdown and Observations) #382

@ken4ward

Description

@ken4ward

I’ve been trying to set up n8n-MCP with Claude Desktop, but the integration process has been far from smooth. I’m documenting everything here so others who have faced similar problems can reference or contribute fixes.

Setup Environment

  • macOS (arm64)
  • Claude Desktop v0.14.10
  • Node v22.19.0
  • n8n-mcp installed globally via npm

Primary Objective
Connect n8n-MCP as an MCP server so Claude can trigger or read n8n workflows locally via HTTP or an ngrok tunnel.

Claude log messages showing partial connection

I followed the simple installation procedure, but to my surprise, it did not yield the desired result: it did not connect to Claude Dektop. This is the setup used in Claude config

{
  "mcpServers": {
    "n8n-mcp": {
      "command": "npx",
      "args": ["n8n-mcp"],
      "env": {
        "MCP_MODE": "stdio",
        "LOG_LEVEL": "error",
        "DISABLE_CONSOLE_OUTPUT": "true",
        "N8N_API_URL": "https://n8n-installation-domain.n8n",
        "N8N_API_KEY": "n8nAPIKey"
      }
    }
  }
}

An expert should kindly help look into this. God bless.

This is the error it returned


Could not attch to MCP server: n8n-mcp
MCP n8n-mcp: Server disconnected. For troubleshooting guidance, please visit our


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions