Troubleshootingturno doctor
config.toml is invalid, and mcpd uses defaults
What turno doctor means by "mcpd: config.toml is invalid, mcpd uses defaults: <error>", 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: config.toml is invalid, mcpd uses defaults: <error>
fix: turno config editIt is a warning; warnings do not change the exit code. Words in angle brackets stand for values from your machine.
Why it happens
mcpd reads its port, limits and folder server sets from config.toml. The file does not parse, so mcpd runs with defaults.
Fix
Run:
turno config editturno 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.