Skip to main content
Glama

websupport-mcp

Websupport REST API v1 + v2(DNS、FTP、ホスティング、データベース、メールボックス、VPS、請求書)をラップするMCPサーバー(TypeScript、ESM、stdio)で、署名付きHMAC-SHA1認証付きのMCPツールとして公開します。

ステータス: 開発中。 50個のツールはすべて実装済みで、サーバーは動作します。残っているのは、実際のリソースを所有するアカウントでの検証、パッケージング、リリースです。進捗は IMPLEMENTATION_PLAN.md を参照してください。

リスクティア

ツールは3つのティアで登録され、ティアは登録を制御します。読み取り専用のデプロイでは tools/list に書き込みツールが一切表示されないため、クライアントのコンテキストを消費せず、操作の手掛かりも提供しません。

ティア

オプトイン

呼び出しごとの追加ゲート

現在

read

常時オン

—

30ツール

write

WEBSUPPORT_ALLOW_WRITE=1

—

13ツール

destructive

WEBSUPPORT_ALLOW_DESTRUCTIVE=1

confirm: true 引数

7ツール

ツールがdestructiveとされるのは、安価に再作成できない状態を破壊する場合であり、単に書き込むからではありません。グレースフルなVPS再起動はwrite、強制電源再投入はdestructiveです。実行中の書き込みを破損させる可能性があるためです。スナップショット取得はwrite、復元はdestructiveです。それ以降のすべてを破棄するためです。

2つのオプトインは独立しています。WEBSUPPORT_ALLOW_DESTRUCTIVE=1 だけでは書き込みツールは有効になりません。逆も同様です。

安全境界となるのはMCPのelicitationではなく、confirm: true 引数です。プロトコルネゴシエーションはelicitationをサポートするリビジョンよりかなり低いバージョンに落ち着く可能性があり(このサーバーのSDKは現在 2025-11-25 が上限です)、古いクライアントに対して消えてしまうゲートはゲートではありません。

Related MCP server: cpanel-mcp

インストール

まだ公開されていません。ローカルチェックアウトから実行するには:

npm install
npm run build

その後、MCPクライアントから接続します:

Node >= 22 が必要です。

{
  "mcpServers": {
    "websupport": {
      "command": "node",
      "args": ["/absolute/path/to/websupport-mcp/dist/index.js"],
      "env": {
        "WEBSUPPORT_API_KEY": "…",
        "WEBSUPPORT_API_SECRET": "…"
      }
    }
  }
}

認証情報

WebAdmin(セキュリティ → APIキー)で標準APIアクセスペアを生成します。DynDNS専用ペアは /nic/update に対してのみ認証され、それ以外には使用できません。

変数

必須

デフォルト

備考

WEBSUPPORT_API_KEY

はい

—

ペアの識別子。

WEBSUPPORT_API_SECRET

はい

—

ペアのシークレット。HMAC-SHA1署名に使用。ログに記録されず、エラーでも返されません。

WEBSUPPORT_API_BASE_URL

いいえ

https://rest.websupport.sk

マーケットの選択 — 下記参照。

WEBSUPPORT_ACCEPT_LANGUAGE

いいえ

en_us

en_us、sk、cs_cz、hu のいずれか。

WEBSUPPORT_ALLOW_WRITE

いいえ

オフ

書き込みツールを登録するには 1 に設定。

WEBSUPPORT_ALLOW_DESTRUCTIVE

いいえ

オフ

破壊的ツールを登録するには 1 に設定。

ローカル開発用に .env.example をコピーしてください。.env はgitignoreされています。

マーケット

Websupportは地域別のteam.blue/Loopiaブランドであるため、APIホストがマーケットを選択します。同じアプリケーションがすべてのホストにサービスを提供しており(GET /v2/docs/openapi.json はすべてのホストでバイト単位で同一)、マーケットの切り替えは設定であり、コードの変更ではありません。

マーケット

WEBSUPPORT_API_BASE_URL

スロバキア(デフォルト)

https://rest.websupport.sk

チェコ

https://rest.websupport.cz

ハンガリー

https://rest.websupport.hu

スウェーデン

https://rest.websupport.se

認識されないホストはstderrに警告を出力した上で使用されるため、新しく追加されたマーケットはリリースを待たずに動作します。

ドキュメント

ドキュメント

内容

docs/tools.md

すべてのツール: ティア、メソッド + パス、confirm要件。レジストリから生成 — 手編集は禁止。

docs/verification-matrix.md

各ツールについて実際に検証されたことと、されていないこと。本番でツールを信頼する前に必ず読んでください。

