farshid-mcp-imageProcessing

by pirahansiah

1 113 downloads Not rated yet MIT

About

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…

Details

License
MIT

Explore

- 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)

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name farshid-mcp-imageProcessing
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

pip install farshid-mcp-imageProcessing
farshid-mcp-imageprocessing          # runs the stdio MCP server

This repo ships a workspace prompt file at
.github/prompts/cv.prompt.md. In VS Code
Copilot Chat (Agent mode), type:

/cv take image from webcam and save it as gray scale 240 * 240

The agent will call webcam_save, image_to_grayscale, and image_resize
from this server to produce the requested file under ./.farshid/cv/.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

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

McpServers

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

A comprehensive OpenCV image-processing MCP server for VS Code Copilot
Agent Mode (or any MCP client). Exposes ~40 tools across webcam capture, image
I/O, transforms, color, filtering, edges, thresholding, morphology,
contours/shapes, feature matching, object detection (faces / eyes / bodies /
QR), drawing, image arithmetic, template matching, and video processing.

- PyPI: farshid-mcp-imageProcessing
- MCP Registry: io.github.pirahansiah/farshid-mcp-imageProcessing
- Python: 3.14+
- OS: latest Windows 11, latest macOS, latest mainstream Linux (Ubuntu 24.04+/Fedora 41+)

Install (PyPI)

pip install farshid-mcp-imageProcessing
farshid-mcp-imageprocessing          # runs the stdio MCP server

Register in VS Code

Add this to your user or workspace mcp.json:

{
  "servers": {
    "imageProcessing": {
      "command": "farshid-mcp-imageprocessing",
      "type": "stdio"
    }
  }
}

Or, if you cloned the repo and want to run from source with the local .venv:

```bash
git clone https://github.com/pirahansiah/farshid-mcp-imageProcessing
cd farshid-mcp-imageProcessing

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.