Aapanel MCP Server

Full-featured MCP server for aaPanel management

Local serverstdioPython

What is the Aapanel MCP server?

Connect Aapanel to Claude, Cursor or any other MCP client and it stops being a tab you switch to. Full-featured MCP server for aaPanel management. The aapanel mcp server is what makes that connection.

What the server does

Full-featured MCP (Model Context Protocol) server for aaPanel management. Provides 278 tools across 19 modules covering all major aaPanel functionality: system, sites, databases, FTP, files, firewall, crontab, SSL, config, plugins, Docker, projects, logs, SSH, backups, monitoring, deployment, system optimization (RAM cleanup, CPU tuning, storage management, WAF, PHP/Nginx/Apache optimization), and security (network scan, website statistics, tamper proof, system hardening, virus scan, CVE scanning, anti-theft).

  • 278 MCP tools — across 19 modules
  • Multi-server support — — manage multiple aaPanel instances from one MCP server
  • Full API coverage — — websites, databases, FTP, files, firewall, cron, SSL, Docker, projects, and more
  • System optimization — — RAM cleanup, CPU tuning, storage management, WAF, security baseline scanning, PHP/Nginx/Apache config optimization
  • Security — — network scanning, website statistics, tamper proof (file integrity), system hardening (SSH, 2FA, IP whitelist), virus/malware scan, CVE vulnerability scanning, anti-theft/hotlink protection, traffic limiting, alert configuration
  • Safety guard — — built-in protection against accidental deletion of critical resources

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • Guidelines — The Guidelines tool exposed by this server

Installation

Installation goes through your MCP client rather than a global install: point it at aapanel-mcp on PyPI and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

Credentials and setup notes

Configuration is passed through the environment: AAPANEL_CONFIG_PATH, YOUR_API_TOKEN. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

Where it fits

This sits in the cloud and infrastructure group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Aapanel's toolset — Guidelines — is a fair guide to whether it matches your workflow. It is maintained by Nipuna Nirmal; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Aapanel's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
GuidelinesThe Guidelines tool exposed by this server.

How to install the Aapanel MCP server

{
  "mcpServers": {
    "aapanel": {
      "command": "uvx",
      "args": ["aapanel-mcp"],
      "env": {
        "AAPANEL_CONFIG_PATH": "your-value",
        "YOUR_API_TOKEN": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
AAPANEL_CONFIG_PATHFilesystem location the server is allowed to use.Optional
YOUR_API_TOKENCredential the server authenticates with.Yes

Example prompts to try

  • Use Aapanel to Guidelines.

Frequently asked questions

It connects Aapanel to MCP-compatible AI assistants such as Claude and Cursor, exposing 1 tool (Guidelines) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Aapanel directly.