alephant mcp for LangChain
io.github.alephantai/alephant-mcp
Alephant MCP server for AI cost control, BYO-key routing, 50+ providers, and 320+ models.
client:LangChain
transport:stdio
runtime:npm
Install alephant mcp in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"alephant-mcp": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "@alephantai/mcp"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs