@bang_imvt/mcp-agent
v1.0.3
Published
MCP Agent for ZCam cameras with discovery, control, and streaming capabilities
Readme
ZCam MCP Agent
This package provides an MCP (Model Control Protocol) agent for controlling ZCam cameras. It offers comprehensive tools for camera discovery, control, and streaming.
Features
- Camera discovery using mDNS
- PTZ (Pan/Tilt/Zoom) control
- Recording control
- Video streaming capabilities
- Preset management
- Exposure and white balance control
- Network configuration
Installation
You can install and run this agent using npx:
npx @zcam/mcp-agentThis will automatically install the package and its dependencies, including the required Python wheel.
Usage
Once installed, the agent can be used with any MCP-compatible client. The agent will listen on stdin/stdout for MCP protocol messages.
Requirements
- Node.js (version 14 or higher)
- Python (version 3.10 or higher)
- pip (Python package installer)
The required Python packages will be automatically installed from the included wheel file.
Tools Available
The agent provides a wide range of tools for camera control:
discover_cameras- Discover all ZCam cameras on the networkcontrol_connect_camera- Connect to a specific cameracontrol_recording_start/control_recording_stop- Control video recordingcontrol_ptz_move- Control pan/tilt/zoom movementscontrol_preset_recall/control_preset_save- Manage camera presetsstream_connect/stream_capture_frame/stream_disconnect- Video streaming- And many more for complete camera control
Resources
The agent also exposes several resources:
camera://discovered- List of discovered camerascamera://connected- List of connected camerasstream://active- List of active video streams
