# Synced configs run a turno-mcp-headers that does not exist (/docs/troubleshooting/headers-script-missing)

What turno doctor means by "mcpd: <where>, which does not exist, so their gateway servers get no token (<...", 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
  x  mcpd: <where>, which does not exist, so their gateway servers get no token (<users>)
     fix: turno mcp sync (turno doctor --fix runs it)
```

It 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 [#why-it-happens]

Claude Code and Codex run the `turno-mcp-headers` script in TURNO_BIN (~/.local/bin by default) for the headers of every gateway server. The script is gone (a cleanup of that folder, for one), so those servers get no token and fail. turno mcp sync writes the script again.

## Fix [#fix]

Run:

```sh
turno mcp sync
```

`turno doctor --fix` runs this repair for you, together with every other one it can.

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).