Skip to content
LangChain

Corent for LangChain

io.github.gg13121/corent-mcp

Generate images, videos, voice, and text via the Corent API. Auto model routing with fallback.

client:LangChain transport:stdio runtime:npm

Install Corent in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "corent-mcp": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "corent-mcp"],
        }
})

tools = await client.get_tools()

get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs

Corent in other clients