D
Caution
48/100
2 months ago

UniFi MCP Server

MCP server providing Claude Code with full UniFi network management capabilities -- devices, clients, ports, bandwidth auditing, firewall policies, and traffic rules -- all through natural language.

Caution. Specific findings reduced this grade. They are listed on the page. Grades reflect the full trust pyramid: code, verification depth, and reputation. New projects cap at C until adoption is earned.

How we verified

Code Verified⚡ Live Monitored: not connected

Verified is a snapshot. Live keeps it current, and builds your track record.

⚡ Connect GitHub → continuous verification on every pushwhy connect →

Who stands behind it

philipvanlewis

Source: Glama

Is this your MCP?

Claim it to get a verified publisher badge, a free copy of our full audit findings, and direct contact for any high-priority issues we find. Or connect your repo for our deepest verification, Live Monitored: read-only, revoke anytime. What we access →

Install from

M8ven verifies MCPs across every public registry — install directly from whichever one you prefer.

// key findings
🚨
Secret credentials may flow to a network call
2 flows detected: UNIFI_PASSWORD. We can’t prove the destination matches the brand the credential belongs to.
⚠️
Known vulnerabilities in dependencies: 17 high
Affects packages this MCP installs at runtime. Upgrade or remove the affected dependency.
🔐
You'll be asked for 2 credentials: TOKEN_ENCRYPTION_KEY, UNIFI_PASSWORD
These are read from process.env at runtime. Make sure you trust where they’ll be sent.
// known CVEs in dependencies17 high12 low

Disclosed vulnerabilities in this server's declared npm dependencies (via OSV). Whether each is reachable depends on the installed versions.

high@modelcontextprotocol/sdk@1.12.0GHSA-345p-7cg4-v4c7

@modelcontextprotocol/sdk has cross-client data leak via shared server/transport instance reuse

high@modelcontextprotocol/sdk@1.12.0GHSA-8r9q-7v3j-jr4g

Anthropic's MCP TypeScript SDK has a ReDoS vulnerability

high@modelcontextprotocol/sdk@1.12.0GHSA-w48q-cv73-mx4w

Model Context Protocol (MCP) TypeScript SDK does not enable DNS rebinding protection by default

highaxios@1.7.9GHSA-35jp-ww65-95wh

axios Vulnerable to Full Man-in-the-Middle via Prototype Pollution Gadget in `config.proxy`

highaxios@1.7.9GHSA-3g43-6gmg-66jw

axios Vulnerable to Credential Theft and Response Hijacking via Prototype Pollution Gadget in Config Merge

Depend on this server? Get alerted when its CVEs change.Watch this server free →
// environment variables
To run this server yourself, you supply these values. They go in your own MCP client configuration and stay on your machine. The secret label means the value is sensitive, not that the server mishandles it.
configLOG_LEVELNo info Log verbosity: debug, info, warn, error
configMAX_RETRIESNo 3 Number of retry attempts for webhook push
configRETRY_DELAY_MSNo 60000 Initial delay between retries in ms (linear backoff: 1x, 2x, 3x)
configTOKEN_CACHE_PATHNo ./data/unifi-session.encrypted.json Path to the encrypted session cache file
🔐 secretTOKEN_ENCRYPTION_KEYNo -- 64-character hex key for AES-256-GCM encryption. Generate with: node -e "console.log(require('crypto').randomBytes(32).toString('hex'))". Falls back to base64 encoding if unset.
configUNIFI_HOST"": "your-controller-ip",
🔐 secretUNIFI_PASSWORDnpm run auth -- --auto # Non-interactive (requires UNIFI_USERNAME, , UNIFI_TOTP_SEED)
configUNIFI_PORTNo 443 HTTPS port
configUNIFI_SITE"": "default"
configUNIFI_TOTP_SEEDnpm run auth -- --auto # Non-interactive (requires UNIFI_USERNAME, UNIFI_PASSWORD, )
configUNIFI_USERNAMEnpm run auth -- --auto # Non-interactive (requires , UNIFI_PASSWORD, UNIFI_TOTP_SEED)
configUNIFI_VERIFY_SSLNo false Set true only if the controller has a valid TLS certificate
configVPN_GATEWAYNo -- IP to ping for VPN health check (e.g., your gateway behind the tunnel)
configVPN_TUNNEL_NAMENo -- WireGuard tunnel name for automatic VPN connect/disconnect
configWEBHOOK_URLFor webhook -- Make.com or other webhook URL for monthly bandwidth audit
// quality suggestions

Tool annotations

No tools have read-only/destructive annotations

Add readOnlyHint or destructiveHint annotations to every tool so hosts can warn users before invoking.

All four hints declared on every tool

19/19 tools missing one or more hints — unifi-bandwidth-audit (missing: readOnlyHint, destructiveHint, idempotentHint, openWorldHint); unifi-client-list (missing: readOnlyHint, destructiveHint, idempotentHint, openWorldHint); unifi-client-detail (missing: readOnlyHint, destructiveHint, idempotentHint, openWorldHint), +16 more. OpenAI's directory rejects tools where any of the four hints are missing or non-boolean.

For every tool, set all four hints (readOnlyHint, destructiveHint, idempotentHint, openWorldHint) to explicit true/false values that match the handler’s actual behaviour.

Tool inputs are validated

14/19 tool handlers declare input schemas (74%)

Declare an inputSchema with zod/joi/yup on every tool definition.

Tests exist

No test files found

Add tests that exercise each declared tool.

Secrets stay with their owner

2 secret/sensitive values flow into network calls (UNIFI_PASSWORD → /api/auth/login, UNIFI_PASSWORD → /api/auth/login)

Audit where credentials are sent. A NOTION_TOKEN should only reach api.notion.com — never a third-party host.

Production dependencies are patched

0 critical, 17 high severity in production deps — @modelcontextprotocol/sdk@1.12.0 (high), @modelcontextprotocol/sdk@1.12.0 (high)

Run npm audit fix, or upgrade the affected packages to a non-vulnerable version.

Claim the listing to review these findings one by one and send us a correction where you disagree, straight to the team. Claiming also means we tell you when the grade moves, and reach you first if we find anything urgent.

// full audit trail
The findings above are the summary. The full trail, every check we ran, each deduction, the network hosts observed and the dependency advisories, goes to verified publishers, along with an alert whenever a new one lands. Verified publishers can also review each finding and dispute it in one click. Publisher corrections have sharpened several of our checks this month, because the maintainer knows the codebase better than any scanner.
// improvement guidance — verified publishers only
We have 6 concrete improvements we can share with the publisher of this MCP. Each comes with specific guidance to raise the trust score.
// embed badge in your README
[![M8ven Verified](https://m8ven.ai/badge/mcp/philipvanlewis-unifi-mcp-server-1xcx6x?variant=verified)](https://m8ven.ai/mcp/philipvanlewis-unifi-mcp-server-1xcx6x)
Shows verification status without the grade. Want the grade badge instead? Remove ?variant=verified from the URL.
commit: 7be6cee4251b08e4c625244b7ef3cf9f77faf07f
code hash: cd4f205d644a7aa8c82b024560c012267e80e87c865bf1ed6b0beb30cab470d6
verified: 6/15/2026, 1:48:08 PM
view raw JSON →
Check MCPs from inside your assistant
Tool Check · MCP

Vetting this one by hand? Tool Check is an MCP that scores other MCPs. Add it once and ask Claude, ChatGPT, or any MCP client to grade a server, surface CVEs, check the publisher, and suggest safer alternatives — before you install.

https://m8ven.ai/api/mcp/tool-check
check_toolsearch_toolscompare_toolsrecommend_alternativescheck_publisherreport_concern
How to add it →Free · no account needed · works in any MCP client