Skip to main content

Allow LLMs to capture images from cameras and video streams.

Project description

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

  • list_framegrabbers: List all available framegrabbers by name, sorted alphanumerically.
  • grab_frame: Grab a frame from the specified framegrabber and return it as an image.
  • get_config: Retrieve the configuration of a specific framegrabber.
  • set_config: Update the configuration options for a specific framegrabber.
  • create_grabber: Create a new framegrabber from configuration and add it to the available grabbers.
  • release_grabber: Release a framegrabber and remove it from the available grabbers.

Configuration

Currently the server is set up by cloning this repository to your local machine.

git clone https://github.com/groundlight/framegrab-mcp-server.git

Proceed to configure the server for your LLM client.

Usage with Claude Desktop

Add this to your claude_desktop_config.json:

{
  "mcpServers": {
    "framegrab": {
      "command": "/Users/your_user/.cargo/bin/uv",
      "args": [
        "run",
        "--with",
        "mcp[cli]",
        "--with",
        "framegrab>=0.11.1",
        "--with",
        "opencv-python",
        "--with",
        "pypylon",
        "mcp",
        "run",
        "/path/to/framegrab-mcp-server/framegrab_mcp_server.py"
      ]
    }
  }
}

Usage with Zed

Add the following to your zed settings.json:

{
  "context_servers": {
    "framegrab": {
      "command": {
        "path": "/Users/your_user/.cargo/bin/uv",
        "args": [
          "run",
          "--with",
          "mcp[cli]",
          "--with",
          "framegrab>=0.11.1",
          "--with",
          "opencv-python",
          "--with",
          "pypylon",
          "mcp",
          "run",
          "/path/to/framegrab-mcp-server/framegrab_mcp_server.py"
        ]
      }
    }
  }
}

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

framegrab_mcp_server-0.1.0.tar.gz (48.3 kB view details)

Uploaded Source

Built Distribution

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

framegrab_mcp_server-0.1.0-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for framegrab_mcp_server-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6c1d7adb479324a22eaf4cf703ced01f93deca88aa4c47726e53037fa26ee282
MD5 025d01ed56ac1699af2e695add451b5e
BLAKE2b-256 1e753079e5269f8cdca99f71fb888d639a53c259cf5eb327651e906f3abe33b0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for framegrab_mcp_server-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5522bd3a59b9b864b66e981460f9dd4d3ffedd4c9f258b85008033a8ef64fa6e
MD5 85125857de3bd1c7bc34618ab8774945
BLAKE2b-256 c42c8e12fc3c8d137bdcb0c04e8d86b4a17fd8ddfcc1eefac13997b70a847e04

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