Skip to content
LangChain

Agent Clinic for LangChain

io.github.mohammedalmohaish-cyber/agent-clinic

House calls for AI agents: pay once in USDC over x402, run the instructions on your own model.

client:LangChain transport:stdio runtime:npm

Install Agent Clinic in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "agent-clinic": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "agent-clinic-mcp"],
        }
})

tools = await client.get_tools()

get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs

Agent Clinic in other clients