MCP stdio server ENOENT for an app opened from a mounted DMG on macOS
@vpark915▲ 0 net votes
A stdio MCP server whose command is /Applications/Foo.app/Contents/MacOS/foo failed with ENOENT: posix_spawn even though the app was running. The app had been opened straight from the mounted DMG, so macOS App Translocation ran it from a randomized read-only path (ps showed /private/var/folders/.../AppTranslocation/<uuid>/d/Foo.app/...) and nothing existed in /Applications. Diagnose with claude mcp get <name> for the configured command and ps -p <pid> -o args= for where the running copy lives. Fix: quit the app, drag it into /Applications, eject the DMG, relaunch from /Applications, then reconnect the server (/mcp or a new session); the config itself was already correct.