Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/modelcontextprotocol/python-sdk
/ close
Method
close
tests/server/test_stdio.py:105–106 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
103
""
"
104
105
def
close(self) -> None:
106
pass
107
108
109
def
_run_stdio_bounded(server: MCPServer) -> None:
Callers
15
raw_client_session
Function · 0.45
mock_server
Function · 0.45
test_dispatcher_keyword_runs_over_direct_dispatch
Function · 0.45
test_direct_dispatch_roots_list_reaches_callback_with_synthesized_request_id
Function · 0.45
test_raising_notification_callbacks_over_direct_dispatch_cost_only_that_delivery
Function · 0.45
test_dispatcher_keyword_send_request_after_exit_raises_connection_closed
Function · 0.45
test_constructor_rejects_streams_and_dispatcher_together
Function · 0.45
test_constructor_requires_both_streams_without_dispatcher
Function · 0.45
test_send_notification_after_close_is_dropped_silently
Function · 0.45
close_stdout
Method · 0.45
test_direct_send_raw_request_issued_before_peer_run_blocks_until_peer_ready
Function · 0.45
test_direct_send_raw_request_to_never_run_peer_honors_timeout
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected