Connecting Cursor to https://mcp.scrapegraphai.com/mcp and signing in with OAuth fails.
Cursor expects the server to identify itself as https://mcp.scrapegraphai.com/mcp, but the server reports https://sgai-mcp-main.onrender.com/mcp instead. Because those don't match, the connection never completes:
Protected resource https://sgai-mcp-main.onrender.com/mcp does not match expected https://mcp.scrapegraphai.com/mcp (or origin)
This is easy to see with:
curl https://mcp.scrapegraphai.com/.well-known/oauth-protected-resource
That returns "resource": "https://sgai-mcp-main.onrender.com/mcp".
mcp.scrapegraphai.com already points at the Render app, so this looks like the public URL env var (MCP_PUBLIC_URL) is set to the Render hostname instead of the custom domain. Setting it to https://mcp.scrapegraphai.com should fix Cursor login.
Until then, passing an API key in headers still works and skips OAuth.
Connecting Cursor to
https://mcp.scrapegraphai.com/mcpand signing in with OAuth fails.Cursor expects the server to identify itself as
https://mcp.scrapegraphai.com/mcp, but the server reportshttps://sgai-mcp-main.onrender.com/mcpinstead. Because those don't match, the connection never completes:This is easy to see with:
That returns
"resource": "https://sgai-mcp-main.onrender.com/mcp".mcp.scrapegraphai.comalready points at the Render app, so this looks like the public URL env var (MCP_PUBLIC_URL) is set to the Render hostname instead of the custom domain. Setting it tohttps://mcp.scrapegraphai.comshould fix Cursor login.Until then, passing an API key in headers still works and skips OAuth.