MCPcopy Create free account
hub / github.com/agentforce314/clawcodex / _run

Method _run

src/server/mcp_runtime.py:64–66  ·  view source on GitHub ↗
(self, coro: Any, timeout: float)

Source from the content-addressed store, hash-verified

62 self.tools: list[Any] = [] # wrapped sync Tool objects (mcp__server__tool)
63
64 def _run(self, coro: Any, timeout: float) -> Any:
65 assert self._loop is not None
66 return asyncio.run_coroutine_threadsafe(coro, self._loop).result(timeout)
67
68 def start(self) -> bool:
69 """Connect all enabled, configured MCP servers. Returns True if at least

Callers 2

startMethod · 0.95
shutdownMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected