MCPcopy Create free account
hub / github.com/cocoindex-io/cocoindex-code / _serve

Function _serve

src/cocoindex_code/server.py:326–330  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

324 mcp_server = create_mcp_server(str(project_root))
325
326 async def _serve() -> None:
327 from .cli import _bg_index
328
329 asyncio.create_task(_bg_index(str(project_root)))
330 await mcp_server.run_stdio_async()
331
332 asyncio.run(_serve())

Callers 1

mainFunction · 0.85

Calls 1

_bg_indexFunction · 0.85

Tested by

no test coverage detected