Troubleshootingturno doctor
The gateway port answers with your token but belongs to another user
What turno doctor means by "mcpd: port <port> answers with your token but belongs to uid <uid>", 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
x mcpd: port <port> answers with your token but belongs to uid <uid>
fix: turno mcp token rotateIt is a failure; a failure makes turno doctor exit with code 1. Words in angle brackets stand for values from your machine.
Why it happens
Something on mcpd's port accepts your gateway token, and the process belongs to another user. Rotating the token invalidates every profile token.
Fix
Run:
turno mcp token rotateturno 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.