Overview
What is ONVIF MCP?
ONVIF MCP is a device control and management platform (Media Control Platform) based on the ONVIF protocol. It provides standardized control interfaces for network audio/video devices such as IP cameras and NVRs. It is intended for users who need to discover, configure, and control ONVIF-compliant devices.
How to use ONVIF MCP?
Start the service using the CLI tool with the command mcp dev main.py or by running python run main.py --host 0.0.0.0 --port 8020. No installation instructions are provided in the README.
Key features of ONVIF MCP
- Automatic scanning of ONVIF‑compliant devices on the local network
- Pan‑tilt‑zoom (PTZ) control for rotation and lens zoom
- Media stream management with RTSP/RTMP protocol URLs
- Event subscription for motion detection and input triggers
- Remote device configuration (resolution, frame rate, codec)
Use cases of ONVIF MCP
- Automatically discover ONVIF cameras on the local network
- Control PTZ functions such as pan, tilt, and zoom
- Retrieve real‑time video stream URLs for integration with media players
- Subscribe to motion detection events for security monitoring
- Remotely adjust device video parameters like resolution and encoding
FAQ from ONVIF MCP
What transport protocols are supported for media streams?
The platform supports RTSP and RTMP protocols for real‑time video streams.
What programming language is the project implemented in?
ONVIF MCP is implemented in Python.
What communication protocols does ONVIF MCP use?
It uses ONVIF WS‑Discovery for device discovery and SOAP for control interactions.
How do I start the MCP server?
Run the command mcp dev main.py or python run main.py --host 0.0.0.0 --port 8020.
Are there any dependencies mentioned?
The README does not list specific dependencies, but the implementation relies on Python and ONVIF standards (WS‑Discovery, SOAP).
