MCP.so
ログイン

Directadmin MCP Server

@omryatia

基本情報

カテゴリ

その他

ライセンス

NOASSERTION

トランスポート

stdio

作者

omryatia

投稿者

omryat

Directadmin MCP Server について

概要はまだありません

#directadmin

Directadmin MCP Server の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

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

Directadmin MCP Server のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

上のボタンでサーバーのエンドポイントに接続し、ツール一覧を取得できます。

概要

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

よくある質問

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.

コメント

「その他」の他のコンテンツ