apimodels for LangChain
io.github.stimqq/apimodels-mcp
Chat, image, video, speech, music and media models with one account — local (npx) or hosted.
client:LangChain
transport:streamable-http
runtime:npm
Install apimodels in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"apimodels-mcp": {
"transport": "streamable_http",
"url": "https://api.apimodels.app/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs