MCP server · Audited from source
unifi-mcp
by sirkirby/unifi-mcpMIT licenceAudited 8 Oct 2026 · source d36f48342110
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, 28 low). Maintainer's description: MCP servers & Graph API for the UniFi suite of applications, Network, Protect, and Access
Cite
Cite this page
ModelsAtlas. “unifi-mcp (sirkirby/unifi-mcp)”. Retrieved 8 Oct 2026. https://modelsatlas.com/mcp/sirkirby/unifi-mcp
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.
Trust audit
Audit 0.4.1 · full source read 8 Oct 2026
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
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
**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
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
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
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
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
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
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
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
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
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
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
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
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
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWCode injectioncode.dynamic_import · apps/api/tests/unit/test_cross_layer_symmetry.py:113
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
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
module = importlib.import_module(module_name)
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · apps/access/Makefile:50
@if [ ! -d "../../.venv" ]; then \
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · apps/access/Makefile:121
@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
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
rm -rf ../../dist/
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · apps/network/Makefile:56
@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
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
| Tool | What it does | Risk |
|---|---|---|
restart_device | Restart a network device | write |
unifi_batch | Execute multiple UniFi tools in a single request. Each call is an object with | write |
unifi_exact_wall_policy | Apply the wall policy update workflow | write |
unifi_execute | Execute a UniFi tool by name. Use unifi_tool_index to discover available tools first. | write |
unifi_firewall_policy_update | Modify policy configuration | write |
unifi_wall | Policy update settings | write |
unifi_wall_alpha | Configure policy update | write |
get_system_info | Get system information | read |
list_clients | List all clients | read |
list_devices | List all network devices | read |
structured_inner | return StructuredInnerResult(**payload) | read |
unifi_alpha | Inspect client details | read |
unifi_beta | Inspect client details | read |
unifi_get_client | pass | read |
unifi_list_clients | pass | read |
unifi_list_widgets | return await widget_manager.get_widgets() | read |
unifi_list_zebras | return await widget_manager.get_zebras() | read |
unifi_location_timeline | Query events across all connected UniFi products (Network, Protect, Access) | read |
unifi_test | return StructuredResult(success=True, data={ | read |
unifi_tool_index | Discover available UniFi tools. Returns names and descriptions by default. | read |
Safer alternatives
aplaceforallmystuff/mcp-arr
MCP server for *arr media management suite
hybirdss/smartest-tv
📺 Control any smart TV with natural language. Play Netflix by name from your terminal. PyPI: stv · MCP server · LG/Samsung/Roku/Android
nunner322/mcp-arr
MCP server for *arr media suite - Sonarr, Radarr, Lidarr, Readarr, Prowlarr
Audit history
- ✕BLOCK F 33 / 100
First audit ·
d36f48342110
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
What is the unifi-mcp MCP server?
What tools does unifi-mcp expose?
Is unifi-mcp safe to connect to an agent?
What credentials does unifi-mcp need?
How does unifi-mcp run?
How current is this page?
I already installed unifi-mcp. What should I do?
Can the verdict change?
Sources
- sirkirby/unifi-mcp on GitHub — the source we read, its licence, stars and activityObserved · 8 Oct 2026
- ModelsAtlas trust audit — BLOCK verdict for commit d36f48342110Observed · 8 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 MCP server?
- What tools does unifi-mcp expose?
- Is unifi-mcp safe to connect to an agent?