Skip to content
LangChain

Mochify for LangChain

app.mochify/mochify

Image and PDF toolkit: convert to AVIF/WebP/JXL, resize, crop, remove backgrounds, optimize PDFs.

client:LangChain transport:streamable-http runtime:cargo

Install Mochify in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

Mochify in other clients