I am hosting n8n locally, on windows. Installed mcp community node. My MCP server trigger runs fine on: http://localhost:5678/mcp-test/test/sse. The server is working fine, browser gives a response, as well as when testing it is listening, but the mcp tool itself says failed to connect.
You could setup domain name, and https, which might solve this.
So to confirm also, your running n8n in dockers? on windows?
Where is your mcp trigger running inside n8n workflow?
Am trying to workout, as you mentioned in browser localhost works, so if n8n is in dockers that might be ure issue wrong hostname.
But id recommend to get a domain on it, your need it for certain apps because of callback URL etc.
Thanks I managed to fix and read a lot on it online. It was the address I had to change localhost to 127.0.0.1 and only the production sse address works, the test one is not on n8n. But it worked eventually.