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

Method app_host

src/mcp_cli/tools/manager.py:365–371  ·  view source on GitHub ↗

Get or create the MCP Apps host server (lazy-initialized).

(self)

Source from the content-addressed store, hash-verified

363
364 @property
365 def app_host(self) -> Any:
366 """Get or create the MCP Apps host server (lazy-initialized)."""
367 if self._app_host is None:
368 from mcp_cli.apps.host import AppHostServer
369
370 self._app_host = AppHostServer(self)
371 return self._app_host
372
373 async def close(self) -> None:
374 """Close StreamManager and cleanup."""

Callers

nothing calls this directly

Calls 1

AppHostServerClass · 0.90

Tested by

no test coverage detected