Directadmin
Description
# DirectAdmin MCP Server [](https://github.com/omryatia/directadmin-mcp) A Model Context Protocol (MCP) server for DirectAdmin integration, allowing AI assistants to interact with DirectAdmin through natural…
About
# DirectAdmin MCP Server [](https://github.com/omryatia/directadmin-mcp) A Model Context Protocol (MCP) server for DirectAdmin integration, allowing AI assistants to interact with DirectAdmin through natural language. ## Features - **MCP Integration**…
Details
- Author
- omryatia
- GitHub stars
- 3
- Downloads
- 446
- Categories
- Other
Jump to
- MCP integration for AI assistant connectivity
- RESTful API with Server-Sent Events (SSE)
- Tool-based architecture with modular commands
- DirectAdmin version, update, and security management
- Command-line client and Docker deployment support
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:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
DirectadminCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Clone the repository, configure your DirectAdmin credentials in a .env file (DirectAdmin URL, username, and login key), then start the server via python main.py (SSE mode) or python server.py (simple mode). A bundled command-line client (python client.py) can be used for testing and scripting. Docker Compose deployment is also supported.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"directadmin": {
"directadmin": {
"command": "docker",
"url": "http://localhost:8888/sse",
"enabled": true
}
}
}
}
McpServers
{
"directadmin": {
"command": "docker",
"url": "http://localhost:8888/sse",
"enabled": true
}
}
DirectAdmin MCP Server
A Model Context Protocol (MCP) server for DirectAdmin integration, allowing AI assistants to interact with DirectAdmin through natural language.
Features
- MCP Integration: Connect AI assistants to DirectAdmin using the Model Context Protocol
- RESTful API: Comprehensive API for DirectAdmin management
- Server-Sent Events (SSE): Real-time communication with clients
- Tool-based Architecture: Modular design with tool-based commands
- Command-line Client: Included client for testing and scripting
- Docker Support: Easy deployment with Docker and Docker Compose
Architecture
This project implements a server that acts as a bridge between AI assistants and DirectAdmin:
┌──────────┐ ┌─────────────────┐ ┌────────────┐
│ AI │ │ DirectAdmin │ │ DirectAdmin│
│ Assistant├────►│ MCP Server ├────►│ API │
└──────────┘ └─────────────────┘ └────────────┘
MCP SSE HTTP
The server exposes DirectAdmin functionality through a tool-based interface, making it easy for AI assistants to understand and interact with DirectAdmin operations.
Prerequisites
- Python 3.12+
- DirectAdmin server with API access
- DirectAdmin login key (preferred) or username/password
Installation
Option 1: Standard Installation
1. Clone the repository:
git clone https://github.com/omryatia/directadmin-mcp.git
cd directadmin-mcp
2. Create a virtual environment:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
3. Install dependencies:
pip install -r requirements.txt
4. Create configuration:
cp .gitignore.sample .gitignore
cp .env.sample .env
# Edit .env with your DirectAdmin settings
Option 2: Docker Installation
1. Clone the repository:
git clone https://github.com/omryatia/directadmin-mcp.git
cd directadmin-mcp
2. Create configuration:
cp .env.sample .env
# Edit .env with your DirectAdmin settings
3. Build and start with Docker Compose:
docker-compose up -d
Configuration
Edit the .env file with your DirectAdmin credentials:
```ini
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



