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

As a standalone MCP server

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.0.tar.gz (29.8 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.0-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: opencv_mcp_server-0.1.0.tar.gz
  • Upload date:
  • Size: 29.8 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.0.tar.gz
Algorithm Hash digest
SHA256 7b995cd673572c5875c8c4cf957060cb704448421eb83dda1d30639dc05589da
MD5 f1c04ad37da73749fab7b24c096fe0f2
BLAKE2b-256 d7706967f5c1ace5ae09680605a8c99cf95989f7ea4528a70045d1e12d4c67ea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opencv_mcp_server-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4e2da6ab48874bd82439c6014a802b993741630898976cbff60c15fee6471655
MD5 df53cd71d29b138dc8faa48e3117754d
BLAKE2b-256 afb77a264ca004d82ff5496ea13583bfdb727dbf9965bf1b17818515d3197ffb

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