mostai mcp for LangChain
io.github.most-ai-com/mostai-mcp
Generate images, video, music, speech and text with 60+ models through your MostAI account.
client:LangChain
transport:stdio
runtime:pypi
Install mostai mcp in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"mostai-mcp": {
"transport": "stdio",
"command": "uvx",
"args": ["mostai-mcp"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs