Mynth for LangChain
io.github.mynthio/mynth
Remote MCP server for the Mynth API: image and video generation, task tracking and balance.
client:LangChain
transport:streamable-http
Install Mynth in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"mynth": {
"transport": "streamable_http",
"url": "https://api.mynth.io/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs