MCP server · Audited from source
UniFi MCP server
by enuno/unifi-mcp-serverApache-2.0 licenceAudited 6 Oct 2026 · source d542d730ae99
Is it safe? No — BLOCK, grade D (69/100). It exposes 2 tools: 2 read, 0 write and 0 destructive. The audit recorded 36 findings (0 critical, 2 high, 2 medium, 23 low). Maintainer's description: An MCP server that leverages official UniFi API
Cite
Cite this page
ModelsAtlas. “UniFi MCP server (enuno/unifi-mcp-server)”. Retrieved 6 Oct 2026. https://modelsatlas.com/mcp/enuno/unifi-1
Why this is BLOCK. The audit found 0 critical and 2 high findings; the most severe is Prompt injection at .agents/skills/fastmcp/SKILL.md:676. Each finding is listed below with its file and line.
Why this page is still public. People search for this server by name. Hiding it would leave them with the README's word alone; here they see what the code does. We list it so you can decide, and we do not show connect commands for BLOCK servers.
Trust audit
Audit 0.4.1 · full source read 6 Oct 2026
36 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.
What the source does
- FilesystemDeclared6 observations
- NetworkDeclared5 observations
- ShellNone observedNothing seen in the source
- DependenciesNot pinnedSome ranges float
- SecretsFoundSee the findings
Findings (36)
Sorted by severity · the 25 most severe of 36 are listed
HIGHPrompt injectionprompt.credential_read · .agents/skills/fastmcp/SKILL.md:676
- Use `--env-file` to load from `.env` file
- Why
- asks the agent to read credentials
- Fix
- —
HIGHPrompt injectionprompt.credential_read · .claude/skills/fastmcp/SKILL.md:676
- Use `--env-file` to load from `.env` file
- Why
- asks the agent to read credentials
- Fix
- —
MEDIUMNetwork egressnet.raw_ip · .claude/commands/unifi-mcp-inspect.md:118
✓ UniFi Host: https://192.168.2.1
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.generic · AGENTS.md:293
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWCode injectioncode.dynamic_import · tests/unit/test_tool_registry.py:126
modules.append(importlib.import_module(f"src.tools.{info.name}"))- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · scripts/scraper/auth/debug-login-page.js:41
const screenshotPath = path.join(__dirname, '../../screenshots/login-page.png');
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · scripts/scraper/auth/debug-login-page.js:101
const htmlPath = path.join(__dirname, '../../screenshots/login-page.html');
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · scripts/scraper/auth/unifi-login.js:13
const COOKIES_FILE = path.join(__dirname, '../../session-cookies.json');
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · scripts/scraper/utils/screenshot-debugger.js:12
const SCREENSHOT_DIR = path.join(__dirname, '../../screenshots');
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · scripts/update/update-docs.js:413
const docsDir = path.join(__dirname, '../../docs');
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · .claude/agents/unifi-documentation.md:229
- `UNIFI_HOST`: "<https://192.168.2.1>"
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · tests/unit/api/test_client.py:46
settings.base_url = "https://192.168.2.1"
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · tests/unit/api/test_client.py:493
== "https://192.168.2.1/proxy/network/v2/api/site/default/firewall/zone"
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · tests/unit/api/test_protect_client.py:36
settings.base_url = "https://192.168.2.1:443"
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · .agents/skills/mcp-builder/scripts/requirements.txt
anthropic, mcp
- Why
- 2 requirement(s) not pinned with ==
- Fix
- pin exact versions
LOWSupply chainsupply.unpinned · .claude/skills/mcp-builder/scripts/requirements.txt
anthropic, mcp
- Why
- 2 requirement(s) not pinned with ==
- Fix
- pin exact versions
LOWSupply chainsupply.unpinned · package.json
posthog-node
- Why
- 1 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
LOWSupply chainsupply.unpinned · scripts/package.json
puppeteer, dotenv, prompts, chalk, ora
- Why
- 5 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
LOWPrompt injectionprompt.transfer_instruction · CHANGELOG.md:35
- **Network transports now require authentication (breaking)**: the `http`, `sse`, and `streamable_http` transports expose every registered tool — including destructive ones — over a TCP listener, but
- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
LOWPrompt injectionprompt.transfer_instruction · CHANGELOG.md:65
- **Every rejected sessionless request to `/mcp` leaked ~44 KiB, permanently (issue #173)**: the `mcp` SDK's `StreamableHTTPSessionManager` creates and registers a new session (transport plus server t
- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
Tools it exposes
2 declared in source · 0 destructive
| Tool | What it does | Risk |
|---|---|---|
debug_api_request | Debug tool to query arbitrary UniFi API endpoints. | read |
health_check | Health check endpoint to verify server is running. | read |
Safer alternatives
We could not match this server to a job, so we cannot suggest a like-for-like alternative. Read-only servers are the least-privilege place to start.
Audit history
- ✕BLOCK D 69 / 100
First audit ·
d542d730ae99
README badge
Badges show the current verdict, BLOCK included
A badge cannot be hidden by the maintainer while the verdict is BLOCK. Fix the findings, push, and the re-audit updates it.
Questions about UniFi MCP server
What is the UniFi MCP server?
What tools does UniFi expose?
Is UniFi safe to connect to an agent?
What credentials does UniFi need?
How does UniFi run?
How current is this page?
I already installed UniFi. What should I do?
Can the verdict change?
Sources
- enuno/unifi-mcp-server on GitHub — the source we read, its licence, stars and activityObserved · 6 Oct 2026
- ModelsAtlas trust audit — BLOCK verdict for commit d542d730ae99Observed · 6 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What is the UniFi MCP server?
- What tools does UniFi expose?
- Is UniFi safe to connect to an agent?