Troubleshootingturno doctor
The process on the port is not the mcpd that answers
What turno doctor means by "mcpd: port <port> is held by pid <pid>, but mcpd reports pid <pid>", 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: port <port> is held by pid <pid>, but mcpd reports pid <pid>
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
The process that holds mcpd's port and the process mcpd reports are different.
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.