pub async fn run_stdio(state: AppState) -> Result<()>Expand description
Run the MCP stdio JSON-RPC 2.0 server loop.
Why: Claude Code launches MCP servers as child processes and speaks
JSON-RPC over stdin/stdout — this is the primary integration path.
What: Delegates to trusty_mcp_core::run_stdio_loop, adapting each
shared Request back into the JSON Value shape handle_message
expects, and translating the returned Value into a Response.
Notifications (where handle_message returns Value::Null) become
suppressed responses so the loop emits nothing on the wire.
Test: handle_message covers protocol behaviour in unit tests.