apimodels for LangChain
io.github.stimqq/apimodels-mcp
Image, video, chat and speech models with one API key. The model can review its own images.
client:LangChain
transport:stdio
runtime:npm
Install apimodels in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"apimodels-mcp": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "apimodels-mcp"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs