Skip to content
LangChain

Magnt for LangChain

app.magnt/magnt

Generate and edit realistic images from a prompt. Returns the image and a download link.

client:LangChain transport:streamable-http

Install Magnt in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "magnt": {
            "transport": "streamable_http",
            "url": "https://magnt.app/mcp",
        }
})

tools = await client.get_tools()

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

Magnt in other clients