スコープ

注文作成と請求書/注文の支払いエンドポイントは意図的にスコープ外であり、テストによって存在しないことが検証されています。v1のDNSレコードCRUDとv1のFTPアカウントCRUDは上流で非推奨となっており、公開されていません — v2のツールが両方をカバーしています。

開発

npm test              # offline suite
npm run test:network  # live, unauthenticated probes (market hosts + OpenAPI drift)
npm run typecheck
npm run lint
npm run build

ネットワークスイートは意図的に分離されています。Websupportの障害でビルドが失敗してはならないためです。

ツールチェーン

実行またはビルドにはNode >= 22が必要です。Node 20は2026-04-30にサポート終了となり、サポートされていません。CIは現行の2つのLTSライン(22と24)をカバーし、それぞれでバンドルをビルドしてスモークテストします。

ビルドにはnpm >= 11も必要です。npm 10はバンドラーの依存関係ツリーを解決できず、役に立たないエラー Cannot read properties of null (reading 'edgesOut') で失敗します。このエラーに遭遇した場合は、リポジトリをデバッグするのではなくnpmをアップグレードしてください。

セキュリティ

このサーバーが保持する認証情報はWebsupportアカウントの完全な制御を許可します — 読み取り専用のAPIペアは存在しません。SECURITY.md では、認証情報の取り扱い方法、機密データを返すツール、脆弱性の非公開報告方法について説明しています。

コントリビューション

CONTRIBUTING.md を参照してください。レビューではなくテストで強制される2つの境界に注意してください: 注文・支払いエンドポイントを追加しないこと、すべての破壊的ツールは confirm: true を宣言しなければならないこと。

ライセンス

MIT — LICENSE を参照してください。

Available Tools

30 tools
ws_auth_checkVerify API credentialsA
Read-onlyIdempotent

Verify that the configured Websupport API key and secret authenticate successfully. Returns {verified: true} on success. Use this first when diagnosing 401 errors.

Inputs: no named parameters.

ws_db_getGet databaseA
Read-onlyIdempotent

Get one database by id, including its name, type and connection details.

Inputs: hostingId (required), databaseId (required), userId.

ws_db_listList databasesA
Read-onlyIdempotent

List the databases on a hosting service.

Inputs: hostingId (required), userId.

ws_db_statsDatabase statisticsB
Read-onlyIdempotent

Usage statistics for one database. kind selects the series: size (storage used) or cpu (query load).

Inputs: kind (required), hostingId (required), databaseId (required), userId.

ws_db_users_listList database usersB
Read-onlyIdempotent

List the database users on a hosting service.

Inputs: hostingId (required), userId.

ws_dns_record_listList DNS recordsA
Read-onlyIdempotent

List DNS records in a service zone, with paging and server-side filtering. Returns the API pagination envelope unflattened.

Inputs: service (required), page, sortBy, filters, +2 more.

ws_dns_zone_getGet DNS zoneA
Read-onlyIdempotent

Get the DNS zone attached to a service.

Inputs: service (required).

ws_ftp_account_getGet FTP accountA
Read-onlyIdempotent

Get one FTP account by id. The password is never returned.

Inputs: service (required), ftpAccount (required).

ws_ftp_account_listList FTP accountsA
Read-onlyIdempotent

List FTP accounts on a hosting service. Passwords are never returned — the API response schema has no password field.

Inputs: service (required), page, sortBy, descending, +1 more.

ws_hosting_getGet hosting serviceA
Read-onlyIdempotent

Get one hosting service by id or uuid, including its package, limits and current usage.

Inputs: hostingId (required), userId.

ws_hosting_listList hosting servicesA
Read-onlyIdempotent

List the hosting services on the account.

Inputs: page, userId, pagesize.

ws_hosting_statsHosting statisticsA
Read-onlyIdempotent

Usage statistics for a hosting service. kind selects the series: size (disk usage), domain (per-domain traffic), or ftp (FTP activity).

Inputs: kind (required), hostingId (required), userId.

ws_hosting_vhost_getGet virtual hostA
Read-onlyIdempotent

Get one virtual host by id, including its document root and domain configuration.

Inputs: vhostId (required), hostingId (required), userId.

ws_hosting_vhost_listList virtual hostsA
Read-onlyIdempotent

List the virtual hosts (domains) served by a hosting service.

Inputs: hostingId (required), userId.

ws_invoice_getGet invoiceA
Read-onlyIdempotent

Get one invoice by id, including line items, totals and payment status. Use ws_invoice_pdf for the document itself.

