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

MCP server · Audited from source

UniFi Network MCP server

by sirkirby/unifi-mcpMIT licenceAudited 28 Sep 2026 · source f2db13568fa0

npm unifi-mcp-worker-source 1.0.0ssestdiostreamable-http★ 853
✕BLOCKGrade F · 33/100 · 28 Sep 2026 · f2db135

Is it safe? No — BLOCK, grade F (33/100). It exposes 20 tools: 13 read, 7 write and 0 destructive. The audit recorded 50 findings (0 critical, 3 high, 12 medium, 35 low). Maintainer's description: MCP servers & Graph API for the UniFi suite of applications, Network, Protect, and Access

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “UniFi Network MCP server (sirkirby/unifi-mcp)”. Retrieved 28 Sep 2026. https://modelsatlas.com/mcp/sirkirby/unifi-network-1

Why this is BLOCK. The audit found 0 critical and 3 high findings; the most severe is Prompt injection at .agents/skills/claude-plugin-config-transport/SKILL.md:353. 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.

Copy of mcp/sirkirby/unifi-mcp: identical text; the original is the page to read and cite.

Trust audit

Audit 0.4.1 · full source read 28 Sep 2026

Trust score33/100✕BLOCK F
0 critical3 high12 medium35 low0 info

50 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

  • FilesystemDeclared9 observations
  • NetworkDeclared9 observations
  • ShellDeclared2 observations
  • DependenciesNot pinnedSome ranges float
  • SecretsFoundSee the findings

Findings (50)

Sorted by severity · the 25 most severe of 50 are listed

HIGHPrompt injectionprompt.credential_read · .agents/skills/claude-plugin-config-transport/SKILL.md:353
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
As of PR #350, all plugin tool responses redact sensitive fields by default — Wi-Fi passphrases, VPN private/preshared keys, SNMP community strings, and Access credential token/PIN values are replaced
Why
asks the agent to read credentials
Fix
—
HIGHPrompt injectionprompt.credential_read · .agents/skills/claude-plugin-config-transport/SKILL.md:359
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
**Affected workflows:** WLAN passphrase updates, VPN key rotation, SNMP community string changes, Access credential token/PIN mutations. Plugin skills that guide agents through these workflows must ex
Why
asks the agent to read credentials
Fix
—
HIGHPrompt injectionprompt.credential_read · .agents/skills/live-smoke-testing/SKILL.md:497
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
401/403 means the key was rejected. Use this to validate Access API key configuration:
Why
asks the agent to read credentials
Fix
—
MEDIUMCode injectioncode.dynamic_import · apps/api/src/unifi_api/serializers/_registry.py:105
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
product_pkg = importlib.import_module(f"unifi_api.serializers.{product}")
Why
No further detail recorded for this rule.
Fix
—
MEDIUMCode injectioncode.dynamic_import · apps/api/src/unifi_api/serializers/_registry.py:111
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
importlib.import_module(f"unifi_api.serializers.{product}.{modname}")
Why
No further detail recorded for this rule.
Fix
—
MEDIUMInformation disclosuredisclose.log_secret · apps/worker/src/commands/rotate-tokens.mjs:97
F-12 Information disclosureCWE-209 · CWE-532Layer L1
console.log(`Rotating relay token for "${location.location_name}"...`);
Why
No further detail recorded for this rule.
Fix
—
MEDIUMInformation disclosuredisclose.log_secret · apps/worker/src/lib/display.mjs:46
F-12 Information disclosureCWE-209 · CWE-532Layer L1
console.log(`      Relay token: ${maskToken(loc.relay_token)}`);
Why
No further detail recorded for this rule.
Fix
—
MEDIUMInformation disclosuredisclose.log_secret · apps/worker/src/lib/display.mjs:51
F-12 Information disclosureCWE-209 · CWE-532Layer L1
console.log(`  Agent token: ${maskToken(config.agent_token)}`);
Why
No further detail recorded for this rule.
Fix
—
MEDIUMInformation disclosuredisclose.log_secret · apps/worker/src/lib/display.mjs:52
F-12 Information disclosureCWE-209 · CWE-532Layer L1
console.log(`  Admin token: ${maskToken(config.admin_token)}`);
Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.generic · apps/api/tests/routes/resources/test_nat_writes.py:163
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
—
MEDIUMHard-coded secretssecret.generic · apps/api/tests/test_mdns_action_audit.py:17
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
—
MEDIUMHard-coded secretssecret.generic · apps/api/tests/test_vpn_alternate_address.py:23
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
—
MEDIUMHard-coded secretssecret.generic · apps/network/tests/unit/test_threat_management_update.py:19
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
—
MEDIUMHard-coded secretssecret.generic · apps/network/tests/unit/test_vpn_alternate_address.py:21
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
—
MEDIUMHard-coded secretssecret.github · tests/test_community_issue_triage_workflow.py:2955
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 · docs/.nojekyll
F-13 Inventory / provenanceCWE-1104Layer L0
.nojekyll
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWCode injectioncode.dynamic_import · apps/api/tests/unit/test_cross_layer_symmetry.py:113
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
pydantic_mod = importlib.import_module(f"unifi_core.{server}.models.{domain}")
Why
No further detail recorded for this rule.
Fix
—
LOWCode injectioncode.dynamic_import · apps/api/tests/unit/test_cross_layer_symmetry.py:114
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
strawberry_mod = importlib.import_module(f"unifi_api.graphql.types.{server}.{domain}")
Why
No further detail recorded for this rule.
Fix
—
LOWCode injectioncode.dynamic_import · apps/network/tests/unit/test_delete_preview_contracts.py:121
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
module = importlib.import_module(module_name)
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · apps/access/Makefile:50
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
@if [ ! -d "../../.venv" ]; then \
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · apps/access/Makefile:121
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
@WHEEL=$$(ls ../../dist/unifi_access_mcp-*.whl | head -1); \
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · apps/access/Makefile:150
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
docker run --rm --env-file ../../.env unifi-access-mcp:latest
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · apps/access/Makefile:155
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
rm -rf ../../dist/
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · apps/network/Makefile:56
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
@if [ ! -d "../../.venv" ]; then \
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · apps/access/tests/unit/test_connection_manager.py:794
F-04 Network egressCWE-200 · CWE-319Layer L1
assert args == ("GET", "https://192.168.1.1:12445/api/v1/developer/visitors")
Why
No further detail recorded for this rule.
Fix
—

