rustunifimcp
Rust MCP server for UniFi controllers with scoped tools and two-person change control
- Pricing
- Open source
- Platforms
- Linux, CLI, self-hosted
- Runs
- Locally
- Version
- 0.6.14
- Listing updated
- 3 days ago
About rustunifimcp
rustunifimcp is an open-source MCP server for cloud and infrastructure. It runs locally on your machine and is started by your AI client.
This is the UniFi member of the mechub family of network-security MCP servers, and it is built on the shared mecmcp Rust foundation, so authentication, transport, audit, policy, inventory and change control come from that layer and only the UniFi resource model and tools live here. The README is candid that UniFi offers no candidate configuration, no staging and no commit, only immediate REST writes to live settings, which makes it the test of whether the shared change-control layer generalises.
The surface covers reads, workflows, operational actions and change control. Read tools include unifi_list_resources, unifi_get_resource, unifi_query_stats and unifi_search. It can run under two-person control, where changes need a second approval, over TLS, or in a lab mode. A PoE port power-cycle sits behind an explicit direct-commit flag.
It replaces an earlier Python server; of 33 legacy tools, 31 are covered and verified against a live controller. It needs UniFi Network Application 10.5.67 or UniFi OS Server 5.1.37 at minimum, ships as an OCI image and Linux amd64 tarball, and is labelled alpha. It is an independent project, not affiliated with Ubiquiti.
Install
Run in a terminal
claude mcp add rustunifimcp -- docker run -i --rm ghcr.io/mechubsec/rustunifimcp:0.6.14Add to claude_desktop_config.json
{
"mcpServers": {
"rustunifimcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/mechubsec/rustunifimcp:0.6.14"
]
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"rustunifimcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/mechubsec/rustunifimcp:0.6.14"
]
}
}
}Add to .vscode/mcp.json
{
"servers": {
"rustunifimcp": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/mechubsec/rustunifimcp:0.6.14"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"rustunifimcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/mechubsec/rustunifimcp:0.6.14"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"rustunifimcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/mechubsec/rustunifimcp:0.6.14"
]
}
}
}Tools this server provides (5)
Taken from the project documentation; the running server may differ.
- unifi_list_resources
- List controller resources.
- unifi_get_resource
- Get one controller resource.
- unifi_query_stats
- Query controller statistics.
- unifi_search
- Search the controller.
- unifi_device_action
- Run an operational action on a device, such as a PoE port power-cycle.
What it does
- Curated UniFi tools
- Reads, workflows and operational actions over the controller API.
- Two-person change control
- Changes require a second approval before they apply.
- Lab mode
- A separate mode for lab guests without two-person approval.
- Audited actions
- Audit and policy come from the shared mecmcp foundation.
- Search and stats
- Query resources, statistics and search across the controller.
- Container or tarball
- Run from an OCI image, Docker, a Proxmox LXC or a Linux amd64 release.
Good for
- Let an agent inspect UniFi network resources read-only
- Require a second person to approve a configuration change
- Query controller statistics from a chat
- Replace an older Python UniFi MCP server
- Run network automation in a Proxmox LXC
Pricing
Open source
Prices change. Check mechub.org before you buy.
rustunifimcp FAQ
Which UniFi versions are supported?
UniFi Network Application 10.5.67 or UniFi OS Server 5.1.37 at minimum.
Is it affiliated with Ubiquiti?
No. The README says it is an independent community project.
How mature is it?
It is described as alpha and in daily use on the maintainer's infrastructure, at v0.6.14.
How is it deployed?
As an OCI image, with Docker, in a Proxmox LXC, or from a Linux amd64 release tarball.
Is rustunifimcp free?
Yes. rustunifimcp is open source, so you can use and self-host it for free.
How do I add rustunifimcp to Claude Code?
Run this command in your terminal: claude mcp add rustunifimcp -- docker run -i --rm ghcr.io/mechubsec/rustunifimcp:0.6.14
What are the best alternatives to rustunifimcp?
The closest alternatives to rustunifimcp are REA, Agent Roast, Midplane, Leash and Tinplate Edge AI Safety, Security & EU Compliance.
Alternatives to rustunifimcp

REA
MCP serverCLI and MCP server that lets coding agents reverse engineer apps and binaries
Runs locally- Open source
- 464K GitHub stars
- Developer tools
Agent Roast
MCP serverOffline review that flags agent changes which weaken tests, assertions or CI
Runs locally- Open source
- 4 Hacker News points
- Developer tools

Midplane
MCP serverPostgres gateway for AI agents with table grants, column masking and approval for writes
Runs locally- Open source
- 5 GitHub stars
- Databases

Leash
MCP serverReview what your AI touched, approve risky actions and undo supported changes
- 1 tool
- Remote
- Free
- 1 GitHub star
- Security
Zero-log MCP server with 49 tools for AI guardrails, secret scanning and EU compliance
- 49 tools
- Remote
- Freemium
- Security

SecureCloud
MCP serverSentinelOne and IT security catalog, prices, quotes and checkout links for Israel
- 7 tools
- Remote
- Free
- Security