Nsight-copilot cuda-docs MCP endpoint returns HTTP 500 on every query (internal RAG URL leaked in error)

The hosted CUDA-docs MCP endpoint connects and authenticates fine, but every single tool call fails with an HTTP 500 originating from an internal service.

Endpoint

https://api.copilot.nsight.ngc.nvidia.com/mcp/cuda-docs

Registered with Claude Code:
claude mcp add --scope user --transport http nvidia-cuda-docs

https://api.copilot.nsight.ngc.nvidia.com/mcp/cuda-docs

What works

  • OAuth completes: “Authentication successful. Connected to nvidia-cuda-docs”
  • claude mcp list → nvidia-cuda-docs: … (HTTP) - ✔ Connected
  • GET https://api.copilot.nsight.ngc.nvidia.com/ → 404 (expected)
  • GET …/mcp/cuda-docs → 405 Method Not Allowed (expected for a POST-only MCP endpoint)
  • DNS + TLS + connect in ~0.7 s

What fails

Every search_cuda_docs call:

Error calling tool ‘search_cuda_docs’: HTTP error occurred:
Server error ‘500 Internal Server Error’ for url
‘http://cudarag.bodhi-tree.svc.cluster.local:8000/retrieve?skip_tool_call_planning=true’

I tried six queries over ~15 minutes, from two-word keyword searches (shared memory bank conflicts, CUDA programming guide memory coalescing) up to the long descriptive form the tool description recommends. All returned the identical 500. A retrieval service that fails the same way on a two-word query points at the backend being unhealthy rather than anything query-specific.

Since the transport layer, auth and routing are all healthy, this looks like the Bodhi Tree RAG service behind the gateway being down or misconfigured.

Secondary issue: the error body exposes an internal Kubernetes service URL (cudarag.bodhi-tree.svc.cluster.local:8000) to clients. Probably worth masking that in the gateway’s error handling regardless of the root cause.

Environment: Claude Code, HTTP transport, user scope. Linux x86_64.

Thanks for the detailed report — your read of the stack was right: auth and MCP transport were fine; the retrieval backend behind the gateway was failing for every search_cuda_docs call.

That’s fixed. Please retry search_cuda_docs from Claude Code.

We’ll also stop exposing internal service URLs in client error messages. Sorry for the disruption.

Works now. Thank you!