Skip to content

UniFi Gateway

Runs onlineCredentials listedRepository declared by sourceUpdated 2026-11-29

io.github.pete-builds/unifi · Registry status: active

Report data on this entry

At a glance

Safe-by-default UniFi MCP: Network + Protect + Access, multi-site, dry-run, audit log.

Vendor's own description, untranslated and unverified

Execution location
Runs onlineMCP-Register · 2026-08-06
Required secrets declared
Credentials listedMCP-Register · 2026-11-19
Declared version and change
0.32.0 · Source-reported change date 2026-11-29MCP-Register · 2026-11-30
Repository as declared
github.com/pete-builds/mcp-unifiMCP-Register · 2026-08-06
Configuration
can be built from the disclosed start template

Inspect connection paths and prerequisites

Related categories

6 of 9 categories. All categories in the segment catalogue

Page last changed:

Sources and collection
Runs
Runs online
Credentials
Credentials listed
Registry record changed
2026-11-29
Setup
Template available
Registry name
io.github.pete-builds/unifi
Package coordinate
oci:ghcr.io/pete-builds/mcp-unifi:0.32.0
Declared version
0.32.0
Source-reported listing date
2026-11-29
Source-reported change date
2026-11-29
First seen by tracevero
2026-08-06
Vendor's website
https://pete-builds.github.io/mcp-unifi/

Evidence for this page: The values on this page come from several collections. Each row therefore states its own origin. What the confidence levels mean

Measured values

Measured values
Required secrets declaredCredentials listed yes
Original data – Required secret variables (raw): MCP_UNIFI_AUTH_TOKENS
Original data – Required secret headers (raw): confirmed absent
Source: MCP-Register · collected on 2026-11-19 · derived
Execution locationRuns online remote
Original data – Transports (raw): streamable-http
Source: MCP-Register · collected on 2026-08-06 · derived
Path argument presentno
Original data – Path arguments (raw): confirmed absent
Original data – Path environment variables (raw): confirmed absent
Source: MCP-Register · collected on 2026-08-06 · derived
Repository URL listedRepository declared by source yes
Original data – Repository (raw): https://github.com/pete-builds/mcp-unifi
Source: MCP-Register · collected on 2026-08-06 · derived
Declared version0.32.0
Source: MCP-Register · collected on 2026-11-30 · self-declared

What is measured is what a manifest declares, not what a piece of software does. This registry fetches no repository URL, no endpoint and no package index; nothing here is verified. Which value comes from which source, and by which rule it was formed, is set out in the Methodology.

Source data25

Evidence for this page: The values on this page come from several collections. Each row therefore states its own origin.

