botopia m2m gateway for LangChain
io.github.resonantcodes/botopia-m2m-gateway
Real-time B2A and M2M deprecation feeds for AI agents and dev pipelines.
client:LangChain
transport:streamable-http
Install botopia m2m gateway in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"botopia-m2m-gateway": {
"transport": "streamable_http",
"url": "https://agents.lilaonthegrid.com/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs