Skip to content
LangChain

Magic Hour for LangChain

io.github.magichourhq/magic-hour

Create and edit images, videos, and audio through Magic Hour's hosted Streamable HTTP MCP server.

client:LangChain transport:streamable-http tools:45

Install Magic Hour in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "magic-hour": {
            "transport": "streamable_http",
            "url": "https://mcp.magichour.ai/",
        }
})

tools = await client.get_tools()

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

What LangChain can do once it is connected

All 45 tools →

Magic Hour in other clients