Image Resize API

io.github.Br0ski777Published by GitHub account Br0ski777v1.1.0Updated Oct 24, 2026

Resize images from URL — PNG, JPEG, WebP output. x402 micropayment.

VerifiedSSEWeb executableFinanceMedia & Design

Overview

AI-generated overview

Remote MCP endpoint that resizes images fetched from a URL and converts them to PNG, JPEG or WebP, billed per call via x402 USDC micropayments.

What you can do
  • Resize an image from a URL to a target width and/or height, keeping aspect ratio when only one dimension is given
  • Convert the output to PNG, JPEG or WebP
  • Return the resized image as base64 with metadata such as original and new dimensions, format and file size
When to use it
Useful for making thumbnails, web-optimized images, social media or email-sized images, and light batch resizing when the assistant only has an image URL and no local image tooling. Not intended for OCR, QR generation or screenshots.
Requirements
A remote MCP endpoint reached over SSE; no API key or signup. Payment is required per call through the x402 protocol in USDC on Base L2, so an x402-capable client with a funded wallet is needed. Network access to the image URL and the service is required.
Before you install
Each call costs money (listed at $0.008 per resize) and is paid in USDC on Base from a wallet, so spending limits and wallet keys are a real concern. The image URL is sent to a third-party service, and payment is processed through external facilitators. Output is returned as base64, which can be large.

Installation

In SourceWeft

  1. Open Image Resize API in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via SSE. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.github.Br0ski777%2Fimage-resize/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "image-resize-api": {
      "type": "sse",
      "url": "https://image-resize.api.klymax402.com/mcp"
    }
  }
}

README

Image Resize API

[MCP Server] [x402] [License: MIT]

Resize images from URL -- custom width/height, format conversion (PNG/JPEG/WebP), aspect ratio preserved. Pay-per-call via x402 (USDC on Base L2) -- no API key, no signup, no rate-limit wall.

Part of the klymax402 marketplace -- 100 x402 micropayment APIs for AI agents, one wallet, USDC on Base.

Quickstart -- MCP

Add to your MCP client config (Claude Desktop, Cursor, ElizaOS, etc.):

json
{  "mcpServers": {    "image-resize": {      "url": "https://image-resize.api.klymax402.com/mcp"    }  }}

Quickstart -- HTTP (x402)

bash
curl -X POST "https://image-resize.api.klymax402.com/api/resize" \  -H "Content-Type: application/json" \  -d '{"url":"https://example.com"}'# -> 402 Payment Required, with an x402 payment challenge in the response body

Any x402-aware client (@x402/fetch, x402-agent-tools, ATXP) handles the 402 -> sign -> retry cycle automatically.

Tools

ToolMethodPathPriceDescription
media_resize_imagePOST/api/resize$0.008Resize an image from URL

media_resize_image

Use this when you need to resize an image from a URL or convert its format. Returns the resized image as base64 with metadata in JSON.

Parameters

NameTypeRequiredDescription
urlstringyesURL of the image to resize
widthnumbernoTarget width in pixels (maintains aspect ratio if height is omitted)
heightnumbernoTarget height in pixels (maintains aspect ratio if width is omitted)
formatstringnoOutput format: 'png', 'jpeg', or 'webp' (default: png)

Example response:

json
{"image":"iVBORw0KGgo...","originalWidth":1920,"originalHeight":1080,"newWidth":800,"newHeight":450,"format":"webp","fileSizeBytes":24500}

When to use: creating thumbnails, optimizing images for web, preparing social media images, resizing for email templates, and batch image processing.

Not for: OCR text extraction (use media_extract_text_from_image), QR code generation (use utility_generate_qr_code), screenshots (use capture_screenshot).

Example agent prompts

  • "Resize an image from a URL or convert its format"

Payment

  • Protocol: x402 -- HTTP-native pay-per-call, no signup, no API key
  • Network: Base L2 (eip155:8453)
  • Asset: USDC
  • Facilitator: Coinbase CDP (primary), PayAI (fallback)
  • Also reachable via ATXP (OAuth-wrapped x402, RFC 9728 protected-resource metadata)

Part of klymax402

100 x402 micropayment APIs for AI agents -- one wallet, USDC on Base, zero signup.

License

MIT

Source: README.md at commit 25393ba

Tools

0
SourceWeft has not read this server's tools yet.

Version history

1
  1. v1.1.0LatestSep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declaredRequired10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts