Skip to content
LangChain

Astro for LangChain

space.astro-bot/astro

Configure the Astro Discord bot: temporary voice channels, voice roles, interfaces, templates

client:LangChain transport:streamable-http

Install Astro in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "astro": {
            "transport": "streamable_http",
            "url": "https://mcp.astro-bot.space/mcp",
        }
})

tools = await client.get_tools()

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

Astro in other clients