Update debugging.mdx

This commit is contained in:
Justin Spahr-Summers 2024-11-24 16:02:32 -06:00
commit fb8e6040fd
No known key found for this signature in database

View file

@ -129,7 +129,7 @@ When servers fail to connect:
### Server-side logging ### Server-side logging
When building a server that uses the local stdio [transport](/docs/concepts/transports), all messages logged to stderr (standard error) will be captured by the client (e.g., Claude Desktop) automatically. When building a server that uses the local stdio [transport](/docs/concepts/transports), all messages logged to stderr (standard error) will be captured by the host application (e.g., Claude Desktop) automatically.
<Warning> <Warning>
Local MCP servers should not log messages to stdout (standard out), as this will interfere with protocol operation. Local MCP servers should not log messages to stdout (standard out), as this will interfere with protocol operation.