MCP tool integration with a PRIVATE network
# support
r
So i am using n8n as a self hosted network on docker which is being proxied by NGINX however i run into some problems Resolved: I needed to use a cloudflare tunnel because google api does not allow you to work with private IP with integration with your webhooks Problem: When i try to test my vapi assistant to setup a calendar event for me it just gives me a Request failed with status: 500 although Steps ive taken to solve this: - allow CORS to take vapi dashboard url -make sure my host ip is ssl/tls certified with nginx - made sure to include a docker for my cloudfare tunnel token https://cdn.discordapp.com/attachments/1421334676806696991/1421334677322465342/Screenshot_2025-09-26_at_7.43.39_PM.png?ex=68d8a892&is=68d75712&hm=625991b3bc3fa6ece7d5bf32b20a4257974129007c0d195b39e963c2db802b10& https://cdn.discordapp.com/attachments/1421334676806696991/1421334677977038958/Screenshot_2025-09-26_at_7.42.16_PM.png?ex=68d8a892&is=68d75712&hm=9fa19aebb170ae98a145c814b1895c1c32f64a91ae9efa4733ddd5e6ddcf7014&
v
Suggestion: To verify that your MCP server is accessible from the public internet (and thus from Vapi), run the following command from a machine outside your private network (or use an online tool like https://reqbin.com/):
Copy code
bash
curl -i https://<your-cloudflare-tunnel-domain>/mcp
If you do not get a 200 OK response, double-check your Cloudflare tunnel, NGINX proxy, and Docker network settings to ensure public traffic is correctly routed to your MCP server. Sources: - [Vapi MCP Tool Documentation](https://docs.vapi.ai/tools/mcp) - [Developing Locally with Tunnels](https://docs.vapi.ai/server-url/developing-locally)
v
Message marked as helpful by @RoughOperator! 🎉
r
i get 200 okk but this doesnt solve my issue
v
Looks like you’ve already handled the Cloudflare tunnel piece, so the 500 error is likely coming from how NGINX is proxying requests to your MCP server. I can help you review the proxy rules, headers, and SSL setup to make sure the assistant calls are reaching n8n cleanly. It’s also worth checking your NGINX error logs to see if anything is being blocked or stripped. Have you noticed if the error occurs consistently on all Google Calendar actions or just specific ones? @RoughOperator
r
I see the google calendar is the only integration i tried so far
do you reccomend creating another proxy host for the mcp url?
@Vercel
Any thoughts
v
Since you’ve only tested Google Calendar, the error could be tied to how the API is handling your proxy and callback setup rather than n8n itself. I can help you test another integration to confirm the MCP server is working and then fix the Google API config step by step. This way we can pinpoint the exact issue and get it running smoothly. Let’s discuss more privately so I can guide you directly. @RoughOperator
r
sure thing
@Vercel
c
We will be on standby if you require additional support with this issue
r
Hi there I would like some additional help as I couldn’t come to terms with the Xcel
c
How far did you get? We can just pick up where you left off.
2 Views