Skip to main content

framegrab-mcp-server

Overview

A Model Context Protocol (MCP) server for capturing images from cameras and video streams. Uses the framegrab library to handle the actual image capture.

This server can be used to capture images from a webcam, a USB camera, an RTSP stream, a youtube live stream, or any other video source supported by the framegrab library.

Framegrab MCP Server in action

This MCP server is still in early development. The functionality and available tools are subject to change and expansion as we continue to develop and improve the server.

Tools

The following tools are available in the Framegrab MCP server:

  • create_framegrabber: Create a new framegrabber from a configuration object and add it to the available grabbers.
  • grab_frame: Grab a frame from the specified framegrabber and return it as an image in the desired format (png, jpg, or webp).
  • list_framegrabbers: List all available framegrabbers by name, sorted alphanumerically.
  • get_framegrabber_config: Retrieve the configuration of a specific framegrabber.
  • set_framegrabber_config: Update the configuration options for a specific framegrabber.
  • release_framegrabber: Release a framegrabber and remove it from the available grabbers.

Resources

The following resources are available in the Framegrab MCP server:

  • framegrabbers: Lists all available framegrabbers by name, sorted alphanumerically.

Configuration

Usage with Claude Desktop

Add this to your claude_desktop_config.json:

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

Usage with Zed

Add the following to your zed settings.json:

{
  "context_servers": {
    "framegrab": {
      "command": {
        "path": "uvx",
        "args": [
          "framegrab-mcp-server"
        ]
      }
    }
  }
}

(experimental) Enabling autodiscovery of framegrabbers

Enable autodiscovery of framegrabbers (such as your webcam or usb cameras) by setting ENABLE_FRAMEGRAB_AUTO_DISCOVERY="true" in your environment variables. This will automatically add any discovered framegrabbers to the list of available framegrabbers.

If autodiscovery is enabled, then you can also configure how RTSP autodiscovery works by changing FRAMEGRAB_RTSP_AUTO_DISCOVERY_MODE. By default, it is set to "off", which disables RTSP autodiscovery. For a thorough attempt at autodiscovery, set it to "complete_fast".

{
  "mcpServers": {
    "framegrab": {
      "command": "uvx",
      "args": [
        "framegrab-mcp-server"
      ],
      "env": {
        "ENABLE_FRAMEGRAB_AUTO_DISCOVERY": "true",
        "FRAMEGRAB_RTSP_AUTO_DISCOVERY_MODE": "complete_fast"
      }
    }
  }
}

This will increase server startup time.

Metadata

Release files for framegrab-mcp-server 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for framegrab-mcp-server 0.1.3
File Size Uploaded Provenance Actions
framegrab_mcp_server-0.1.3.tar.gz 276.2 kB Without provenance Details for framegrab_mcp_server-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for framegrab-mcp-server 0.1.3
File Interpreter ABI Platform Actions
framegrab_mcp_server-0.1.3-py3-none-any.whl Python 3 none any Details for framegrab_mcp_server-0.1.3-py3-none-any.whl

Total release size: 285.3 kB

Release files / framegrab_mcp_server-0.1.3.tar.gz

Download URL framegrab_mcp_server-0.1.3.tar.gz
Size 276.2 kB
Tags Source
SHA-256 checksum
How to use checksums
bd2be434b05987f7c7b812a0c09cbaa893f638f150073e298410e4b8613db0e6
BLAKE2b-256 checksum
How to use checksums
4b28b43fc4a3f6dd3cb10ac3195eb516e8af89db27e9458dc9490703572f7024
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.7.3

Release files / framegrab_mcp_server-0.1.3-py3-none-any.whl

Download URL framegrab_mcp_server-0.1.3-py3-none-any.whl
Size 9.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f0e831c964c2848bebc066f6fe693cf93cc662e4c5ab06d1ddc074997591249c
BLAKE2b-256 checksum
How to use checksums
7e1502441b48bf8222c2053f8870712d2746ef5facffae1c4bcf1efdbc49a568
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.7.3

Security for framegrab-mcp-server 0.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page