Skip to content
LangChain

Bastyn for LangChain

io.github.bastyn-labs/bastyn

Which regulations and standards may apply to an AI agent, and what tech it needs. Read-only.

client:LangChain transport:streamable-http tools:2

Install Bastyn in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

What LangChain can do once it is connected

Bastyn in other clients