Basic information
About Directadmin MCP Server
# DirectAdmin MCP Server
Directadmin is a MCP server in the Other category listed in the AddMCP.net directory, published by omryatia. Supported transport: stdio. Runtime: python. The repository has 3 GitHub stars. Source code is hosted on github.com. Related topics: directadmin.
Setup
claude mcp add directadmin-mcp --transport http http://localhost:8888/sse
[mcp_servers.directadmin-mcp] url = "http://localhost:8888/sse"
{
"mcpServers": {
"directadmin-mcp": {
"url": "http://localhost:8888/sse"
}
}
}
{
"servers": {
"directadmin-mcp": {
"type": "http",
"url": "http://localhost:8888/sse"
}
}
}
Directadmin MCP Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"directadmin": {
"command": "docker",
"url": "http://localhost:8888/sse",
"enabled": true
}
}
}
Directadmin MCP Server tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Directadmin?
Directadmin is a Model Context Protocol (MCP) server that bridges AI assistants with the DirectAdmin web hosting control panel. It translates natural-language requests into DirectAdmin API calls, enabling automated server management through a tool-based interface.
How to use Directadmin?
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.
Key features of Directadmin
- 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
Use cases of Directadmin
- Query DirectAdmin status, version, and system package updates
- Execute server actions like restarting DirectAdmin
- View and update security.txt content
- Manage update channels and test system updates
Frequently asked questions
1 What prerequisites are needed?
Python 3.12+, a DirectAdmin server with API access, and either a DirectAdmin login key (preferred) or username/password credentials.
2 How do I configure Directadmin credentials?
Edit the .env file with your DirectAdmin server URL (DA_URL), username (DA_USERNAME), and login key (DA_LOGIN_KEY). The server runs on port 8888 by default.
3 How do I start the Directadmin server?
Use python main.py for the FastAPI SSE server or python server.py for the simple MCP server. Both start on the configured port.
4 What tools does Directadmin expose?
System management (api_restart, api_ping), version control (api_get_version, api_version_update, api_change_update_channel), system updates, and security.txt operations.
5 How can I connect an AI assistant to Directadmin?
Point your AI assistant’s MCP client to http://your-server:8888/sse to enable querying, command execution, and real-time updates.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In