MCP ExplorerExplorer

Imagealfred

@mahan-ymon 14 days ago
1ย Apache-2.0
FreeCommunity
AI Systems
Alfred of Images: An MCP server to handle your image edits.

Overview

What is Imagealfred

ImageAlfred is an image Model Context Protocol (MCP) tool designed to streamline image processing workflows.

Use cases

Use cases for ImageAlfred include automated image segmentation, enhancing images for marketing materials, creating custom filters for social media, and developing prototypes for image-based applications.

How to use

To use ImageAlfred, you need to set up the server and access its user-friendly web interface, which is powered by Gradio. You can interact with various image models and customize workflows as needed.

Key features

Key features of ImageAlfred include an intuitive web interface for image processing, rapid prototyping capabilities through Gradio, scalable and serverless execution with Modal, and easy extensibility for custom image models and workflows.

Where to use

ImageAlfred can be used in various fields such as graphic design, digital marketing, content creation, and any domain that requires efficient image editing and processing.

Content

ImageAlfred

Image Alfred

ImageAlfred is an image Model Context Protocol (MCP) tool designed to streamline image processing workflows

Python Version from PEP 621 TOML GitHub License

huggingface
python

๐Ÿš€ Try it in Hugging Face Space

Demo

Maintainers

Mahan-ym | Mahan Yarmohammad

Soodoo | Saaed Saadatipour

Tools

  • Gradio: Serving user interface and MCP server.
  • Modal.com: AI infrastructure making all the magic ๐Ÿ”ฎ possible.
  • SAM: Segment Anything model by meta for image segmentation and mask generation.
  • CLIPSeg: Image Segmentation using CLIP. We used it as a more precise object detection model.
  • OWLv2: Zero-Shot object detection (Better performance in license plate detection and privacy preserving use-cases).
  • HuggingFace: Downloading SAM and using Space for hosting.

Getting Started

Prerequisites

  • Python 3.12+
  • uv (a fast Python package installer and virtual environment manager)

Installation

It will create virtual environment, activate it, install dependecies and setup modal

make install

Running the App

This will deploy the Modal container and launch the Gradio interface for ImageAlfred.

make run

Try it in Claude Desktop

Make sure Node.js is installed.

{
  "mcpServers": {
    "Image Alfred": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "https://agents-mcp-hackathon-imagealfred.hf.space/gradio_api/mcp/sse",
        "--transport",
        "sse-only"
      ]
    }
  }
}
  • for lacal testing
{
  "mcpServers": {
    "Local Image Alfred": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "http://127.0.0.1:7860/gradio_api/mcp/sse",
        "--transport",
        "sse-only"
      ]
    }
  }
}

License

This project is licensed under the terms of the LICENSE file in this repository.

Tools

No tools

Comments