LLM CLI Gateway for LangChain
io.github.verivus-oss/llm-cli-gateway
One MCP endpoint for Claude Code, Codex, Gemini, Grok and Mistral CLIs, with durable async jobs.
client:LangChain
transport:stdio
runtime:npm
Install LLM CLI Gateway in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"llm-cli-gateway": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "llm-cli-gateway"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs