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