AgentRail for LangChain
io.github.aficionado378/agentrail
Market data for AI agents: token prices across 3 exchanges, exchange health, fees, uptime.
client:LangChain
transport:streamable-http
tools:11
Install AgentRail in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"agentrail": {
"transport": "streamable_http",
"url": "https://agentrail-backend-eta.vercel.app/api/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs