claude-code-sdk-python/examples
Kashyap Murali 95775ac657
feat: Add SDK MCP server support on top of control protocol
- Rebased SDK MCP implementation onto PR #139's control protocol refactoring
- Moved SDK MCP handling from Transport to Query class for proper layering
- Transport now only filters SDK servers from CLI config
- Query class handles SDK MCP control requests via _handle_sdk_mcp_request
- Added tool decorator and create_sdk_mcp_server API functions
- Added McpSdkServerConfig type definition
- Updated documentation with SDK MCP examples
- Added integration tests for SDK MCP functionality

This implementation properly layers SDK MCP on top of the bidirectional control protocol from PR #139, ensuring clean separation between transport (I/O) and query (protocol) layers.
2025-08-31 20:46:28 -07:00
..
mcp_calculator.py feat: Add SDK MCP server support on top of control protocol 2025-08-31 20:46:28 -07:00
quick_start.py cost_usd -> total_cost_usd in example 2025-06-25 15:18:52 -04:00
streaming_mode.py Fix example not to background 2025-08-29 19:53:36 -07:00
streaming_mode_ipython.py Improve examples 2025-07-19 19:57:17 -07:00
streaming_mode_trio.py Make streaming implementation trio-compatible (#84) 2025-07-22 23:31:42 -07:00