Skills/npm/mcp-unifi-network

mcp-unifi-network@0.8.0

VERIFIED

Publisher claims: "Model Context Protocol server for the UniFi Network API" Observed in sandbox: no network, touches nothing outside the project, writes no memory.

Registry npm (MCP server)Publisher mgcrea · publishing for 125 daysInstalls 406Last detonated 1 h ago
$claude mcp add mcp-unifi-network -- npx -y @mgcrea/mcp-unifi-network
WatchReport an issue

Coverage

Server started and answered tools/list.
Tested
MCP initialize and tools/list · every tool description, for hidden instructions · every file read, file written and host contacted by what ran
Not tested
what the tools do when called with real credentials

Before you give it your token

It will ask for
UNIFI_API_KEYUNIFI_PASSWORDConfiguration, not credentials: UNIFI_ALLOW_WRITES, UNIFI_APP_VERSION, UNIFI_CONFIG, UNIFI_CONSOLE_ID, UNIFI_DEBUG, UNIFI_ENABLE_LEGACY, UNIFI_HOST, UNIFI_INSECURE_TLS, UNIFI_MAX_PAGES, UNIFI_MAX_RETRIES, UNIFI_MODE, UNIFI_PAGE_LIMIT, UNIFI_PORT, UNIFI_PROBE_TIMEOUT_MS, UNIFI_SITE, UNIFI_USERNAME
Where it talks to
no vendor host named in the codeAlso ui.com, unconfigured.invalid — not the publisher's domain; check what for before connecting.
What we saw when it ran
no credential files read · no network
What we could not test
what the tools do when called with real credentials

Connect it with a scoped credential, under the guard, and read the third-party hosts first. The code names ui.com, unconfigured.invalid as well as its own vendor. The guard injects UNIFI_API_KEY, UNIFI_PASSWORD only into requests to the host you bind (and its subdomains) and refuses the rest.

$vet-skills run --net declared -- npx -y @mgcrea/mcp-unifi-network

Never paste a credential into a chat, a ticket or a report, including ours. How the guard holds it.

What changed since 0.6.0

vet-skills diff mcp-unifi-network 0.6.0 0.8.0

In the sandbox, this version reached for nothing 0.6.0 did not. Compared from the two recorded runs, not from source.

The guard can hold an update like this until someone approves it (runtime.on_change: hold). A change that only shows with a real credential, or on a path the run did not reach, is not in a trace and so not in this comparison.

Is [email protected] safe to install?

KillerSkills ran it in the KillerSkills honeypot sandbox (2 scenarios) on 2026-11-20 and scored it 84/100 (Verified). It did what it claims and nothing else we could detect: no undeclared network egress, no credential reads, no persistent instruction writes. Summary: no network, touches nothing outside the project, writes no memory.

Behavior trace

Honeypot run · 33 s · 2 scenarios
t+CategoryObserved action
0.0sprocessno install scripts in bundle
13sprocessdependency install exit 0
33sfilesystemread ~/.config/unifi/config.json outside project
33sclaimed1 tool: unifi_auth_status
33stools7d85842d0b8711ec
33sprocessscript backend runs setup only
33sprocessno install scripts to re-run

Static findings

MEDIUM
File permission modification commanddist/server-Bu1FptY3.js:545 · File permission modification command — agent changes file ownership/permissionsif (statSync(path).mode & 63) process.stderr.write(`[unifi] ${path} is readable by other users. Run: chmod 600 ${path}\n`);Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
LOW
URL to a private-network addressdist/index.d.ts:254 · URL to a private-network address — a LAN or development target* `https://192.168.1.1:8443/network/default/dashboard` has to work as well asFix: Replace encoded or assembled strings with plain literals and remove undeclared network calls.
AST07
LOW
URL to a private-network addressdist/server-Bu1FptY3.js:417 · URL to a private-network address — a LAN or development target* `https://192.168.1.1:8443/network/default/dashboard` has to work as well asFix: Replace encoded or assembled strings with plain literals and remove undeclared network calls.
AST07

Cost to the agent

Instructions loaded
≈54 tok
1 file · 10 in bundle
Tool list per prompt
≈140 tok
1 tool · 140 per tool
Handshake
312 ms
launch to tools/list, stdio
Undocumented tools
0
description under 20 chars · avg 408

Tokens estimated at four characters each. The tool list is re-read by the agent on every turn, so it is the number to compare between servers that do the same job: ranked across the index.

Known vulnerabilities

No advisories in OSV for @mgcrea/mcp-unifi-network@0.8.0 as of 28 min ago. This is the package itself, not its dependencies.