You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add ergonomic test client for testing MCP servers #1728
Provide a dedicated test client that simplifies testing MCP servers without the boilerplate of manually setting up transports, streams, and context managers.
This creates friction for both SDK users writing tests for their servers and for the SDK's own test suite.
Goal
Something analogous to FastAPI's TestClient / Starlette's test client pattern - a simple way to instantiate a client against a server instance and make requests without transport ceremony.
Activity
1 remaining item
Refactor to InMemoryTransport class and delete create_connected_serve…
Simplify API: Client(server) instead of Client.from_server(server)