INNER CODE UNIT · Python

run

marc-shade/world-intel-mcp · src/world_intel_mcp/dashboard/app.py:775

def run(host: str | None = None, port: int | None = None) -> None:
    """Launch the dashboard server."""
    import uvicorn

    if host is None or port is None:
        parsed_host, parsed_port = _parse_run_args()
        host = host or parsed_host
        port = parsed_port if port is None else port

    logger.info("Starting Intelligence Dashboard on http://%s:%d", host, port)
    uvicorn.run(
        app,
        host=host,
        port=port,
        log_level="info",
        access_log=False,
    )

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…