MCPcopy Create free account
hub / github.com/MiniMax-AI/Mini-Agent / _connect_stdio

Method _connect_stdio

mini_agent/tools/mcp_loader.py:234–237  ·  view source on GitHub ↗

Connect via STDIO transport.

(self)

Source from the content-addressed store, hash-verified

232 return False
233
234 async def _connect_stdio(self):
235 """Connect via STDIO transport."""
236 server_params = StdioServerParameters(command=self.command, args=self.args, env=self.env if self.env else None)
237 return await self.exit_stack.enter_async_context(stdio_client(server_params))
238
239 async def _connect_sse(self):
240 """Connect via SSE transport with timeout parameters."""

Callers 1

connectMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected