MCP.so
登录

Directadmin

@omryatia

关于 Directadmin

暂无概览

基本信息

分类

其他

许可证

NOASSERTION

运行时

python

传输方式

stdio

发布者

omryatia

提交者

omryat

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "directadmin": {
      "command": "docker",
      "url": "http://localhost:8888/sse",
      "enabled": true
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

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

FAQ from Directadmin

What prerequisites are needed?

Python 3.12+, a DirectAdmin server with API access, and either a DirectAdmin login key (preferred) or username/password credentials.

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.

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.

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.

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.

评论

其他 分类下的更多 MCP 服务器