pub fn run(beans_dir: &Path) -> Result<()>Expand description
Run the MCP server loop on stdin/stdout.
Reads newline-delimited JSON-RPC 2.0 messages from stdin,
dispatches to the appropriate handler, and writes responses
to stdout. Notifications (no id) do not get responses.