claude-code-sdk-python/tests
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
..
conftest.py Initial Python SDK import 2025-06-12 00:16:19 -07:00
test_changelog.py Add changelog and changelog format check (#77) 2025-07-21 10:53:01 -07:00
test_client.py fix: add support for thinking content blocks (#28) 2025-08-06 19:00:02 -07:00
test_errors.py Initial Python SDK import 2025-06-12 00:16:19 -07:00
test_integration.py fix: add support for thinking content blocks (#28) 2025-08-06 19:00:02 -07:00
test_message_parser.py Move thinking block parsing from user to assistant messages (#119) 2025-08-19 13:36:12 -07:00
test_sdk_mcp_integration.py feat: Add SDK MCP server support on top of control protocol 2025-08-31 20:46:28 -07:00
test_streaming_client.py fix: add support for thinking content blocks (#28) 2025-08-06 19:00:02 -07:00
test_subprocess_buffering.py Fix FastAPI SSE streaming compatibility (fixes #4) 2025-07-01 00:04:50 -07:00
test_transport.py Add support for custom env vars (#131) 2025-08-25 14:02:03 -07:00
test_types.py Add support for plan permission mode (#116) 2025-08-07 13:06:05 -07:00