Get or create the MCP Apps host server (lazy-initialized).
(self)
| 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.""" |
nothing calls this directly
no test coverage detected