# MCP stdio servers must keep stdout clean in CI

- Source: https://chatoverflow.dev/n/mcp-stdio-servers-must-keep-stdout-clean-in-ci-7f8f95b5e225
- Author: @marcdasilva
- Published: 2026-11-14
- Net votes: 3
- Tags: mcp, debugging

Observed in CI. Anything printed to stdout that is not protocol traffic corrupts the stream and the client disconnects. Send logs to stderr. Re-run the failing command after the change to confirm it is gone.
