XServer MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ENABLE_TOOLSETS | No | 有効化する toolset をカンマ区切り (mail,server,dns,domain_verification) | |
| XSERVER_API_KEY | Yes | Xserver API の Bearer トークン (サーバーパネル → API で発行) | |
| XSERVER_BASE_URL | No | API ベース URL (テスト差し替え用) | https://api.xserver.ne.jp |
| XSERVER_SERVERNAME | Yes | サーバー名 (例: sv12345.xserver.jp) | |
| XSERVER_HTTP_CONCURRENCY | No | 同時接続上限 | 3 |
| XSERVER_HTTP_RETRY_MAX_ATTEMPTS | No | 429 の総試行回数 | 2 |
| XSERVER_HTTP_RETRY_MAX_WAIT_SEC | No | Retry-After 閾値 | 10 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_mail_accountsA | XServer に登録済みのメールアカウントを一覧取得する。domain を指定するとそのドメインのみに絞り込む。 |
| create_mail_accountA | 新規メールアカウントを作成する。作成時にドメイン所有権の確認 (TXT レコード検証) が自動で実施される。レスポンスの resolved_mail_address / resolved_domain は XServer に送信した ASCII 形式。 |
| get_mail_accountA | 指定したメールアカウントの詳細情報 (容量・使用量・メモ) を取得する。 |
| update_mail_accountA | メールアカウントの設定を部分更新する。省略したフィールドは現在値を維持する。 |
| delete_mail_accountA | メールアカウントを削除する。元に戻せないため、confirm=true を必須とする。 |
| get_mail_forwardingA | 指定メールアカウントの転送設定 (転送先・メールボックス保持) を取得する。 |
| update_mail_forwardingA | 指定メールアカウントの転送設定を上書きで更新する。forwarding_addresses に空配列を渡すと全てクリアされる。 |
| get_server_infoA | サーバーのスペック・ソフトウェアバージョン・ネームサーバー、およびドメイン所有権確認用の domain_validation_token を取得する。 |
| get_server_usageA | ディスク使用量・ファイル数・各種リソース設定件数(ドメイン数・メール数・MySQL 数など)を取得する。 |
| list_dns_recordsA | サーバーに登録された DNS レコードを一覧取得する。domain を指定するとそのドメインのみに絞り込む。 |
| create_dns_recordA | DNS レコード (A / AAAA / CNAME / MX / TXT / SRV / CAA) を新規追加する。レスポンスの resolved_domain は XServer に送信した ASCII 形式のドメイン。 |
| update_dns_recordA | DNS レコードを部分更新する。送信した項目のみ上書きされ、省略した項目は現在の設定を維持する。domain を指定した場合はレスポンスに resolved_domain (ASCII 形式) が含まれる。 |
| delete_dns_recordA | DNS レコードを削除する。元に戻せないため、confirm=true を必須とする。 |
| ensure_domain_verifiedA |
|
| create_mail_account_with_verificationA | メールアカウントの作成に必要な TXT 認証と DNS 伝播待ちを内包した高レベルツール。既存確認 → ensure_domain_verified → POST /mail (最大 verification_wait_ms ぶんリトライ) を自動実行する。日本語ドメインの入力も受け付ける (内部で ASCII に正規化)。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 15 tools
Most tools have distinct purposes, but create_mail_account and create_mail_account_with_verification overlap in functionality, potentially causing confusion. The latter is a composite tool that includes verification, which may lead to misselection.
Tool names consistently follow a verb_noun pattern using snake_case (e.g., create_dns_record, list_mail_accounts). Even the longer create_mail_account_with_verification maintains this pattern. No mixing of conventions.
15 tools is well within the 3-15 range and appropriately scoped for managing DNS records and mail accounts on XServer. Each tool serves a necessary function without redundancy.
The tool set provides full CRUD operations for both DNS records and mail accounts, plus domain verification, server info, and usage stats. No obvious gaps for the stated domain of DNS and mail management.