MCP Server UniFi logo

MCP Server UniFi

by zcking

MCP Server UniFi allows you to manage and control UniFi network devices through natural language interactions using AI agents. It wraps the UniFi Network API, enabling seamless integration with tools like Goose AI and Claude.

View on GitHub

Last updated: N/A

What is MCP Server UniFi?

MCP Server UniFi is a server implementation that provides an interface for managing and controlling UniFi network devices using natural language through AI agents. It acts as a bridge between AI agents and the UniFi Network API.

How to use MCP Server UniFi?

To use MCP Server UniFi, you need to obtain a UniFi API key, clone the repository, install dependencies using uv, configure environment variables, and run the server. Then, configure your AI agent (Goose AI or Claude) to connect to the server.

Key features of MCP Server UniFi

  • Query UniFi sites and devices using natural language

  • Local server implementation

  • Compatible with Goose AI and Claude Desktop

  • Secure API key-based authentication

Use cases of MCP Server UniFi

  • Automated network monitoring

  • Natural language-based network configuration

  • AI-powered network troubleshooting

  • Integration with AI assistants for network management

FAQ from MCP Server UniFi

What is MCP?

MCP stands for Management Control Protocol, a protocol used for managing and controlling devices.

What AI agents are supported?

Currently, Goose AI and Claude Desktop are supported.

How do I get a UniFi API key?

You can obtain a UniFi API key from your UniFi console under Settings » Control Plane » Integrations.

What are the prerequisites for running the server?

You need Python 3.8 or higher, the uv package manager, a UniFi Network application, and a UniFi API key.

How do I start the server?

Run the command uv run mcp dev main.py after setting up the environment variables and installing dependencies.