Feedback

farshid-mcp-imageProcessing

@pirahansiah Claim

Basic information

Runtime
python
Category
License
MIT
Author
pirahansiah
Submitted by
Community
Quality
30
Stars
1

About farshid-mcp-imageProcessing Server

farshid mcp server local opencv

farshid-mcp-imageProcessing is a MCP server in the Other category listed in the AddMCP.net directory, published by pirahansiah. Runtime: python. License: MIT. The repository has 1 GitHub stars. Source code is hosted on github.com.

Setup

{
    "mcpServers": {
        "farshid-mcp-imageprocessing": {
            "command": "python",
            "args": [
                "-m",
                "build"
            ]
        }
    }
}

farshid-mcp-imageProcessing config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "farshid-mcp-imageprocessing": {
            "command": "python",
            "args": [
                "-m",
                "build"
            ]
        }
    }
}

farshid-mcp-imageProcessing tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is farshid-mcp-imageProcessing?

farshid-mcp-imageProcessing is a comprehensive OpenCV image-processing MCP server for VS Code Copilot Agent Mode (or any MCP client). It exposes ~40 tools across webcam capture, image I/O, transforms, color, filtering, edges, thresholding, morphology, contours/shapes, feature matching, object detection, drawing, composition, template matching, and video processing. It is for developers who want to perform computer vision tasks directly from an MCP client.

How to use farshid-mcp-imageProcessing?

Install with pip install farshid-mcp-imageProcessing, then run farshid-mcp-imageprocessing to start the stdio server. Register it in VS Code by adding a imageProcessing entry to your mcp.json with the command farshid-mcp-imageprocessing and type stdio. Optionally, clone the repo and run from source. For quick testing, use the /cv prompt in Copilot Chat (e.g., /cv take image from webcam and save it as gray scale 240 * 240).

Key features of farshid-mcp-imageProcessing

  • Webcam capture, preview, record, and save
  • Geometric transforms: resize, crop, rotate, flip, pad
  • Color conversion and histogram equalization
  • Filtering (Gaussian, median, bilateral) and sharpening
  • Edge detection (Canny, Sobel, Laplacian)
  • Object detection via Haar cascades (faces, eyes, bodies, QR)

Use cases of farshid-mcp-imageProcessing

  • Capture a photo from a webcam and apply grayscale and resize transformations
  • Detect faces in an image and draw bounding boxes around them
  • Compare two images for differences using absolute difference
  • Extract frames from a video file at a specified interval
  • Match a template pattern within a larger image

Frequently asked questions

1 What Python version is required?

Python 3.14 or later is required.

2 Does this server work on a headless server?

Most tools work on headless servers, but webcam_preview opens a real desktop window and will fail without a display.

3 How do I handle camera permissions on macOS?

The first webcam call triggers a system Camera permission prompt; grant it to the terminal or VS Code process.

4 What should I avoid when writing custom tools or using this server?

Never use print() in tool functions because stdout is the MCP protocol channel; use sys.stderr (the _log helper in server.py) instead.

5 Is opencv-contrib-python included?

Yes, the package uses opencv-contrib-python to provide bundled Haar cascades and extra algorithms.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