runapi mcp for LangChain
io.github.runapi-builder/runapi-mcp
130+ AI models for image, video, music, and audio — 18 model families, one RunAPI account.
client:LangChain
transport:streamable-http
runtime:npm
Install runapi mcp in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"runapi-mcp": {
"transport": "streamable_http",
"url": "https://mcp.runapi.ai/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs