INNER CODE UNIT · Python
_run
marc-shade/world-intel-mcp · src/world_intel_mcp/server.py:143
async def _run() -> None:
logger.info("World Intelligence MCP Server starting (%d tools)", len(TOOLS))
if _vector_store:
await _vector_store.start()
logger.info("Vector store worker started")
try:
async with stdio_server() as (read_stream, write_stream):
await server.run(
read_stream, write_stream, server.create_initialization_options()
)
finally:
if _vector_store:
await _vector_store.stop()
def run() -> None:
asyncio.run(_run())