Frigate Auth

v0.3.0
io.github.adel-s/frigate-auth-mcp Checked 4 days ago Published 1 month ago

MCP server with authentication for Frigate NVR (authenticated port, viewer role)

Values you need

VariableWhat it is
FRIGATE_URLoptional Base URL of the authenticated Frigate port Default: http://localhost:8971
FRIGATE_USERrequired Frigate username with the viewer role
FRIGATE_PASSWDrequired secret Password of the Frigate user
FRIGATE_IMAGE_CAMERASoptional Cameras allowed to return images, comma-separated; default all
FRIGATE_IMAGE_MAX_HEIGHToptional Upper limit for the height of returned images, in pixels; default no limit
FRIGATE_IMAGE_MAX_QUALITYoptional Upper limit for the JPEG quality of returned images (1-100); default no limit
FRIGATE_TIMEOUToptional Seconds per request Default: 30

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add frigate-auth-mcp -e 'FRIGATE_PASSWD=<FRIGATE_PASSWD>' -e 'FRIGATE_USER=<FRIGATE_USER>' -- uvx frigate-auth-mcp==0.3.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "frigate-auth-mcp": {
      "args": [
        "frigate-auth-mcp==0.3.0"
      ],
      "command": "uvx",
      "env": {
        "FRIGATE_PASSWD": "<FRIGATE_PASSWD>",
        "FRIGATE_USER": "<FRIGATE_USER>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "frigate-auth-mcp": {
      "args": [
        "frigate-auth-mcp==0.3.0"
      ],
      "command": "uvx",
      "env": {
        "FRIGATE_PASSWD": "<FRIGATE_PASSWD>",
        "FRIGATE_USER": "<FRIGATE_USER>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "FRIGATE_PASSWD",
      "id": "frigate-passwd",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "FRIGATE_USER",
      "id": "frigate-user",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "frigate-auth-mcp": {
      "args": [
        "frigate-auth-mcp==0.3.0"
      ],
      "command": "uvx",
      "env": {
        "FRIGATE_PASSWD": "${input:frigate-passwd}",
        "FRIGATE_USER": "${input:frigate-user}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.frigate-auth-mcp]
command = "uvx"
args = ["frigate-auth-mcp==0.3.0"]
env = { "FRIGATE_PASSWD" = "<FRIGATE_PASSWD>", "FRIGATE_USER" = "<FRIGATE_USER>" }

For AI agents

  1. Ask the user for: FRIGATE_USER, FRIGATE_PASSWD. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: frigate_status, list_events, get_event, event_snapshot, latest_frame, list_reviews, review_summary.
  5. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json