SdkMcpBridge
🛈 DocStrings¶
Routes raw JSON-RPC for one in-process MCP server through mcp's memory transport.
Source code in src/clawd_code_sdk/_internal/sdk_mcp_bridge.py
aclose
async
¶
Stop the session, if any. Safe to call more than once.
handle
async
¶
Handle one message from the CLI.
Returns the JSON-RPC response dict for requests and None for
notifications and responses, which expect no reply.