Skip to content
LangChain

Beam for LangChain

io.askbeam/mcp

Find and ask your Beam workspace's agents from any MCP client, with a workspace API key.

client:LangChain transport:streamable-http

Install Beam in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

Beam in other clients