MCPcopy
hub / github.com/modelcontextprotocol/python-sdk / make_context_server_app

Function make_context_server_app

tests/shared/test_sse.py:282–289  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

280
281
282def make_context_server_app() -> Starlette:
283 return make_app(
284 Server(
285 "request_context_server",
286 on_call_tool=_handle_context_call_tool,
287 on_list_tools=_handle_context_list_tools,
288 )
289 )
290
291
292@pytest.mark.anyio

Calls 2

ServerClass · 0.90
make_appFunction · 0.85

Tested by

no test coverage detected