Tools it exposes

20 declared in source · 0 destructive

13 read7 write0 destructive
ToolWhat it doesRisk
restart_deviceRestart a network devicewrite
unifi_batchExecute multiple UniFi tools in a single request. Each call is an object withwrite
unifi_exact_wall_policyApply the wall policy update workflowwrite
unifi_executeExecute a UniFi tool by name. Use unifi_tool_index to discover available tools first.write
unifi_firewall_policy_updateModify policy configurationwrite
unifi_wallPolicy update settingswrite
unifi_wall_alphaConfigure policy updatewrite
get_system_infoGet system informationread
list_clientsList all clientsread
list_devicesList all network devicesread
structured_innerreturn StructuredInnerResult(**payload)read
unifi_alphaInspect client detailsread
unifi_betaInspect client detailsread
unifi_get_clientpassread
unifi_list_clientspassread
unifi_list_widgetsreturn await widget_manager.get_widgets()read
unifi_list_zebrasreturn await widget_manager.get_zebras()read
unifi_location_timelineQuery events across all connected UniFi products (Network, Protect, Access)read
unifi_testreturn StructuredResult(success=True, data={read
unifi_tool_indexDiscover available UniFi tools. Returns names and descriptions by default.read

Safer alternatives

Audit history

  1. ✕BLOCK F 33 / 100

    First audit · f2db13568fa0

Questions about UniFi Network MCP server

What is the UniFi Network MCP server?
MCP servers & Graph API for the UniFi suite of applications, Network, Protect, and Access
What tools does UniFi Network expose?
20 in total: 13 read-only, 7 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is UniFi Network safe to connect to an agent?
No — not without reading the findings first. The audit graded it F (33/100) and found 3 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 Network need?
It reads GH_TOKEN, GITHUB_TOKEN, UNIFI_ACCESS_API_KEY, UNIFI_API_DB_KEY, UNIFI_API_KEY, UNIFI_NETWORK_PASSWORD_COMMAND, UNIFI_PASSWORD, UNIFI_RELAY_TOKEN and UNIFI_USERNAME 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 Network run?
It speaks sse, stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as unifi-mcp-worker-source at 1.0.0.
How current is this page?
The grade is for one exact copy of the source (f2db13568fa0), read on 2026-09-28. The repository is watched and re-audited when it changes.
I already installed UniFi Network. 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

  • sirkirby/unifi-mcp on GitHub — the source we read, its licence, stars and activityObserved · 28 Sep 2026
  • ModelsAtlas trust audit — BLOCK verdict for commit f2db13568fa0Observed · 28 Sep 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.