Skip to Content

Troubleshootingturno doctor

Synced configs run a turno-mcp-headers that turno did not write

What turno doctor means by "mcpd: <where>, which turno did not write, so turno does not choose the header...", and the fix.

View source

This page is for when turno doctor reports the finding below: what it means and how to fix it.

What you see

  x  mcpd: <where>, which turno did not write, so turno does not choose the headers their gateway servers get (<users>)
     manual: move <shim> away, then run: turno mcp sync

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

Claude Code and Codex run the turno-mcp-headers script in TURNO_BIN for the headers of every gateway server, and send whatever it prints. The file there now was not written by turno, so turno no longer decides what those servers get. turno mcp sync leaves a file it did not write alone and stops before it changes any config.

Fix

Move <shim> away, then run: turno mcp sync.

No single command fixes this one, so doctor names the manual step.

Then run turno doctor again to see the row turn into ok.

The check lives in packages/turno/src/mcpd/health.ts.

On this page