UniFi Gateway
Safe-by-default UniFi MCP: Network + Protect + Access, multi-site, dry-run, audit log.
Open the source (opens github.com) https://github.com/pete-builds/mcp-unifi
Before you use it
- Runs on your computer with your permissions. Read what it can do before connecting it to an agent.
- Needs credentials: MCP_UNIFI_AUTH_TOKENS, UNIFI_ACCESS_API_KEY, UNIFI_API_KEY. Use a key with the least access you can.
What it is
MCP servers from io.github.pete-builds.
The problem it solves and who it suits haven't been reviewed by InnerVault. The description above is the source's own.
How to get it
oci package (streamable-http)
ghcr.io/pete-builds/mcp-unifi:0.29.0
From the server's entry in the official MCP Registry
Settings it asks for
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…MCP_UNIFI_AUTH_TOKENSsecret required · Bearer tokens that HTTP clients must present. Required: the streamable-http transport exits at startup with 'HTTP transport requires MCP_UNIFI_AUTH_TOKENS'…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…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_API_KEYsecret · Local API key generated under Settings -> Control Plane -> Integrations on the gateway. Required when STUB_MODE=false and MCP_UNIFI_CONTROLLERS_FILE is unset…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…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…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.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…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…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.
Related
-
agent
MCP serversA unified Model Context Protocol server implementation that aggregates multiple MCP servers into one.
git clone https://github.com/1mcp-app/agent.git -
Unified AI System MCP Gateway
MCP serversSelf-hosted MCP gateway for Codex, Cursor, and Cline with provider-free prompt enhancement.
ghcr.io/happy520ai/unified-ai-system/mcp-server:0.8.0 -
AAI Gateway
MCP serversUnified MCP & Skill management gateway, shared across AI agents, 99% context token savings
aai-gateway@1.1.10 -
Hive Gateway
MCP serversUnified gateway hosting 5 Hive Civilization MCP servers (evaluator, trade, depin, compute-grid…
-
mcp-gateway
MCP serversAggregates tools from multiple MCP servers with unified BM25/regex search and deferred loading.
mcp-orchestration-gateway@0.1.1 -
mcp-gateway
MCP serversTransform any HTTP endpoint into an MCP server. Aggregate multiple MCP servers, manage configuration profiles, and serve them through a unified gateway with multi-tenant isolation.
git clone https://github.com/unrelated-ai/mcp-gateway.git