Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/modelcontextprotocol/python-sdk
/ run
Method
run
src/mcp/server/mcpserver/server.py:251–251 ·
view source on GitHub ↗
(self, transport: Literal["stdio"] = ...)
Source
from the content-addressed store, hash-verified
249
250
@overload
251
def
run(self, transport: Literal[
"stdio"
] = ...) -> None: ...
252
253
@overload
254
def
run(
Callers
2
run_stdio_async
Method · 0.45
handle_sse
Method · 0.45
Calls
2
run_sse_async
Method · 0.95
run_streamable_http_async
Method · 0.95
Tested by
no test coverage detected