I hope someone can help me figure out my problem with the MCP server. I have a very simple MCP server on n8n cloud, the MCP server is working with all other tools, I can connect from Cursor, or from the mcp inspector, but every time I try to connect from Cloud Desktop, the connection breaks. I’ve tried a hundred things already, but I could not figure out what the problem is. I really hope someone can help me fix this.
Thank you so much
here the logs:
2025-05-21T16:21:49.213Z [n8n_net] [info] Initializing server…
2025-05-21T16:21:49.240Z [n8n_net] [info] Server started and connected successfully
2025-05-21T16:21:49.243Z [n8n_net] [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://lionstep-ag.app.n8n.cloud/mcp/89752b04-5908-4a4f-b2e5-98ea0cf68e31/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-21T16:21:50.326Z [n8n_net] [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-21T16:21:50.327Z [n8n_net] [info] Client transport closed
[supergateway] Caught SIGTERM. Exiting…
2025-05-21T16:21:50.327Z [n8n_net] [info] Server transport closed
2025-05-21T16:21:50.327Z [n8n_net] [info] Client transport closed
2025-05-21T16:21:50.327Z [n8n_net] [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-21T16:21:50.328Z [n8n_net] [error] Server disconnected. For troubleshooting guidance, please visit our debugging documentation {“context”:“connection”}
2025-05-21T16:21:50.340Z [n8n_net] [info] Server transport closed
2025-05-21T16:21:50.340Z [n8n_net] [info] Client transport closed
I have exactly the same issue (though self hosting n8n on Hetzner VPS). On a side note I don’t understand how the MCP test is supposed to be achieved (using the test URL provided in the node configuration)
I have the same issue, I used chrome dev tool to try to deep dive into the issue. It seems to be a protocol version incompatibility between the MCP client (Claude) and the MCP server ( n8n) , but i don’t lnow how to solve it
I have found a solution for the problem if you are on a self-hosted plan. There was a change in protocol at version 1.93.0 and after that, it looks like the problem appeared.
Due to my research, there are two cases where this can fail:
One is having the communication to the server gzipped. I saw a lot of people having this issue, and with just changing how the traffic flows could resolve it.
The other is my case where newer versions just kill the functionality. In that case, just go back to a version before 1.93.0 and you should be good. Hopefully, n8n will soon patch this.
We cannot downgrade the n8n hosted cloud to version 1.92; downgrading is not a solution for n8n cloud hosting paying customers.
By the way, it works fine in VS Code and Windsurf, so I am unsure where it breaks with Claude Desktop, but Claude is receiving capabilities: { tools: {} }, which is incorrect …
Same problem here. I see in the claude desktop log file that client uses protocol version 2024-11-05 but server now 2025-03-26. Beforehand both used 2024-11-05.
N8N version is 1.93.0.
What can I do?