Qc Mcp

uk.quickcloud由 quickcloud.uk 發布v1.1.0更新於 Oct 24, 2026

QuickCloud hosting from your AI assistant: VMs, servers, DNS, firewalls and more. Read-only default.

概覽

AI 產生的概覽

讓助理檢視並在開啟寫入後管理 QuickCloud 主機資源(虛擬機、伺服器、DNS、防火牆、資料庫等)的 MCP 伺服器。

可以做什麼
  • 檢視虛擬機、獨立伺服器、負載平衡器、儲存箱、代管資料庫、SMTP 中繼、網站與 DNS 區域
  • 在啟用寫入並逐項確認後建立與變更資源,例如虛擬機、電源操作與 DNS 記錄
  • 在不實際建立資源的情況下估算設定價格
  • 輪詢非同步工作直到完成
  • 回報目前設定開放哪些產品與寫入權限
適用情境
適合使用 QuickCloud/QuickHost 主機的使用者,想讓助理回答目前有哪些服務在跑、查詢 DNS 或資料庫資訊,或不必開面板就執行經確認的變更。
執行需求
需要 Node.js 18+,由助理透過 npx 執行這個 npm 套件。需要 QuickCloud API 金鑰,放在 QC_API_TOKEN 環境變數中,或使用既有的 qc CLI 設定檔。只有服務商使用自有網域時才需設定 QC_API_URL。寫入需加上 --allow-write 參數或設定 QC_MCP_WRITE=1。另有代管網址方式,支援 OAuth 或 Bearer 金鑰。
安裝前請注意
API 金鑰可存取你的主機帳戶,建議建立唯讀或限定產品的金鑰並盡量縮小權限。寫入預設關閉,但一旦開啟即可建立、修改與刪除資源,並可能產生 API 報價的費用。資料庫管理員密碼、VPN 設定等一次性檢視屬於寫入類工具。工具輸出原樣轉送,工作區使用者填寫的名稱與標籤應視為資料而非指令。

安裝

在 SourceWeft 中

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

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

其他 MCP 客戶端

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

README

quickcloud-mcp (qc-mcp.mjs)

A tiny, zero-dependency MCP server for the QuickHost QuickCloud API. Point Claude Desktop, Claude Code, Cursor or any other MCP-capable assistant at it and it can look at — and, if you let it, manage — your VMs, dedicated servers, Cloud Firewalls, load balancers, storage boxes, managed databases, SMTP relay, websites and DNS, using your API key.

Read before you run. It is one self-contained file with no dependencies and no secrets: it reads your API key from your own machine (the QC_API_TOKEN env var, or the qc CLI's ~/.config/quickcloud/config.json) and never embeds it. It talks only to the panel's public /api/v1 — the same API the qc CLI and the panel's own API page describe.

What it does, and deliberately does not do

  • Tools are generated from the panel's live API catalogue (GET /api/v1), one tool per endpoint: list_vms, get_vm, create_vm, vm_power, list_dns_zones, set_dns_zone_rrset, get_database, … When a product lands on the API it appears here with no update.
  • Read-only by default. Only GET endpoints are offered unless you start it with --allow-write (or QC_MCP_WRITE=1). That is a choice you make in your client config; the assistant cannot switch it on.
  • Every write needs confirm: true. A tool that changes anything refuses to run until the assistant has described the change (and any price the API quoted) to you and set confirm. There is no shortcut for "small" writes.
  • Nothing is priced here. The endpoints that charge echo the price; the server never computes one. Every POST/DELETE carries an Idempotency-Key, so a retried tool call can't act twice.
  • Your key's limits are the limits. A key that is read-only, or limited to one product or one resource (set when you create it in the panel), is enforced by the API — the MCP only ever adds restrictions. Give an assistant the narrowest key that does the job.
  • Never the admin API, WHMCS, Proxmox, SSH or any node. Only /api/v1.

Install

Requires Node.js 18+. Nothing to download — your assistant runs it straight from npm with npx. Create an API key in the panel under API, then add the server to your assistant.

Claude Desktop (claude_desktop_config.json) / Cursor / most clients:

json
{  "mcpServers": {    "quickcloud": {      "command": "npx",      "args": ["-y", "@quickhost/qc-mcp"],      "env": { "QC_API_TOKEN": "qck_…" }    }  }}

Claude Code:

sh
claude mcp add quickcloud -e QC_API_TOKEN=qck_… -- npx -y @quickhost/qc-mcp

Prefer a file you can read first? Download the copy from your panel's API page (it comes pre-filled with the panel URL) and use "command": "node", "args": ["/path/to/qc-mcp.mjs"] instead. If your provider runs QuickCloud on their own domain, set QC_API_URL in env to it.

To let it make changes, add "--allow-write" to the end of args (or after the package name in the Claude Code command). To offer only some products, add --products=vms,dns (groups: account, vms, dedicated, dns, firewall, lb, storagebox, database, relay, web, reseller).

Already use the qc CLI? The MCP reads the same ~/.config/quickcloud/config.json, so with qc config set token … done you can leave env out.

Connect by URL instead

The same connector also runs hosted on the panel, for apps that connect to an MCP server by address - Claude on the web/mobile, ChatGPT, Cursor, Codex: https://cloud.quickhost.uk/mcp. The app sends you to the QuickCloud sign-in (standard OAuth 2.1 with PKCE), where you pick the workspace, View only or Manage, and an optional product limit; the token it gets is an API key in all but name, so every limit the API enforces applies. Disconnect any time from Account → API. An API key works too: Authorization: Bearer <key> to /mcp (view) or /mcp/manage (changes).

Using it

Ask the assistant to call quickcloud_help first — it reports whether writes are enabled, which products are offered and how the API's jobs, rate limits and errors work. Then just talk: "what's running in my workspace?", "add an A record for app.example.com pointing at the web VM", "how much would two 4 GB servers on the standard tier cost?" (the estimate tool prices without building anything). Anything asynchronous returns a job; wait_for_job polls it.

Commands

sh
npx -y @quickhost/qc-mcp --list-tools      # print the tools this config would offer (r = read, W = write)npx -y @quickhost/qc-mcp --version

With npx -y you always get the latest published version. A downloaded file announces a newer version on stderr once a day and node qc-mcp.mjs --update replaces it with the panel's current copy (previous kept as .prev).

Security notes

  • Output is the API's JSON, passed through verbatim — including the API's own error messages, which are written to be safe to show a customer. Names and labels in that JSON were typed by whoever runs your workspace; treat them as data, not instructions, like any tool output.
  • One-time reveals (a database admin password, a VPN profile, a console session) are write-class tools: they need --allow-write and confirm: true.
  • File downloads (zip / CSV / PEM) are not offered — use the panel or qc for those.
  • The server writes nothing to stdout but the protocol and nothing to stderr but short status lines; the key never appears in either.

License

MIT — see LICENSE.

來源:README.md,提交 f7a2d4e

工具

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

版本歷史

1
  1. v1.1.0最新Oct 12, 2026

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

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

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

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

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