Troubleshootingturno doctor
The gateway on the port cannot prove it is yours
What turno doctor means by "mcpd: the mcpd on port <port> (<describe owner>) cannot prove it holds your g...", 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: the mcpd on port <port> (<describe owner>) cannot prove it holds your gateway token: it is older than this turno or started before the token changed, so turno sends it nothing
fix: turno mcp daemon restartIt is a warning; warnings do not change the exit code. Words in angle brackets stand for values from your machine.
Why it happens
Before turno sends mcpd a token, mcpd must answer a challenge that only the holder of your gateway token can answer. The mcpd on the port runs as you but does not: it is older than the turno you run, or it started before the token changed. Restarting it fixes both.
Fix
Run:
turno mcp daemon restartturno doctor --fix does not run it for you, because it needs a decision or an answer from you.
Then run turno doctor again to see the row turn into ok.
The check lives in packages/turno/src/mcpd/health.ts.