Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

UniFi MCP server

by enuno/unifi-mcp-serverApache-2.0 licenceAudited 6 Oct 2026 · source d542d730ae99

npm unifi-api-scraper 1.0.0stdiostreamable-http★ 280
✕BLOCKGrade D · 69/100 · 6 Oct 2026 · d542d73

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

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
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

Trust score69/100✕BLOCK D
0 critical2 high2 medium23 low9 info

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
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
- 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
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
- 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
F-04 Network egressCWE-200 · CWE-319Layer L1
✓ UniFi Host: https://192.168.2.1
Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.generic · AGENTS.md:293
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
LOWInventory / provenanceinv.hidden_file · .aiignore
F-13 Inventory / provenanceCWE-1104Layer L0
.aiignore
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · .clinerules
F-13 Inventory / provenanceCWE-1104Layer L0
.clinerules
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · .env.docker.example
F-13 Inventory / provenanceCWE-1104Layer L0
.env.docker.example
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · .markdownlint.json
F-13 Inventory / provenanceCWE-1104Layer L0
.markdownlint.json
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · .pre-commit-config.yaml
F-13 Inventory / provenanceCWE-1104Layer L0
.pre-commit-config.yaml
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWCode injectioncode.dynamic_import · tests/unit/test_tool_registry.py:126
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
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
F-04 Network egressCWE-200 · CWE-319Layer L1
- `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
F-04 Network egressCWE-200 · CWE-319Layer L1
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
F-04 Network egressCWE-200 · CWE-319Layer L1
== "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
F-04 Network egressCWE-200 · CWE-319Layer L1
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
F-08 Supply chainCWE-829 · CWE-1357Layer L1
anthropic, mcp
Why
2 requirement(s) not pinned with ==
Fix
pin exact versions
LOWSupply chainsupply.unpinned · .claude/skills/mcp-builder/scripts/requirements.txt
F-08 Supply chainCWE-829 · CWE-1357Layer L1
anthropic, mcp
Why
2 requirement(s) not pinned with ==
Fix
pin exact versions
LOWSupply chainsupply.unpinned · package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
posthog-node
Why
1 dependency range(s) float
Fix
pin exact versions or ship a lockfile
LOWSupply chainsupply.unpinned · scripts/package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
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
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
- **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
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
- **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

2 read0 write0 destructive
ToolWhat it doesRisk
debug_api_requestDebug tool to query arbitrary UniFi API endpoints.read
health_checkHealth 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

  1. ✕BLOCK D 69 / 100

    First audit · d542d730ae99

README badge

Badges show the current verdict, BLOCK included

ModelsAtlas: BLOCK DMODELSATLASBLOCK · D

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?
An MCP server that leverages official UniFi API
What tools does UniFi expose?
2 in total: 2 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is UniFi safe to connect to an agent?
No — not without reading the findings first. The audit graded it D (69/100) and found 2 critical or high issues in the source. Each one is listed on this page with the file and line it is on.
What credentials does UniFi need?
It reads ANTHROPIC_API_KEY, ANTHROPIC_AUTH_TOKEN, AUTH_2FA_TIMEOUT, AUTH_PASSKEY_TIMEOUT, AUTH_PASSWORD_TIMEOUT, UNIFI_API_KEY, UNIFI_CLOUD_API_KEY, UNIFI_CLOUD_EA_API_KEY, UNIFI_CLOUD_V1_API_KEY, UNIFI_HOME_API_KEY, UNIFI_LAB_API_KEY and UNIFI_LOCAL_API_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does UniFi run?
It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as unifi-api-scraper at 1.0.0.
How current is this page?
The grade is for one exact copy of the source (d542d730ae99), read on 2026-10-06. The repository is watched and re-audited when it changes.
I already installed UniFi. What should I do?
Remove it from your client's MCP configuration, then rotate any API keys and tokens that were in your environment while it ran.
Can the verdict change?
Yes. The repository is watched and re-audited when its source changes. If the findings are removed the verdict updates, and the history on this page shows it.

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.