Skip to content
LangChain

PixelMCP for LangChain

io.github.awseeley/pixelmcp

Generate AI images in MCP clients with leading image models, brand kits and pay-as-you-go credits.

client:LangChain transport:streamable-http

Install PixelMCP in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

PixelMCP in other clients