aaPanel

by aapanel

5 stars
Not rated
GitHub

About

Bridges AI with aaPanel web hosting control panel for managing websites, databases, Docker containers, and system resources through Go-based API integration.

Details

Author
aapanel
Repository
aaPanel/mcp-server
GitHub stars
5
License
MIT License
Categories
Productivity, Developer Tools, Design, AI, Media, Search, Knowledge Base, Security, Project Management
Tags
#web

- Get panel system information and network status
- Query PHP website list
- Create new PHP website
- Query MySQL database list
- Docker container management
- View container list
- View container details
- Docker image management
- View local image list
- Email management
- Add email account
- View email list
- Get panel public configuration information
- More features under development...

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name aaPanel
    Command (node, npx, python, etc.) C:\path\to\mcp-server.exe
    Environment
    • BT_BASE_URL http://192.168.xx.xx:8888/
    • BT_API_TOKEN xxxxxxxxxxxxxxxxxxxxxxxx

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

go mod tidy

Configure the program through environment variables:


When using in Cursor, configure through the following steps:

1. Open Cursor Settings > Extensions > MCP Tools
2. Add new MCP tool
3. Fill in the configuration in the following format:

json
{
"mcpServers": {
"mcp-aapanel": {
"command": "C:\\path\\to\\mcp-server.exe",
"env": {
"BT_BASE_URL": "http://192.168.xx.xx:8888/",
"BT_API_TOKEN": "xxxxxxxxxxxxxxxxxxxxxxxx"
}
}
}
}

Build using Makefile:
bash

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "aapanel": {
            "env": {
                "BT_BASE_URL": "http://192.168.xx.xx:8888/",
                "BT_API_TOKEN": "xxxxxxxxxxxxxxxxxxxxxxxx"
            },
            "args": [],
            "command": "C:\\path\\to\\mcp-server.exe"
        }
    }
}

Linux

{
    "env": {
        "BT_BASE_URL": "http://192.168.xx.xx:8888/",
        "BT_API_TOKEN": "xxxxxxxxxxxxxxxxxxxxxxxx"
    },
    "args": [],
    "command": "C:\\path\\to\\mcp-server.exe"
}

Macos

{
    "env": {
        "BT_BASE_URL": "http://192.168.xx.xx:8888/",
        "BT_API_TOKEN": "xxxxxxxxxxxxxxxxxxxxxxxx"
    },
    "args": [],
    "command": "C:\\path\\to\\mcp-server.exe"
}

Windows

{
    "env": {
        "BT_BASE_URL": "http://192.168.xx.xx:8888/",
        "BT_API_TOKEN": "xxxxxxxxxxxxxxxxxxxxxxxx"
    },
    "args": [],
    "command": "C:\\path\\to\\mcp-server.exe"
}

aaPanel MCP Interface

Features

- Get panel system information and network status
- Query PHP website list
- Create new PHP website
- Query MySQL database list
- Docker container management
- View container list
- View container details
- Docker image management
- View local image list
- Email management
- Add email account
- View email list
- Get panel public configuration information
- More features under development...

Requirements

- Go 1.18+ - aaPanel API access - aaPanel API token

Installation

From source code

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.