Error: “Could not connect to your MCP server” when testing Google Sheets and Google Calendar setup in n8n

Hi everyone,
I’m working on an n8n workflow using two MCP servers — one for Google Sheets and another for Google Calendar. When I test the setup, I keep getting the error **“Could not connect to your MCP server.”
**

I’m not sure what’s causing it. Could anyone help me understand and fix this issue? Thanks in advance!

It’s a very simple issue. You are using test-urls for your MCP servers but the test urls will only work if you click the execute workflow from that trigger. Since you are executing the workflow with your webhook test-url then the MCP servers are not active.
The best way to go about it is to use the production url of these mcp servers in the clients and then run this exact same workflow. But if you wanna use the test url for now, then just create these mcp servers in different workflows and start listening for trigger on those workflows as well. This way, everything will work for you using ur test urls but I’d suggest using the production urls for the MCP servers while still keeping the webhook on test.

Hope this helps. Let me know if there is still an issue.