Troubleshootingturno doctor
Synced configs have gateway entries from an earlier turno
What turno doctor means by "mcpd: <literal> synced config<s> still ha<s|ve> gateway entries from an earli...", and the fix.
This page is for when turno doctor reports the finding below: what it means and how to fix it.
What you see
! mcpd: <literal> synced config<s> still ha<s|ve> gateway entries from an earlier turno; turno mcp sync rewrites them to ask turno mcp headers for the token (<literal>)
fix: turno mcp sync (turno doctor --fix runs it)It is a warning; warnings do not change the exit code. Words in angle brackets stand for values from your machine.
Why it happens
Configs synced by an earlier turno carry the profile's gateway token in the file (Claude Code), read it from the environment (Codex), or name a helper command that is not the one turno writes now. Codex launchers keep exporting the token, after the same check, while the old entry is there, but turno mcp sync is the fix: it rewrites the entries to ask turno mcp headers for the token, which hands it over only after it checks that the process on the gateway port is your mcpd.
Fix
Run:
turno mcp syncturno doctor --fix runs this repair for you, together with every other one it can.
Then run turno doctor again to see the row turn into ok.
The check lives in packages/turno/src/mcpd/health.ts.