Skip to content
LangChain

GramGPT for LangChain

io.github.gramgpt/gramgpt

Telegram accounts at scale: AI comments, DMs, inviting, warmup, parsers, account marketplace.

client:LangChain transport:streamable-http

Install GramGPT in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "gramgpt": {
            "transport": "streamable_http",
            "url": "https://gramgpt.io/mcp/",
        }
})

tools = await client.get_tools()

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

GramGPT in other clients