MCP.so
登录

MCP Server - Image

@IA-Programming

关于 MCP Server - Image

## MCP-Images Looking for a powerful image processing server? MCP Server-Image provides enterprise-grade image handling with just a few lines of code. Perfect for AI applications, web services, and data processing pipelines. [Get Started](#installation) | [Support Us](

基本信息

分类

媒体与设计

许可证

MIT license

运行时

python

传输方式

stdio

发布者

IA-Programming

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "mcp-images": {
      "command": "uv",
      "args": [
        "venv"
      ]
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is MCP Server - Image?

A Model Context Protocol (MCP) server that provides tools for fetching and processing images from URLs, local file paths, and numpy arrays. It includes a tool called fetch_images that returns images as base64-encoded strings along with their MIME types.

How to use MCP Server - Image?

Prerequisites: Python 3.10+ and the uv package manager. Clone the repository, create and activate a virtual environment with uv, then install dependencies from requirements.txt. Run the server directly with uv run python mcp_image.py. For integration with Windsurf or Cursor, add a JSON configuration entry pointing to the server script.

Key features of MCP Server - Image

  • Fetch images from HTTP/HTTPS URLs
  • Load images from local file paths
  • Specialized handling for large local images
  • Automatic image compression for images >1MB
  • Parallel processing of multiple images
  • Proper MIME type mapping for file extensions
  • Comprehensive error handling and logging

Use cases of MCP Server - Image

  • Fetch and process images from multiple URLs in a single request
  • Load and process local images for AI assistant workflows
  • Combine URL and local file images for unified processing

FAQ from MCP Server - Image

What are the prerequisites for running the server?

Python 3.10 or later and the uv package manager are required.

How do I configure the server for Windsurf or Cursor?

Edit the mcp_config.json file for Windsurf or add a new MCP server in Cursor settings, providing the command uv with arguments pointing to the server directory and script.

What does the fetch_images tool return?

It returns a list of processed images, each as a base64-encoded string with its corresponding MIME type.

How are large images handled?

Images larger than 1MB are automatically compressed to reduce size.

What image sources are supported?

Images can be sourced from URLs (http/https), local file paths, and numpy arrays.

评论

媒体与设计 分类下的更多 MCP 服务器