Inputs: invoiceId (required), userId.

ws_invoice_listList invoicesA
Read-onlyIdempotent

List the account's invoices with their amounts, dates and payment status. Paying an invoice is deliberately out of scope for this server.

Inputs: page, userId, pagesize.

ws_invoice_pdfGet invoice PDFA
Read-onlyIdempotent

Fetch an invoice as a PDF. base64 returns the document encoded for a caller that will decode and save it. binary reports the size and type only — raw PDF bytes are never inlined into a tool result, because they would flood the conversation without being usable.

Inputs: invoiceId (required), format, userId.

ws_mailbox_getGet mailboxA
Read-onlyIdempotent

Get one mailbox by id, including its address, quota and forwarding configuration.

Inputs: hostingId (required), mailboxId (required), userId.

ws_mailbox_listList mailboxesA
Read-onlyIdempotent

List the mailboxes on a hosting service.

Inputs: hostingId (required), userId.

ws_mail_statsMail statisticsA
Read-onlyIdempotent

Mail storage statistics for a hosting service. Supply domain to scope the figures to one domain; omit it for the whole service.

Inputs: hostingId (required), domain, userId.

ws_service_getGet serviceA
Read-onlyIdempotent

Get one service by id, including its type, status and expiry. Use ws_service_list first to find the id.

Inputs: serviceId (required), userId.

ws_service_listList servicesA
Read-onlyIdempotent

List the account's services (hosting, domains, VPS and so on). Returns the v1 envelope {items, pager}. Service ids from here are the candidates for the v2 tools' service argument.

Inputs: userId.

ws_user_getGet accountA
Read-onlyIdempotent

Get the account record: id, contact details, billing profiles, market and currency. SENSITIVE — the response includes the billing address, email address, phone number, and a verifyUrl containing a live account-verification key. Do not echo the full response to the user or store it; read the specific field needed.

Inputs: userId.

ws_vps_getGet VPSA
Read-onlyIdempotent

Get one VPS by id or name, including its specification, IP addresses and power state.

Inputs: vpsId (required), userId.

ws_vps_listList VPS instancesB
Read-onlyIdempotent

List the VPS instances on the account.

Inputs: page, userId, pagesize.

ws_vps_snapshot_listList VPS snapshotsA
Read-onlyIdempotent

List the snapshots taken of a VPS, with their names and creation times.

Inputs: vpsId (required), userId.

ws_vps_statsVPS statisticsA
Read-onlyIdempotent

Usage statistics for a VPS. kind selects the series: cpu (processor load) or traffic (network transfer).

Inputs: kind (required), vpsId (required), userId.

ws_vps_vncGet VPS console accessA
Read-onlyIdempotent

Get VNC console access details for a VPS. SENSITIVE — the response may carry a one-time console URL or session credential that grants direct machine access. Hand it to the user who asked for it and nothing else: do not log it, do not repeat it in a summary, and treat it as expiring.

Inputs: vpsId (required), userId.

ws_zone_getGet DNS zoneB
Read-onlyIdempotent

Get one DNS zone by domain name.

Inputs: domain (required), userId.

ws_zone_listList DNS zonesA
Read-onlyIdempotent

List the DNS zones on the account. For the records inside a zone use the v2 tool ws_dns_record_list — v1 record CRUD is deprecated and deliberately not exposed.

Inputs: page, userId, pagesize.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 30 tools

    Disambiguation5/5

    Each tool targets a distinct resource-action pair (e.g., list vs. get for hosting, databases, mailboxes, VPS, invoices). Even similar-sounding tools like ws_dns_zone_get and ws_zone_get differ by lookup key (service vs. domain), and ws_service_get vs. ws_hosting_get are clearly scoped by description.

    Naming Consistency5/5

    All tools follow the consistent ws_verb_noun snake_case pattern (e.g., ws_dns_record_list, ws_hosting_vhost_get, ws_vps_snapshot_list). No style mixing or vague verbs.

    Tool Count2/5

    With 30 tools, the surface is heavily over-populated for a typical MCP server. While the scope spans many resource types (DNS, FTP, hosting, DBs, mail, VPS, invoices), the count exceeds the 'heavy' 16-25 band and feels excessive even for a broad control-panel API.

    Completeness2/5

    The tool set is almost entirely read-only; there are no create, update, or delete operations for any resource (DNS records, FTP accounts, databases, mailboxes, VPS snapshots, etc.). The descriptions explicitly exclude actions like paying invoices and v1 record CRUD, leaving significant gaps for an expected management surface.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers