Skip to content
LangChain

Gregale for LangChain

io.github.poyrazk/gregale

Deploy, inspect, diagnose and roll back apps, jobs and Postgres on Gregale from your coding agent.

client:LangChain transport:streamable-http

Install Gregale in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "gregale": {
            "transport": "streamable_http",
            "url": "https://api.gregale.dev/mcp",
        }
})

tools = await client.get_tools()

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

Gregale in other clients