MCPcopy Create free account
hub / github.com/IBM/mcp-cli / __init__

Method __init__

examples/commands/command_system_demo.py:26–32  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

24 """Mock ToolManager for demonstration."""
25
26 def __init__(self):
27 # Don't call super().__init__() to avoid real initialization
28 self.servers = []
29 self.tools = []
30 self.disabled_tools = set()
31 self.validation_issues = {}
32 self.stream_manager = MagicMock() # Add mock stream_manager
33
34 async def get_server_info(self) -> List[ServerInfo]:
35 """Return mock server information."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected