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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file framegrab_mcp_server-0.1.0.tar.gz.
File metadata
- Download URL: framegrab_mcp_server-0.1.0.tar.gz
- Upload date:
- Size: 48.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6c1d7adb479324a22eaf4cf703ced01f93deca88aa4c47726e53037fa26ee282
|
|
| MD5 |
025d01ed56ac1699af2e695add451b5e
|
|
| BLAKE2b-256 |
1e753079e5269f8cdca99f71fb888d639a53c259cf5eb327651e906f3abe33b0
|
File details
Details for the file framegrab_mcp_server-0.1.0-py3-none-any.whl.
File metadata
- Download URL: framegrab_mcp_server-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5522bd3a59b9b864b66e981460f9dd4d3ffedd4c9f258b85008033a8ef64fa6e
|
|
| MD5 |
85125857de3bd1c7bc34618ab8774945
|
|
| BLAKE2b-256 |
c42c8e12fc3c8d137bdcb0c04e8d86b4a17fd8ddfcc1eefac13997b70a847e04
|