go2rtc-mcp
v0.1.1Production-grade Model Context Protocol (MCP) server for go2rtc streaming servers
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_server_info
Get go2rtc server metadata including version, revision, host, RTSP port, and config path.
list_streams
List all configured and active streams on the go2rtc server with credentials redacted.
get_stream_info
Get producer and consumer details for a specific stream (`stream_name`). Set `probe=True` to actively query video/audio codecs, SDP, and byte counters.
| Parameter | Type | Description |
|---|---|---|
stream_name * | string | |
probe | boolean |
probe_stream
Actively probe a camera stream to inspect its video/audio codecs, SDP, and track stats.
| Parameter | Type | Description |
|---|---|---|
stream_name * | string |
get_stream_snapshot
Capture a live JPEG snapshot frame from `stream_name` and return it as an MCP Image.
| Parameter | Type | Description |
|---|---|---|
stream_name * | string | |
height | ||
width |
get_stream_urls
Generate WebRTC, MSE, HLS (.m3u8), MP4, MJPEG, JPEG snapshot, and RTSP URLs for a stream.
| Parameter | Type | Description |
|---|---|---|
stream_name * | string |
add_stream
Dynamically add or overwrite a stream on go2rtc (`PUT /api/streams`). Rejects `exec:`, `echo:`, and `expr:` sources unless `GO2RTC_ALLOW_EXEC_STREAMS=true`.
| Parameter | Type | Description |
|---|---|---|
source_url * | string | |
stream_name * | string |
update_stream
Dynamically update an existing stream on go2rtc (`PATCH /api/streams`). Rejects `exec:`, `echo:`, and `expr:` sources unless `GO2RTC_ALLOW_EXEC_STREAMS=true`.
| Parameter | Type | Description |
|---|---|---|
source_url * | string | |
stream_name * | string |
delete_stream
Delete a dynamically registered stream from go2rtc (`DELETE /api/streams`).
| Parameter | Type | Description |
|---|---|---|
stream_name * | string |
get_config
Retrieve the go2rtc YAML configuration (`GET /api/config`) with all credentials redacted.
get_server_logs
Retrieve the most recent `limit` log entries from go2rtc (`GET /api/log`), sanitized.
| Parameter | Type | Description |
|---|---|---|
limit | integer |
discover_sources
Discover stream sources from a go2rtc integration (`hass`, `onvif`, `dvrip`, `homekit`).
| Parameter | Type | Description |
|---|---|---|
provider | string |