# config.toml is invalid, and mcpd uses defaults (/docs/troubleshooting/config-toml-invalid)

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 [#what-you-see]

```text
  !  mcpd: config.toml is invalid, mcpd uses defaults: <error>
     fix: turno config edit
```

It is a warning; warnings do not change the exit code. Words in angle brackets stand for values from your machine.

## Why it happens [#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 [#fix]

Run:

```sh
turno config edit
```

`turno 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`](https://github.com/wimo-dev/turno/blob/main/packages/turno/src/mcpd/health.ts).