frigate-auth-mcp
This server provides read-only, authenticated access to Frigate NVR for viewing cameras, events, and review activity.
Check Frigate version, uptime, visible cameras, and per-camera FPS/detection FPS.
List tracked-object events, newest first, filtered by camera, label, time, limit, and whether a GenAI description exists.
Get detailed information for a single event, including its GenAI description when available.
Retrieve an event snapshot with its bounding box, optionally cropped or resized/compressed.
Retrieve the latest frame from a camera, with configurable height and JPEG quality.
List review items as shown in the Frigate UI, filtered by camera, severity, time, and limit; defaults to the last 7 days.
Get alert and detection counts for the last 24 hours and per-day counts over a configurable number of days.
Use only read-only tools against Frigate’s authenticated port, with a viewer-role login and no destructive actions.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@frigate-auth-mcp show me any person detections on the driveway camera today"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
frigate-auth-mcp
What
An MCP server with authentication for Frigate NVR: lets an AI assistant (Claude Code, Claude Desktop, Hermes or any other MCP client) look at your cameras, events and reviews - and nothing more.
It logs in to Frigate's authenticated port as a user with the viewer role, so Frigate itself enforces what the
assistant may see. Tested with Frigate 0.17.x.
Related MCP server: MCP Frigate Optimizer
Install
Python 3.11+ and uv. Nothing to install by hand: the MCP client starts the server from PyPI with
uvx frigate-auth-mcpThe latest code from GitHub runs with uvx --from git+https://github.com/adel-s/frigate-auth-mcp frigate-auth-mcp.
Setup
In Frigate, create a user for the assistant (Settings -> Users) with the role
viewer. If the role lets you limit cameras, give it only the cameras the assistant should see.Add the server to your MCP client. For Claude Code, in
.mcp.json:
{
"mcpServers": {
"frigate": {
"command": "uvx",
"args": ["frigate-auth-mcp"],
"env": {
"FRIGATE_URL": "https://frigate.example.com:8971",
"FRIGATE_USER": "assistant",
"FRIGATE_PASSWD": "${FRIGATE_PASSWD}"
}
}
}
}Keep the password out of the file: put it in the environment the client runs in.
Tools
Tool | What it returns | Frigate API |
| version, uptime, the cameras this user may see, per-camera fps |
|
| tracked-object events, filters by camera, label, time, GenAI description |
|
| one event in detail, with its GenAI description |
|
| snapshot of an event with the bounding box, optionally cropped; 480 px, quality 70 by default |
|
| the current frame of a camera; 480 px, quality 70 by default |
|
| review items as in the Frigate UI, last 7 days by default |
|
| alert and detection counts for the last 24 hours and per day |
|
Environment
Variable | Meaning |
| cameras allowed to return images, comma-separated; default all |
| upper limit for the image |
| upper limit for the JPEG |
| password of the Frigate user, required (secret) |
| seconds per request, default |
| base URL of the authenticated port, default |
| Frigate username, required |
Safety
Talks to the authenticated port (
8971by default) only, never to the unauthenticated internal port5000, which gives full API access to anyone who can reach it.Logs in as a Frigate user with the role
viewer; the only non-GET call isPOST /api/login.No tool deletes, exports, edits the config or restarts anything.
Every tool carries the MCP annotations
readOnlyHint: trueanddestructiveHint: false, so clients can tell that the server only reads.The raw Frigate config is not exposed: it carries camera stream URLs with credentials.
Optional image filter
FRIGATE_IMAGE_CAMERAS: only these cameras return images (snapshots, frames). This is the second layer of protection, after the camera limit of the Frigate user's role; by default all cameras are allowed. Use it when the MCP client sends images to a third-party model and some frames, such as indoor cameras, must not leave your home.
Skill
skills/frigate-cameras/SKILL.md tells the assistant how to use the tools:
which tool answers which question, text before images, small images, what an empty result or an error means.
It is a plain Agent Skill: copy the frigate-cameras folder into the skills folder of
your client (for Claude Code .claude/skills/, for Hermes ~/.hermes/skills/<category>/).
Why
The Frigate MCP server I found talks to port 5000 without authentication and exposes tools that delete events,
start exports, save the config or restart Frigate. Handing that to an AI model is more trust than a camera system
deserves. This server gives the assistant eyes, not hands.
Notes
Without
after, Frigate's/api/reviewreturns only the last 24 hours;list_reviewsasks for the last 7 days instead, so "what happened this week" gets a full answer.list_eventswithhas_descriptionfilters on the GenAI description, which the Frigate API cannot do itself.Images default to 480 px and JPEG quality 70 to keep the model's context small;
heightandqualityraise them when a detail is too small to see. Models tend to ask for more than they need:FRIGATE_IMAGE_MAX_HEIGHTandFRIGATE_IMAGE_MAX_QUALITYcap what they get, larger requests are lowered to the limit.Errors come back as short plain messages (object not found, login rejected, access denied, Frigate unreachable) without the internal Frigate host name.
Tests
uv run python -m unittest discover -s testsThe tests use unittest and a fake Frigate API on httpx.MockTransport, so they need no running Frigate. They
also check that no tool sends anything but GET, apart from the login.
GitHub Actions runs them on Python 3.11 to 3.14 on each push to master and dev/* branches.
Development
If something doesn't work or you need a new feature feel free to open an issue and I'll fix it ASAP!
License
MIT, see LICENSE.
Available Tools
7 toolsevent_snapshotARead-onlyIdempotent
Snapshot of an event with its bounding box; crop=True zooms on the object. Keep the default height/quality; raise them only when the user needs a detail that is too small to see. The server may cap both.
Inputs: event_id (required), crop, height, quality.
frigate_statusARead-onlyIdempotent
Frigate version, uptime, the cameras this user may see and per-camera fps / detection fps.
Inputs: no named parameters.
get_eventBRead-onlyIdempotent
One event in detail, including the GenAI description when there is one.
Inputs: event_id (required).
latest_frameBRead-onlyIdempotent
The current frame of a camera. Keep the default height/quality; raise them only when the user needs a detail that is too small to see. The server may cap both.
Inputs: camera (required), height, quality.
list_eventsBRead-onlyIdempotent
Tracked-object events, newest first. after/before: ISO 8601 or unix seconds. label e.g. person, cat, squirrel. has_description=True keeps only events with a GenAI description.
Inputs: after, label, limit, before, +2 more. Returns: result
list_reviewsARead-onlyIdempotent
Review items (what the Frigate UI shows), newest first. severity: alert or detection. after/before: ISO 8601 or unix seconds; after defaults to 7 days ago (Frigate itself returns only the last 24 hours when it is not set).
Inputs: after, limit, before, camera, +1 more. Returns: result
review_summaryARead-onlyIdempotent
Counts of alerts and detections for the last 24 hours and per day for the last days days
(reviewed / not reviewed), as in the Frigate UI.
Inputs: days.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
The read-only image tools (event_snapshot vs latest_frame) are clearly separable by event-vs-live framing, and list_events/get_event follow an obvious list-vs-detail split. The closest overlap is list_reviews vs list_events, since both are time-ordered Frigate activity lists, but the descriptions distinguish review items from tracked-object events and review_summary is clearly an aggregate.
All names are consistently snake_case and domain-flavored, which helps readability. However the verb convention is mixed: list_reviews, list_events and get_event are verb_noun while event_snapshot, latest_frame, review_summary and frigate_status are bare noun phrases, so an agent can't infer the pattern reliably.
Seven tools is well within the sweet spot for an NVR-read server, and each covers a distinct retrieval need: images, events, reviews, summaries, and system status. Nothing feels padded or redundant.
The read surface is coherent, but Frigate's review workflow implies marking reviews as reviewed/unreviewed and there is no tool for that despite review_summary reporting reviewed counts. Clip/recording retrieval — a core Frigate capability tied to events — is also absent, leaving agents at a dead end for video requests.
Maintenance
Related MCP Connectors
Watch cameras and video with AI vision and get alerts in Slack, Discord, Telegram or a webhook.
Ask your AI assistant about your logs, traces, security events, robot runs and video. Read-only.
Read-only AI access to HAVN properties, leads, tasks, files, media, and analytics.
Connect AI assistants to explicitly paired computers, servers, and VMs for permitted remote actions.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with Mender IoT platform for device management, deployment monitoring, and fleet analysis through natural language commands. Provides read-only access to device status, deployment logs, releases, and system monitoring capabilities.2MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to audit, manage, and optimize Frigate NVR configurations, including LPR tuning and recording management.MIT
- FlicenseAqualityBmaintenanceEnables AI assistants to interact with Frigate NVR security camera systems, supporting camera management, event detection, snapshots, recordings, and system stats via natural language.714-
- AlicenseAqualityBmaintenanceEnables interacting with a self-hosted UniFi Protect console through natural language, covering cameras, recorded events, smart detections, snapshots, footage export, and connected devices, with optional write access.2225 npm1MIT