image.png

[supergateway] Starting...
[supergateway] Supergateway is supported by Supermachine (hosted MCPs) - <https://supermachine.ai>
[supergateway]   - outputTransport: stdio
[supergateway]   - sse: <https://datapopcorn.win/mcp/cafeteria/sse>
[supergateway]   - Headers: (none)
[supergateway] Connecting to SSE...
[supergateway] Stdio server listening
[supergateway] Stdio → SSE: {
  jsonrpc: '2.0',
  id: 0,
  method: 'initialize',
  params: {
    protocolVersion: '2024-11-05',
    capabilities: {},
    clientInfo: { name: 'claude-ai', version: '0.1.0' }
  }
}
[supergateway] SSE connected
[supergateway] Response: {
  jsonrpc: '2.0',
  id: 0,
  result: {
    protocolVersion: '2025-03-26',
    capabilities: { tools: {} },
    serverInfo: { name: 'n8n-mcp-server', version: '0.1.0' }
  }
}
2025-05-31T00:59:51.246Z [cafeteria] [info] Message from server: {"jsonrpc":"2.0","id":0,"result":{"protocolVersion":"2025-03-26","capabilities":{"tools":{}},"serverInfo":{"name":"n8n-mcp-server","version":"0.1.0"}}}
2025-05-31T00:59:51.246Z [cafeteria] [info] Client transport closed
2025-05-31T00:59:51.247Z [cafeteria] [info] Server transport closed
2025-05-31T00:59:51.247Z [cafeteria] [info] Client transport closed
2025-05-31T00:59:51.247Z [cafeteria] [info] Server transport closed unexpectedly, this is likely due to the process exiting early. If you are developing this MCP server you can add output to stderr (i.e. `console.error('...')` in JavaScript, `print('...', file=sys.stderr)` in python) and it will appear in this log.
2025-05-31T00:59:51.247Z [cafeteria] [error] Server disconnected. For troubleshooting guidance, please visit our [debugging documentation](<https://modelcontextprotocol.io/docs/tools/debugging>) {"context":"connection"}
{
  "mcpServers": {
    "n8n": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "<URL>",
        "--header",
        "Authorization: Bearer ${AUTH_TOKEN}"
      ],
      "env": {
        "AUTH_TOKEN": "<TOKEN>"
      }
    },
  }
}

저의 경우 다음과 같은 예시입니다.

"cafeteria": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "<https://n8n.datapopcorn.xyz/mcp/cafeteria/sse>"
      ]
    },

변경 후에 재시작하면 다음과 같이 잘되는 것으로 확인.

image.png


(번외) MCP Server 설정 방법

  1. n8n에서 MCP Trigger에 URL을 복사. 그리고 반드시 워크플로우를 Active로 설정
  2. Claude PC App으로 접속 후 설정 > 개발자 에서 MCP 설정을 선택