Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ENABLE_TOOLSETSNo有効化する toolset をカンマ区切り (mail,server,dns,domain_verification)
XSERVER_API_KEYYesXserver API の Bearer トークン (サーバーパネル → API で発行)
XSERVER_BASE_URLNoAPI ベース URL (テスト差し替え用)https://api.xserver.ne.jp
XSERVER_SERVERNAMEYesサーバー名 (例: sv12345.xserver.jp)
XSERVER_HTTP_CONCURRENCYNo同時接続上限3
XSERVER_HTTP_RETRY_MAX_ATTEMPTSNo429 の総試行回数2
XSERVER_HTTP_RETRY_MAX_WAIT_SECNoRetry-After 閾値10

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_mail_accounts

XServer に登録済みのメールアカウントを一覧取得する。domain を指定するとそのドメインのみに絞り込む。

create_mail_account

新規メールアカウントを作成する。作成時にドメイン所有権の確認 (TXT レコード検証) が自動で実施される。レスポンスの resolved_mail_address / resolved_domain は XServer に送信した ASCII 形式。

get_mail_account

指定したメールアカウントの詳細情報 (容量・使用量・メモ) を取得する。

update_mail_account

メールアカウントの設定を部分更新する。省略したフィールドは現在値を維持する。

delete_mail_account

メールアカウントを削除する。元に戻せないため、confirm=true を必須とする。

get_mail_forwarding

指定メールアカウントの転送設定 (転送先・メールボックス保持) を取得する。

update_mail_forwarding

指定メールアカウントの転送設定を上書きで更新する。forwarding_addresses に空配列を渡すと全てクリアされる。

get_server_info

サーバーのスペック・ソフトウェアバージョン・ネームサーバー、およびドメイン所有権確認用の domain_validation_token を取得する。

get_server_usage

ディスク使用量・ファイル数・各種リソース設定件数(ドメイン数・メール数・MySQL 数など)を取得する。

list_dns_records

サーバーに登録された DNS レコードを一覧取得する。domain を指定するとそのドメインのみに絞り込む。

create_dns_record

DNS レコード (A / AAAA / CNAME / MX / TXT / SRV / CAA) を新規追加する。レスポンスの resolved_domain は XServer に送信した ASCII 形式のドメイン。

update_dns_record

DNS レコードを部分更新する。送信した項目のみ上書きされ、省略した項目は現在の設定を維持する。domain を指定した場合はレスポンスに resolved_domain (ASCII 形式) が含まれる。

delete_dns_record

DNS レコードを削除する。元に戻せないため、confirm=true を必須とする。

ensure_domain_verified

_xserver-verify.{domain} の TXT レコードを現在の domain_validation_token と一致する状態に揃える。既に一致するレコードがあれば何もしない。DNS 伝播は待たない。レスポンスの resolved_domain は XServer に送信した ASCII 形式のドメイン。

create_mail_account_with_verification

メールアカウントの作成に必要な TXT 認証と DNS 伝播待ちを内包した高レベルツール。既存確認 → ensure_domain_verified → POST /mail (最大 verification_wait_ms ぶんリトライ) を自動実行する。日本語ドメインの入力も受け付ける (内部で ASCII に正規化)。

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Mink16/xserver-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server