api composition gateway for LangChain
io.github.lazymac2x/api-composition-gateway
Cloudflare Workers MCP server: api-composition-gateway
client:LangChain
transport:streamable-http
tools:4
Install api composition gateway in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"api-composition-gateway": {
"transport": "streamable_http",
"url": "https://api.lazy-mac.com/api-composition-gateway/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs