Websupport

io.github.tydung26由 GitHub 帳號 tydung26 發布v0.1.1更新於 Oct 24, 2026

Manage a Websupport account: DNS, FTP, hosting, databases, mailboxes, VPS and invoices.

概覽

AI 產生的概覽

本機 MCP 伺服器,透過簽章 API 呼叫管理 Websupport 主機帳戶:DNS、FTP、主機、資料庫、信箱、VPS 和帳單。

可以做什麼
讀取帳戶資源:DNS 記錄、FTP 帳戶、主機、資料庫、信箱、VPS 和帳單(30 個唯讀工具,一律啟用)。用驗證檢查工具確認憑證是否有效。只有在明確啟用後,才用 13 個寫入工具變更帳戶狀態。只有在啟用且每次呼叫確認後,才執行 7 個破壞性操作,例如強制斷電或還原快照。透過 API 主機選擇市場(斯洛伐克、捷克、匈牙利、瑞典)。
適用情境
當助理需要在對話中檢視或管理 Websupport 帳戶時使用,例如檢查 DNS 記錄、信箱、資料庫或 VPS 狀態,或在刻意啟用寫入工具後進行變更。建議先以唯讀方式安全探索。
執行需求
需要 Node.js 22 或更新版本;透過 npx 或 Docker 執行(stdio 傳輸)。需要 WebAdmin 產生的 Standard API 金鑰對:WEBSUPPORT_API_KEY 和 WEBSUPPORT_API_SECRET。選用:WEBSUPPORT_API_BASE_URL 用於選擇市場、WEBSUPPORT_ACCEPT_LANGUAGE,以及 WEBSUPPORT_ALLOW_WRITE / WEBSUPPORT_ALLOW_DESTRUCTIVE 開關。需要連線至 Websupport REST API 的網路。
安裝前請注意
憑證擁有帳戶的完整控制權,沒有唯讀 API 金鑰對。除非設定 WEBSUPPORT_ALLOW_WRITE=1,否則寫入工具不會出現;除非設定 WEBSUPPORT_ALLOW_DESTRUCTIVE=1 且每次呼叫帶 confirm: true,否則破壞性工具不會出現。專案處於早期階段:多數工具僅驗證到能存取 API,回應處理大致未經證實。下單與付款端點不在範圍內。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Websupport,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

websupport-mcp

An MCP server (TypeScript, ESM, stdio) wrapping the Websupport REST API v1 + v2 — DNS, FTP, hosting, databases, mailboxes, VPS and invoices — exposed as MCP tools with signed HMAC-SHA1 authentication.

[npm] [licence: MIT] [M8ven Score]

Status: early. All 50 tools are implemented and published, but most have been verified only as far as reaching the API — routes, signing and error handling are proven; response shapes largely are not. Read docs/verification-matrix.md before relying on any tool, and see IMPLEMENTATION_PLAN.md for progress.

Risk tiers

Tools are registered in three tiers, and the tier gates registration — a read-only deployment never sees a write tool in tools/list at all, so it costs no client context and offers no affordance.

TierOpt-inExtra per-call gateCurrently
readalways on—30 tools
writeWEBSUPPORT_ALLOW_WRITE=1—13 tools
destructiveWEBSUPPORT_ALLOW_DESTRUCTIVE=1confirm: true argument7 tools

A tool is destructive when it destroys state you cannot cheaply recreate — not merely because it writes. A graceful VPS reboot is write; a hard power-cycle is destructive, because it can corrupt in-flight writes. Taking a snapshot is write; restoring one is destructive, because it discards everything since.

The two opt-ins are independent: WEBSUPPORT_ALLOW_DESTRUCTIVE=1 alone does not unlock write tools, and vice versa.

The confirm: true argument, not MCP elicitation, is the safety boundary. Protocol negotiation may settle well below the revision that supports elicitation — this server's SDK currently tops out at 2025-11-25 — and a gate that disappears against an older client is not a gate.

Install

Requires Node >= 22. Nothing to install ahead of time — npx fetches the package on first run.

Add this to your MCP client's configuration:

jsonc
{  "mcpServers": {    "websupport": {      "command": "npx",      "args": ["-y", "websupport-mcp"],      "env": {        "WEBSUPPORT_API_KEY": "…",        "WEBSUPPORT_API_SECRET": "…"      }    }  }}

That gives you the 30 read-only tools. Nothing in that configuration can change your account.

To allow changes, add only the opt-ins you need — see Risk tiers above:

