Skip to content
LangChain

Bot-Hosting.net for LangChain

net.bot-hosting/mcp

Deploy and manage Discord bots, Telegram bots, websites, APIs and databases on Bot-Hosting.net

client:LangChain transport:streamable-http

Install Bot-Hosting.net in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "mcp": {
            "transport": "streamable_http",
            "url": "https://bot-hosting.net/api/mcp",
        }
})

tools = await client.get_tools()

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

Bot-Hosting.net in other clients