
A Model Context Protocol server built on Huawei Cloud services that enables AI assistants to operate Huawei Cloud resources within conversational workflows, supporting ECS, OBS, GaussDB, and other cloud products.

A Model Context Protocol server that bridges AI assistants to DirectAdmin, exposing DirectAdmin operations as tools over an SSE endpoint.
DirectAdmin MCP Server is cataloged as an MCP server attributed to omryatia. A Model Context Protocol server that bridges AI assistants to DirectAdmin, exposing DirectAdmin operations as tools over an SSE endpoint. It is categorized under cloud devops. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for DirectAdmin MCP Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
AI assistants connect using the MCP SSE endpoint, which the README shows as the path /sse on the configured server port.
DirectAdmin server URL and username are required, along with a DirectAdmin login key (preferred) or password.
README.md · 7782e80225d6 · 采集于 2026-11-13 10:39:13 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
A Model Context Protocol (MCP) server for DirectAdmin integration, allowing AI assistants to interact with DirectAdmin through natural language.
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.
Clone the repository:
git clone https://github.com/omryatia/directadmin-mcp.git
cd directadmin-mcp
Create a virtual environment:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
Install dependencies:
pip install -r requirements.txt
Create configuration:
cp .gitignore.sample .gitignore
cp .env.sample .env
# Edit .env with your DirectAdmin settings
Clone the repository:
git clone https://github.com/omryatia/directadmin-mcp.git
cd directadmin-mcp
Create configuration:
cp .env.sample .env
# Edit .env with your DirectAdmin settings
Build and start with Docker Compose:
docker-compose up -d
Edit the .env file with your DirectAdmin credentials:
# DirectAdmin Settings
DA_URL=https://your-directadmin-server:2222
DA_USERNAME=admin
DA_LOGIN_KEY=your_directadmin_login_key_here/password
# Server Settings
PORT=8888
LOG_LEVEL=INFO
DEBUG=false
# SSL Settings
SSL_VERIFY=true
| Variable | Description | Default |
|---|---|---|
DA_URL | DirectAdmin server URL with port | (Required) |
DA_USERNAME | DirectAdmin username | (Required) |
DA_LOGIN_KEY | DirectAdmin login key | (Required) |
PORT | Port to run the MCP server on | 8888 |
LOG_LEVEL | Logging level (DEBUG, INFO, WARNING, ERROR) | INFO |
DEBUG | Enable debug mode for development | false |
SSL_VERIFY | Verify SSL certificates for DirectAdmin API calls | true |
You can start the server in two ways:
Using FastAPI with SSE support (recommended):
python main.py
Using the simple MCP server:
python server.py
The server will start on port 8888 by default (configurable in .env).
The included command-line client allows you to interact with the MCP server:
# Get server info
python client.py --info
# Check server health
python client.py --health
# Send a specific message
python client.py "Show me the version of DirectAdmin"
# Interactive mode
python client.py
| Option | Description |
|---|---|
--server, -s | MCP server URL |
--key, -k | API key for authentication |
--no-verify | Disable SSL verification |
--timeout, -t | Request timeout in seconds |
--info, -i | Get server info |
--health | Check server health |
Configure your AI assistant to use the MCP endpoint:
http://your-server:8888/sse
This allows the AI assistant to:
The server exposes the following DirectAdmin operations as tools:
api_restart: Restart DirectAdminapi_ping: Check if DirectAdmin is runningapi_get_version: Get DirectAdmin version informationapi_version_update: Update DirectAdmin to the latest versionapi_change_update_channel: Change update channelapi_system_packages_updates: Get available system package updatesapi_system_packages_update_test: Test system package updateapi_system_packages_update_run: Run system package updateapi_security_txt_status: Check security.txt statusapi_security_txt_get: Get security.txt contentapi_security_txt_update: Update security.txt content| Endpoint | Method | Description |
|---|---|---|
/ | GET | Root page with HTML welcome message |
/about | GET | Server information |
/health | GET | Health check endpoint |
/sse | GET | MCP SSE connection endpoint |
/messages | POST | Internal endpoint for posting SSE messages |
directadmin-mcp/
├── README.md # Project documentation
├── .env.sample # Environment variables template
├── config.py # Configuration module
├── main.py # FastAPI application with SSE support
├── server.py # Simple MCP server
├── client.py # Command-line client
├── da.py # DirectAdmin API client
├── mcp_instance.py # MCP instance configuration
├── tools/ # Tool modules directory
│ ├── __init__.py # Tool loading mechanism
│ ├── common.py # Common tool utilities
│ ├── misc.py # Misc DirectAdmin operations
│ ├── security_txt.py # Security.txt related tools
│ ├── system_update.py # System update tools
│ └── versioning.py # Versioning and update tools
│ └── and alot more ......
└── requirements.txt # Project dependencies
tools directory@mcp.tool() decorator:import logging
from mcp_instance import mcp
from da import call_da_api
from tools.common import log_tool_call, format_response
@mcp.tool()
@log_tool_call
async def my_new_tool(param1, param2):
"""
Tool documentation.
Args:
param1: First parameter description
param2: Second parameter description
Returns:
Description of the return value
"""
# Implementation
response = await call_da_api("/api/endpoint", method="GET")
return format_response(response)
The tool will be automatically discovered and registered when the server starts.
The server uses a comprehensive logging system:
logs directoryLog levels can be configured in the .env file with the LOG_LEVEL variable.
The project includes Docker support for easy deployment:
# Build the image
docker build -t directadmin-mcp .
# Run the container
docker run -d \
-p 8888:8888 \
--env-file .env \
--name directadmin-mcp \
directadmin-mcp
Or more simply with Docker Compose:
docker-compose up -d
If you encounter connection issues:
SSL_VERIFY=false in .env or fix your certificatesContributions are welcome! Please feel free to submit a Pull Request.
git checkout -b feature/amazing-feature)git commit -m 'Add some amazing feature')git push origin feature/amazing-feature)This project is licensed under the MIT License - see the LICENSE file for details.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for DirectAdmin MCP Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/directadmin-mcp)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

A Model Context Protocol server built on Huawei Cloud services that enables AI assistants to operate Huawei Cloud resources within conversational workflows, supporting ECS, OBS, GaussDB, and other cloud products.

An MCP server that exposes the Coolify v4.3.1 REST API so AI clients can manage applications, databases, services, servers, deployments, and more.

A deprecated Model Context Protocol server for interacting with Kong Konnect APIs, enabling AI assistants to query and analyze Kong Gateway configurations, traffic, and analytics.