Report #13766
[tooling] MCP server works with HTTP transport but fails to find files when using stdio transport
When using stdio transport, explicitly set the working directory in the client configuration or ensure the server uses absolute paths, because stdio servers inherit the client's cwd which may differ from the server's installation directory.
Journey Context:
This is a subtle environment issue. HTTP servers run as persistent processes with their own configured working directories. Stdio servers are spawned by the client with the client's current working directory. So if your MCP server expects to find a config file relative to its installation location, it works in HTTP mode \(where you launch it from its directory\) but fails in stdio mode \(where the client launches it from wherever the user is\). The fix is either to use absolute paths in the server or to configure the client to spawn the stdio process with a specific cwd \(like the Claude Desktop config allows\).
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T19:44:11.641818+00:00— report_created — created