Skip to main content

MCP server providing OpenCV computer vision capabilities

Project description

OpenCV MCP Server

MCP server providing OpenCV computer vision capabilities.

Introduction

OpenCV MCP Server is a Python package that provides OpenCV's image and video processing capabilities through the Model Context Protocol (MCP). This allows AI assistants and language models to access powerful computer vision tools.

Features

  • Basic image handling and manipulation (read, save, convert)
  • Image processing (resize, crop, filter application)
  • Advanced computer vision capabilities (feature detection, object detection)
  • Video processing and analysis

Installation

pip install opencv-mcp-server

Usage

Use in Claude Desktop

    "opencv": {
      "command": "uvx",
      "args": [
        "opencv-mcp-server"
      ]
    }

Configuration

The server can be configured using environment variables:

  • MCP_TRANSPORT: Transport method (default: "stdio")

Available Tools

  • save_image_tool: Save an image to a file
  • convert_color_space_tool: Convert image between color spaces
  • resize_image_tool: Resize an image to specific dimensions
  • crop_image_tool: Crop a region from an image
  • get_image_stats_tool: Get statistical information about an image

More tools will be added in future releases.

License

MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

opencv_mcp_server-0.1.1.tar.gz (26.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

opencv_mcp_server-0.1.1-py3-none-any.whl (31.9 kB view details)

Uploaded Python 3

File details

Details for the file opencv_mcp_server-0.1.1.tar.gz.

File metadata

  • Download URL: opencv_mcp_server-0.1.1.tar.gz
  • Upload date:
  • Size: 26.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for opencv_mcp_server-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d58439584acd14296b9db9ef8005920f50323c94cbfd81f8dc1264fb035e590c
MD5 9a4f9743aa82899ef6ae11cd99d8da71
BLAKE2b-256 b4acb8ddf6fb06a33b590530c44af1cba23a6258ef8d925e711396dface3cde7

See more details on using hashes here.

File details

Details for the file opencv_mcp_server-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for opencv_mcp_server-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 112e52325ffc3e96c4569979927daefe3763efbe6d3725583d6b10c04590e9a9
MD5 828b17aa246bacc186665eec60db60c3
BLAKE2b-256 9ffca54be1dea6fc8f193cbcf87a1b5718258c20fa00e5310b5694addfde90bd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page