Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/modelcontextprotocol/python-sdk
/ main
Function
main
examples/snippets/servers/direct_execution.py:21–23 ·
view source on GitHub ↗
Entry point for the direct execution server.
()
Source
from the content-addressed store, hash-verified
19
20
21
def
main():
22
""
"Entry point for the direct execution server."
""
23
mcp.run()
24
25
26
if
__name__ ==
"__main__"
:
Callers
1
direct_execution.py
File · 0.70
Calls
1
run
Method · 0.45
Tested by
no test coverage detected