jsonc
"env": {  "WEBSUPPORT_API_KEY": "…",  "WEBSUPPORT_API_SECRET": "…",  "WEBSUPPORT_ALLOW_WRITE": "1",  "WEBSUPPORT_ALLOW_DESTRUCTIVE": "1"}

Ready-made configurations for each combination live in examples/mcp-config/. Pin a version with [email protected] in place of websupport-mcp.

Once it is wired up, ask your client to run ws_auth_check. It returns {"verified": true} when the credentials work, which is the quickest way to separate a bad key from anything else.

Docker

A Dockerfile is included, for hosts that run containers rather than npx and for registry build sandboxes:

bash
docker build -t websupport-mcp .docker run -i --rm -e WEBSUPPORT_API_KEY -e WEBSUPPORT_API_SECRET websupport-mcp

-i is not optional — the transport is stdio. No credentials are baked into the image; pass them per run.

From a local checkout

For development, or to run unreleased changes:

bash
npm installnpm run build

Then point command at node and args at the built entrypoint (<checkout>/dist/index.js) instead of npx.

Credentials

Generate a Standard API access pair in WebAdmin (Security → API keys). A DynDNS-only pair authenticates against /nic/update and nothing else.

VariableRequiredDefaultNotes
WEBSUPPORT_API_KEYyes—The pair's identifier.
WEBSUPPORT_API_SECRETyes—The pair's secret. Used for HMAC-SHA1 signing; never logged, never returned in an error.
WEBSUPPORT_API_BASE_URLnohttps://rest.websupport.skMarket selection — see below.
WEBSUPPORT_ACCEPT_LANGUAGEnoen_usOne of en_us, sk, cs_cz, hu.
WEBSUPPORT_ALLOW_WRITEnooffSet to 1 to register write tools.
WEBSUPPORT_ALLOW_DESTRUCTIVEnooffSet to 1 to register destructive tools.

Copy .env.example for local development. .env is gitignored.

Missing credentials do not stop the server. It starts, registers its tools and answers tools/list unauthenticated — which is what registry build sandboxes, MCP Inspector and client config probes do before anyone holds a key — and the first tool call then fails with a message naming the variable that is absent.

Markets

Websupport is a regional team.blue/Loopia brand, so the API host selects the market. The same application serves every host — GET /v2/docs/openapi.json is byte-identical across all of them — so switching markets is configuration, never a code change.

MarketWEBSUPPORT_API_BASE_URL
Slovakia (default)https://rest.websupport.sk
Czechiahttps://rest.websupport.cz
Hungaryhttps://rest.websupport.hu
Swedenhttps://rest.websupport.se

An unrecognised host warns to stderr and is used anyway, so a newly added market works without waiting for a release.

Documentation

DocumentWhat it holds
docs/tools.mdEvery tool: tier, method + path, confirm requirement. Generated from the registry — never hand-edited.
docs/verification-matrix.mdWhat has actually been proven about each tool, and what has not. Read this before trusting any tool in production.
docs/system-architecture.mdThe request path, the signing contract and its three counter-intuitive rules, and how the tier model works.
docs/codebase-summary.mdModule map — what lives where and why.
examples/mcp-config/Ready-to-edit client configurations for each tier combination.

Scope

Order creation and invoice/order payment endpoints are deliberately out of scope and are asserted absent by test. v1 DNS-record CRUD and v1 FTP-account CRUD are deprecated upstream and are not exposed — the v2 tools cover both.

Development

bash
npm test              # offline suitenpm run test:network  # live, unauthenticated probes (market hosts + OpenAPI drift)npm run typechecknpm run lintnpm run build

Network suites are separated deliberately: a Websupport outage must not fail the build.

Toolchain

Node >= 22, to run or to build. Node 20 reached end of life on 2026-04-30 and is not supported. CI covers the two live LTS lines, 22 and 24, and builds and smoke-tests the bundle on each.

Building also needs npm >= 11: npm 10 cannot resolve the bundler's dependency tree and fails with an unhelpful Cannot read properties of null (reading 'edgesOut'). If you hit that, upgrade npm rather than debugging the repository.

Security

The credentials this server holds grant full control of a Websupport account — there is no read-only API pair. SECURITY.md covers how they are handled, which tools return sensitive data, and how to report a vulnerability privately.

Contributing

See CONTRIBUTING.md. Note two boundaries enforced by test rather than review: no order or payment endpoints, and every destructive tool must declare confirm: true.

Licence

MIT — see LICENSE.

來源:README.md,提交 76ef340

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.1最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分