claude-code-sdk-python/src/claude_code_sdk
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
..
_internal feat: Add SDK MCP server support on top of control protocol 2025-08-31 20:46:28 -07:00
__init__.py feat: Add SDK MCP server support on top of control protocol 2025-08-31 20:46:28 -07:00
_errors.py Remove hardcoded timeout for control messages to match Typescript SDK 2025-07-19 20:43:07 -07:00
client.py mypy 2025-08-29 19:40:24 -07:00
py.typed Initial Python SDK import 2025-06-12 00:16:19 -07:00
query.py feat: enable custom transports (#91) 2025-08-19 13:28:42 -07:00
types.py feat: Add SDK MCP server support on top of control protocol 2025-08-31 20:46:28 -07:00