Your URL
Replacehttps://api.postqueen.ai with whatever NEXT_PUBLIC_BACKEND_URL is set to, then append
the MCP path:
/api, so the MCP path lands at /api/mcp.
If your NEXT_PUBLIC_BACKEND_URL is a separate hostname, use that instead and the path is just
/mcp.
Both endpoint forms work exactly as they do on the hosted service:
The proxy setting that matters
Her MCP transport is streamable HTTP: the connection stays open and the response arrives in chunks. A proxy that buffers the whole response, or that talks HTTP/1.0 upstream and so cannot receive a chunked one, breaks this while leaving every other page working perfectly. The symptom is unhelpful. The client connects, reports no error, and lists no tools.- Nginx
- Caddy
- Traefik
Add these inside the The Secure config on the Nginx page already carries
location / block, or in a dedicated location for the MCP paths:proxy_http_version 1.1;. It still needs
proxy_buffering off; adding.Check it from outside
From your own machine, not the server:Responses on these routes are plain text rather than JSON, so some clients show them as a bare
“server error” with the real message only in a log. Read the raw response before changing config.
One thing that is not a check
Both endpoint forms answerOPTIONS with a 200 and permissive CORS headers before any key is
checked. A browser-based client that reports a successful connection has therefore proved
nothing. The first real call is the one that tells you.
Next steps
Connect your client
Now that the URL works, point your client at it
Limits and troubleshooting
What the tools cannot reach, and the rest of the failure modes
Domain and HTTPS
Setting up the reverse proxy in the first place
Configuration reference
MCP_URL and the other endpoints she advertises