MCPcopy Create free account
hub / github.com/Harmeet10000/AgentNexus-LangChain-FastAPI / __init__

Method __init__

src/mcp_core/testing.py:14–16  ·  view source on GitHub ↗
(self, server: Any)

Source from the content-addressed store, hash-verified

12 """In-process MCP test client using FastMCP's client-with-server pattern."""
13
14 def __init__(self, server: Any) -> None:
15 self._server = server
16 self._client: Any = None
17
18 async def __aenter__(self) -> MCPTestClient:
19 from fastmcp import (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected