It is strange, because I do have version: v22.15.0
2025-06-05T13:58:19.962Z [info] [n8n] Initializing server... 2025-06-05T13:58:20.009Z [info] [n8n] Server started and connected successfully 2025-06-05T13:58:20.200Z [info] [n8n] Message from client: {"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"claude-ai","version":"0.1.0"}},"jsonrpc":"2.0","id":0} 2025-06-05T13:58:21.809Z [info] [n8n] Message from server: {"jsonrpc":"2.0","id":0,"error":{"code":-32000,"message":"fetch is not defined"}} 2025-06-05T13:58:21.810Z [info] [n8n] Client transport closed 2025-06-05T13:58:21.811Z [info] [n8n] Server transport closed 2025-06-05T13:58:21.811Z [info] [n8n] Client transport closed 2025-06-05T13:58:21.811Z [info] [n8n] 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-06-05T13:58:21.811Z [error] [n8n] Server disconnected. For troubleshooting guidance, please visit our [debugging documentation](https://modelcontextprotocol.io/docs/tools/debugging) 2025-06-05T13:58:21.830Z [info] [n8n] Server transport closed 2025-06-05T13:58:21.830Z [info] [n8n] Client transport closed
and
supergateway] Request error: ReferenceError: fetch is not defined
at fetch (file:///Users/.../.npm/_npx/85d60ba1adc82a16/node_modules/supergateway/dist/gateways/sseToStdio.js:39:17)
at EventTarget.connect_fn (file:///Users/.../.npm/_npx/85d60ba1adc82a16/node_modules/eventsource/dist/index.js:204:135)
at new EventSource (file:///Users/.../.npm/_npx/85d60ba1adc82a16/node_modules/eventsource/dist/index.js:125:435)
at file:///Users/.../.npm/_npx/85d60ba1adc82a16/node_modules/@modelcontextprotocol/sdk/dist/esm/client/sse.js:53:33
at new Promise (<anonymous>)
at SSEClientTransport._startOrAuth (file:///Users/.../.npm/_npx/85d60ba1adc82a16/node_modules/@modelcontextprotocol/sdk/dist/esm/client/sse.js:51:16)
at SSEClientTransport.start (file:///Users/.../.npm/_npx/85d60ba1adc82a16/node_modules/@modelcontextprotocol/sdk/dist/esm/client/sse.js:112:27)
at Client.connect (file:///Users/.../.npm/_npx/85d60ba1adc82a16/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js:88:31)
at Client.connect (file:///Users/.../.npm/_npx/85d60ba1adc82a16/node_modules/@modelcontextprotocol/sdk/dist/esm/client/index.js:56:21)
at StdioServerTransport.stdioServer.transport.onmessage (file:///Users/.../.npm/_npx/85d60ba1adc82a16/node_modules/supergateway/dist/gateways/sseToStdio.js:83:41)
2025-06-02T11:58:21.675Z [n8n] [info] Message from server: {"jsonrpc":"2.0","id":0,"error":{"code":-32000,"message":"fetch is not defined"}}
2025-06-02T11:58:21.676Z [n8n] [info] Client transport closed
[supergateway] Caught SIGTERM. Exiting...
2025-06-02T11:58:21.676Z [n8n] [info] Server transport closed
2025-06-02T11:58:21.676Z [n8n] [info] Client transport closed
2025-06-02T11:58:21.676Z [n8n] [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-06-02T11:58:21.677Z [n8n] [error] Server disconnected. For troubleshooting guidance, please visit our [debugging documentation](https://modelcontextprotocol.io/docs/tools/debugging) {"context":"connection"}
2025-06-02T11:58:21.683Z [n8n] [info] Server transport closed
2025-06-02T11:58:21.683Z [n8n] [info] Client transport closed
2025-06-05T13:58:19.961Z [n8n] [info] Initializing server...
2025-06-05T13:58:20.008Z [n8n] [info] Server started and connected successfully
2025-06-05T13:58:20.200Z [n8n] [info] Message from client: {"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"claude-ai","version":"0.1.0"}},"jsonrpc":"2.0","id":0}
[supergateway] Starting...
[supergateway] Supergateway is supported by Supermachine (hosted MCPs) - https://supermachine.ai
[supergateway] - outputTransport: stdio
[supergateway] - sse: https://...dia.app.n8n.cloud/mcp/google-contacts/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] Request error: ReferenceError: fetch is not defined
at fetch (file:///Users/.../.npm/_npx/85d60ba1adc82a16/node_modules/supergateway/dist/gateways/sseToStdio.js:39:17)
at EventTarget.connect_fn (file:///Users/.../.npm/_npx/85d60ba1adc82a16/node_modules/eventsource/dist/index.js:204:135)
at new EventSource (file:///Users/.../.npm/_npx/85d60ba1adc82a16/node_modules/eventsource/dist/index.js:125:435)
at file:///Users/martijn/.npm/_npx/85d60ba1adc82a16/node_modules/@modelcontextprotocol/sdk/dist/esm/client/sse.js:53:33
at new Promise (<anonymous>)
at SSEClientTransport._startOrAuth (file:///Users/.../.npm/_npx/85d60ba1adc82a16/node_modules/@modelcontextprotocol/sdk/dist/esm/client/sse.js:51:16)
at SSEClientTransport.start (file:///Users/.../.npm/_npx/85d60ba1adc82a16/node_modules/@modelcontextprotocol/sdk/dist/esm/client/sse.js:112:27)
at Client.connect (file:///Users/.../.npm/_npx/85d60ba1adc82a16/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js:88:31)
at Client.connect (file:///Users/.../.npm/_npx/85d60ba1adc82a16/node_modules/@modelcontextprotocol/sdk/dist/esm/client/index.js:56:21)
at StdioServerTransport.stdioServer.transport.onmessage (file:///Users/.../.npm/_npx/85d60ba1adc82a16/node_modules/supergateway/dist/gateways/sseToStdio.js:83:41)
2025-06-05T13:58:21.809Z [n8n] [info] Message from server: {"jsonrpc":"2.0","id":0,"error":{"code":-32000,"message":"fetch is not defined"}}
2025-06-05T13:58:21.810Z [n8n] [info] Client transport closed
[supergateway] Caught SIGTERM. Exiting...
2025-06-05T13:58:21.811Z [n8n] [info] Server transport closed
2025-06-05T13:58:21.811Z [n8n] [info] Client transport closed
2025-06-05T13:58:21.811Z [n8n] [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-06-05T13:58:21.811Z [n8n] [error] Server disconnected. For troubleshooting guidance, please visit our [debugging documentation](https://modelcontextprotocol.io/docs/tools/debugging) {"context":"connection"}
2025-06-05T13:58:21.830Z [n8n] [info] Server transport closed
2025-06-05T13:58:21.830Z [n8n] [info] Client transport closed