Skip to content
LangChain

Image Tools - Background Removal, Upscaling & Face Restoration for LangChain

io.github.fasuizu-br/image-tools

Background removal, 4x upscaling, and face restoration via GPU

client:LangChain transport:streamable-http tools:4

Install Image Tools - Background Removal, Upscaling & Face Restoration in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "image-tools": {
            "transport": "streamable_http",
            "url": "https://apim-ai-apis.azure-api.net/mcp/image/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

Image Tools - Background Removal, Upscaling & Face Restoration in other clients