ONVIF MCP
About
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…
Details
- Author
- qianlima365
- GitHub stars
- 5
- Downloads
- 210
- Categories
- Other
Jump to
- 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)
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
ONVIF MCPCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
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.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"onvif mcp": {
"onvif-mcp": {
"command": "python",
"args": [
"run",
"main.py",
"--host",
"0.0.0.0",
"--port",
"8020"
]
}
}
}
}
McpServers
{
"onvif-mcp": {
"command": "python",
"args": [
"run",
"main.py",
"--host",
"0.0.0.0",
"--port",
"8020"
]
}
}
ONVIF MCP 是一个基于ONVIF协议实现的设备控制与管理平台(Media Control Platform),旨在为网络音视频设备(如IP摄像头、NVR等)提供标准化的控制接口。通过集成ONVIF核心规范,该项目支持以下功能:
- 设备发现:自动扫描局域网内符合ONVIF标准的设备并获取基础信息(如型号、固件版本)
- PTZ控制:通过ONVIF PTZ服务实现云台旋转、镜头变焦等操作
- 媒体流管理:获取设备实时视频流URL,支持RTSP/RTMP等协议
- 事件订阅:接收并处理设备推送的运动检测、输入触发等事件
- 配置管理:远程修改设备参数(分辨率、帧率、编码格式等)
项目采用Python实现ONVIF WS-Discovery与SOAP协议交互,提供CLI工具快速启动服务:
mcp dev main.py # 启动设备探测与控制服务
或者
python run main.py --host 0.0.0.0 --port 8020
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



