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

Method __init__

tests/apps/test_host.py:21–29  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

19 """Stub for ToolManager — only needs read_resource for launch tests."""
20
21 def __init__(self):
22 self._resource: dict[str, Any] = {
23 "contents": [
24 {
25 "uri": "ui://test/app.html",
26 "text": "<html><body>Hello</body></html>",
27 }
28 ]
29 }
30
31 async def read_resource(self, uri, server_name=None):
32 return self._resource

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected