Image Resize API for LangChain
io.github.br0ski777/image-resize
Resize images from URL — PNG, JPEG, WebP output. x402 micropayment.
client:LangChain
transport:sse
Install Image Resize API in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"image-resize": {
"transport": "streamable_http",
"url": "https://image-resize.api.klymax402.com/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs