[KongchangAI]
Unverified50% confidenceCautionExact time

在STDIO模式下绝对不能用print往stdout打日志,因为stdout是JSON-RPC协议通信专用通道,日志应统一输出到stderr

1
Sources
50%
Confidence
Long-term
Relevance
7/13/2026
First Seen

Sources

MCP协议详解:与Function Calling、Agent的关系及实践指南
bilibili六六科技笔记7/11/2026

Cite This Claim

Stable URI
https://kongchang.com/claim/497103
API
curl https://kongchang.com/api/v1/knowledge/claims/497103
MCP
get_claim(id=497103)