Skip to content
LangChain

GPT Image Hub for LangChain

io.github.jqy-yo/gptimagehub

Search attributed image prompts, retrieve full templates, and browse GPT Image Hub categories.

client:LangChain transport:streamable-http tools:4

Install GPT Image Hub in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

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

GPT Image Hub in other clients