videocapture-mcp

videocapture-mcp

8

Video Still Capture MCP is a Python-based server implementing the Model Context Protocol (MCP) that facilitates control over webcams via OpenCV. It enhances AI interactions by offering features like image capture and camera setting adjustments without engaging video capture.

Video Still Capture MCP

A Model Context Protocol server for accessing and controlling webcams via OpenCV

Overview

Video Still Capture MCP provides AI assistants with the ability to access and control webcams and video sources through OpenCV, allowing language models to capture images, manipulate camera settings, and manage video connections, albeit without video capture.

Features

  • Quick Image Capture: Capture a single image from a webcam without managing connections
  • Connection Management: Open, manage, and close camera connections
  • Video Properties: Read and adjust camera settings like brightness, contrast, and resolution
  • Image Processing: Basic image transformations like horizontal flipping

Installation

Requires Python 3.10+, OpenCV, Optional UV, and MCP Python SDK. Clone the repository and install it locally. Use mcp CLI for installation and configuration with Claude Desktop.

Troubleshooting

  • Camera Not Found: Check webcam connections and ensure it is not in use.
  • Permission Issues: Ensure necessary permissions are granted.
  • OpenCV Installation: Refer to the official guide if issues arise.