Skip to content
LangChain

ratchet for LangChain

com.ratchetgate/ratchet

Your agent asks before it acts, so the same real-world action is attempted at most once.

client:LangChain transport:streamable-http runtime:npm tools:15

Install ratchet in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "ratchet": {
            "transport": "streamable_http",
            "url": "https://ratchetgate.com/mcp",
        }
})

tools = await client.get_tools()

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

What LangChain can do once it is connected

ratchet in other clients