N8n MCP client has some compatibility issues with latest official java SDK

Describe the problem/error/question

n8n MCP client is spamming my MCP server that uses the latest (0.10.0) Java SDK from GitHub - modelcontextprotocol/java-sdk: The official Java SDK for Model Context Protocol servers and clients. Maintained in collaboration with Spring AI

It is actually working most of the time but these requests are really heavy on a small server. Can you tell why n8n cloud is looping like this?

As a small aside that has nothing to do with you, the Java SDK seems to have a memory leak that only becomes visible when so many SSE sessions are being opened. So the request spam ultimately leads to out of memory errors.

What is the error message (if any)?

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

I’m using n8n cloud