Raw values
Description (raw)Safe-by-default UniFi MCP: Network + Protect + Access, multi-site, dry-run, audit log.
Source: MCP-Register · collected on 2026-08-26 · self-declared
Environment variables (raw)STUB_MODE, MCP_UNIFI_AUTH_TOKENS, MCP_UNIFI_READONLY, UNIFI_HOST, UNIFI_API_KEY, UNIFI_API_KEY_FILE, UNIFI_PINNED_CERT, UNIFI_SITE, UNIFI_VERIFY_SSL, MCP_UNIFI_CONTROLLERS_FILE, MCP_UNIFI_MODULES_ENABLED, UNIFI_ACCESS_HOST, UNIFI_ACCESS_API_KEY, UNIFI_ACCESS_PORT, MCP_UNIFI_AUDIT_SINK, MCP_UNIFI_AUDIT_PATH
Source: MCP-Register · collected on 2026-11-19 · self-declared
Required secret variables (raw)MCP_UNIFI_AUTH_TOKENS
Source: MCP-Register · collected on 2026-11-19 · self-declared
Transports (raw)streamable-http
Source: MCP-Register · collected on 2026-08-06 · self-declared
Path arguments (raw)confirmed absent
Source: MCP-Register · collected on 2026-08-06 · self-declared
Repository (raw)https://github.com/pete-builds/mcp-unifi
Source: MCP-Register · collected on 2026-08-06 · self-declared
Package registries (raw)oci
Source: MCP-Register · collected on 2026-08-06 · self-declared
Required secret headers (raw)confirmed absent
Source: MCP-Register · collected on 2026-08-16 · self-declared
Path environment variables (raw)confirmed absent
Source: MCP-Register · collected on 2026-08-16 · self-declared
Remote URLs (raw)confirmed absent
Source: MCP-Register · collected on 2026-08-16 · self-declared
Remote hosts (raw)confirmed absent
Source: MCP-Register · collected on 2026-08-16 · self-declared
Registry status message (raw)confirmed absent
Source: MCP-Register · collected on 2026-08-16 · self-declared
First listed in the registry (raw)2026-11-29
Source: MCP-Register · collected on 2026-11-30 · self-declared
Last changed in the registry (raw)2026-11-29
Source: MCP-Register · collected on 2026-11-30 · self-declared
Schema version of the raw record (raw)https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json
Source: MCP-Register · collected on 2026-08-16 · self-declared
Delivery form (raw)package
Source: MCP-Register · collected on 2026-08-16 · self-declared
Repository platform (raw)github
Source: MCP-Register · collected on 2026-08-16 · self-declared
Repository subfolder (raw)confirmed absent
Source: MCP-Register · collected on 2026-08-16 · self-declared
Package identifiers (raw)ghcr.io/pete-builds/mcp-unifi:0.32.0
Source: MCP-Register · collected on 2026-11-30 · self-declared
Package versions (raw)confirmed absent
Source: MCP-Register · collected on 2026-08-16 · self-declared
Runtime hints (raw)docker
Source: MCP-Register · collected on 2026-08-16 · self-declared
Environment variable formats (raw)string
Source: MCP-Register · collected on 2026-08-16 · self-declared
Environment variable descriptions (raw)MCP_UNIFI_AUDIT_PATH=Path for the audit log file when MCP_UNIFI_AUDIT_SINK=file. Defaults to audit.jsonl in the process CWD. · MCP_UNIFI_AUDIT_SINK=Audit log sink. One of 'file' (default), 'stdout', or 'syslog'. Every tool call is recorded to a JSONL stream with secrets scrubbed. · MCP_UNIFI_AUTH_TOKENS=Bearer tokens that HTTP clients must present. Required: the streamable-http transport exits at startup with 'HTTP transport requires MCP_UNIFI_AUTH_TOKENS' when it is empty. Comma-separated; each entry is a bare token (named client-N automatically) or a 'name:token' pair. Generate one with `openssl rand -hex 32`. · MCP_UNIFI_CONTROLLERS_FILE=Path to a YAML file describing multiple named controllers for multi-site management. When set, the legacy UNIFI_HOST / UNIFI_API_KEY env vars are ignored. Each entry needs name, host, api_key, and optionally port, site, verify_ssl. · MCP_UNIFI_MODULES_ENABLED=Comma-separated list of modules to load. Known values: 'network', 'protect', 'access'. Defaults to 'network'. Set to 'network,protect,access' to enable Protect and Access tools alongside Network. Access currently ships read-only; door unlocks and credential issuance require session-token auth and are deferred. · MCP_UNIFI_READONLY=When true, every tool that changes state is hidden from tools/list and refused on tools/call; read tools are unaffected. Defense in depth on top of a read-only UniFi API key. Defaults to false. · STUB_MODE=When true, the server returns realistic mock data and requires no UniFi hardware. Defaults to true. Set to false to manage a real gateway, which then needs UNIFI_HOST plus UNIFI_API_KEY (or UNIFI_API_KEY_FILE), or MCP_UNIFI_CONTROLLERS_FILE. In either mode the HTTP transport will not start without MCP_UNIFI_AUTH_TOKENS. · UNIFI_ACCESS_API_KEY=UniFi Access API key. Separate from the Network API key; generated on the Access controller's developer settings. Required when the access module is enabled and STUB_MODE=false. · UNIFI_ACCESS_HOST=UniFi Access hub IP or hostname. Required when the access module is enabled and STUB_MODE=false. Often the same host as UNIFI_HOST. · UNIFI_ACCESS_PORT=HTTPS port for the Access hub. Defaults to 12445 (the direct Access app port). · UNIFI_API_KEY=Local API key generated under Settings -> Control Plane -> Integrations on the gateway. Required when STUB_MODE=false and MCP_UNIFI_CONTROLLERS_FILE is unset, unless UNIFI_API_KEY_FILE is used instead. · UNIFI_API_KEY_FILE=Path to a file inside the container that holds the local API key, for a Docker or Kubernetes secret mount. Wins over UNIFI_API_KEY when both are set. A controller configured this way verifies the gateway's TLS certificate unless UNIFI_VERIFY_SSL is set to false. · UNIFI_HOST=IP address or hostname of the UniFi OS gateway (UCG-Fiber, UDM Pro, etc). Required when STUB_MODE=false and MCP_UNIFI_CONTROLLERS_FILE is unset. · UNIFI_PINNED_CERT=Path to a file inside the container that holds the gateway's own certificate in PEM, recorded with mcp-unifi-pin-cert. When set, that certificate is the only one the server accepts from the gateway, and a mismatch fails every request. Do not set UNIFI_VERIFY_SSL to false alongside it: the server refuses to start. · UNIFI_SITE=UniFi controller site name. Defaults to 'default'. · UNIFI_VERIFY_SSL=Whether to verify the gateway's TLS certificate. Defaults to false because most home gateways use a self-signed cert.
Source: MCP-Register · collected on 2026-11-19 · self-declared
Icon formats (raw)confirmed absent
Source: MCP-Register · collected on 2026-08-16 · self-declared
Connection paths (source structure){"packages":[{"registryType":"oci","identifier":"ghcr.io/pete-builds/mcp-unifi:0.32.0","runtimeHint":"docker","transport":"streamable-http","environment":[{"name":"STUB_MODE","description":"When true, the server returns realistic mock data and requires no UniFi hardware. Defaults to true. Set to false to manage a real gateway, which then needs UNIFI_HOST plus UNIFI_API_KEY (or UNIFI_API_KEY_FILE), or MCP_UNIFI_CONTROLLERS_FILE. In either mode the HTTP transport will not start without MCP_UNIFI_AUTH_TOKENS.","format":"string","required":false,"secret":false},{"name":"MCP_UNIFI_AUTH_TOKENS","description":"Bearer tokens that HTTP clients must present. Required: the streamable-http transport exits at startup with 'HTTP transport requires MCP_UNIFI_AUTH_TOKENS' when it is empty. Comma-separated; each entry is a bare token (named client-N automatically) or a 'name:token' pair. Generate one with `openssl rand -hex 32`.","format":"string","required":true,"secret":true},{"name":"MCP_UNIFI_READONLY","description":"When true, every tool that changes state is hidden from tools/list and refused on tools/call; read tools are unaffected. Defense in depth on top of a read-only UniFi API key. Defaults to false.","format":"string","required":false,"secret":false},{"name":"UNIFI_HOST","description":"IP address or hostname of the UniFi OS gateway (UCG-Fiber, UDM Pro, etc). Required when STUB_MODE=false and MCP_UNIFI_CONTROLLERS_FILE is unset.","format":"string","required":false,"secret":false},{"name":"UNIFI_API_KEY","description":"Local API key generated under Settings -> Control Plane -> Integrations on the gateway. Required when STUB_MODE=false and MCP_UNIFI_CONTROLLERS_FILE is unset, unless UNIFI_API_KEY_FILE is used instead.","format":"string","required":false,"secret":true},{"name":"UNIFI_API_KEY_FILE","description":"Path to a file inside the container that holds the local API key, for a Docker or Kubernetes secret mount. Wins over UNIFI_API_KEY when both are set. A controller configured this way verifies the gateway's TLS certificate unless UNIFI_VERIFY_SSL is set to false.","format":"string","required":false,"secret":false},{"name":"UNIFI_PINNED_CERT","description":"Path to a file inside the container that holds the gateway's own certificate in PEM, recorded with mcp-unifi-pin-cert. When set, that certificate is the only one the server accepts from the gateway, and a mismatch fails every request. Do not set UNIFI_VERIFY_SSL to false alongside it: the server refuses to start.","format":"string","required":false,"secret":false},{"name":"UNIFI_SITE","description":"UniFi controller site name. Defaults to 'default'.","format":"string","required":false,"secret":false},{"name":"UNIFI_VERIFY_SSL","description":"Whether to verify the gateway's TLS certificate. Defaults to false because most home gateways use a self-signed cert.","format":"string","required":false,"secret":false},{"name":"MCP_UNIFI_CONTROLLERS_FILE","description":"Path to a YAML file describing multiple named controllers for multi-site management. When set, the legacy UNIFI_HOST / UNIFI_API_KEY env vars are ignored. Each entry needs name, host, api_key, and optionally port, site, verify_ssl.","format":"string","required":false,"secret":false},{"name":"MCP_UNIFI_MODULES_ENABLED","description":"Comma-separated list of modules to load. Known values: 'network', 'protect', 'access'. Defaults to 'network'. Set to 'network,protect,access' to enable Protect and Access tools alongside Network. Access currently ships read-only; door unlocks and credential issuance require session-token auth and are deferred.","format":"string","required":false,"secret":false},{"name":"UNIFI_ACCESS_HOST","description":"UniFi Access hub IP or hostname. Required when the access module is enabled and STUB_MODE=false. Often the same host as UNIFI_HOST.","format":"string","required":false,"secret":false},{"name":"UNIFI_ACCESS_API_KEY","description":"UniFi Access API key. Separate from the Network API key; generated on the Access controller's developer settings. Required when the access module is enabled and STUB_MODE=false.","format":"string","required":false,"secret":true},{"name":"UNIFI_ACCESS_PORT","description":"HTTPS port for the Access hub. Defaults to 12445 (the direct Access app port).","format":"string","required":false,"secret":false},{"name":"MCP_UNIFI_AUDIT_SINK","description":"Audit log sink. One of 'file' (default), 'stdout', or 'syslog'. Every tool call is recorded to a JSONL stream with secrets scrubbed.","format":"string","required":false,"secret":false},{"name":"MCP_UNIFI_AUDIT_PATH","description":"Path for the audit log file when MCP_UNIFI_AUDIT_SINK=file. Defaults to audit.jsonl in the process CWD.","format":"string","required":false,"secret":false}],"additional_arguments_declared":false}],"remotes":[]}
Source: MCP-Register · collected on 2026-11-30 · self-declared
Embed this badge

Paste this line into a README of your own. The badge states how many values the registry holds for the entry and when it last looked, and it links back to this page.

tracevero: number of measured values and date of collection for this registry entry

[![tracevero: number of measured values and date of collection for this registry entry](https://tracevero.com/badge/mcp/io-github-pete-builds-unifi.svg)](https://tracevero.com/mcp/io-github-pete-builds-unifi)

The image is drawn again on every request, so it always reports the current state while the pasted line stays as it is. It carries no rating and no traffic light – only the two measured figures.

Changes

Changes
2026-11-30Declared version: 0.31.0 → 0.32.0
2026-11-30Last changed in the registry (raw): 2026-11-28 → 2026-11-29
2026-11-30First listed in the registry (raw): 2026-11-28 → 2026-11-29

These are the 3 most recent changes to this entry. Full history

tracevero · https://tracevero.com/mcp/io-github-pete-builds-unifi