Skip to main content
Glama

MCP Image Server

fetch_images

Fetch and process images from URLs or local file paths, returning them in a format suitable for LLMs. Supports parallel processing and automatic compression for images exceeding 1MB, maintaining aspect ratio and quality.

Instructions

Fetch and process images from URLs or local file paths, returning them in a format suitable for LLMs. This tool accepts a list of image sources which can be either: 1. URLs pointing to web-hosted images (http:// or https://) 2. Local file paths pointing to images stored on the local filesystem (e.g., "C:/images/photo1.jpg") For a single image, provide a one-element list. The function will process images in parallel when multiple sources are provided. Images that exceed the size limit (1MB) will be automatically compressed while maintaining aspect ratio and reasonable quality. Args: image_sources: A list of image URLs or local file paths. For a single image, provide a one-element list. Returns: A list of Image objects or None values (if processing failed) in the same order as the input sources.

Input Schema

NameRequiredDescriptionDefault
image_sourcesYes

Input Schema (JSON Schema)

{ "properties": { "image_sources": { "items": { "type": "string" }, "title": "Image Sources", "type": "array" } }, "required": [ "image_sources" ], "title": "fetch_imagesArguments", "type": "object" }
Install Server

Other Tools from MCP Image Server

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/IA-Programming/mcp-images'

If you have feedback or need assistance with the MCP directory API, please join our Discord server