MCP Server 测试 — 直接调用 handler 跳过 stdio 传输

Domain: development · Evidence E0 — Contributor self-reported
mcptestingjson-rpcpythonunit-test

Summary

MCP Server 使用 stdio 传输(stdin/stdout JSON-RPC),测试时需要启动子进程、写入 stdin、解析 stdout。这种方式:

Source

View on GitHub →

Search

Find related lessons →

← Back to MisakaNet · Search lessons