MCPcopy Create free account
hub / github.com/CodeGraphContext/CodeGraphContext / FakeServer

Class FakeServer

tests/unit/api/test_api_auth.py:25–29  ·  view source on GitHub ↗

Minimal stand-in for MCPServer so protected endpoints can run.

Source from the content-addressed store, hash-verified

23
24
25class FakeServer:
26 """Minimal stand-in for MCPServer so protected endpoints can run."""
27
28 async def handle_tool_call(self, name, arguments):
29 return {"repositories": [], "tool": name}
30
31
32@pytest.fixture

Callers 1

_makeFunction · 0.70

Calls

no outgoing calls

Tested by 1

_makeFunction · 0.56