Light Cloud

com.light-cloud由 light-cloud.com 發布v1.6.2更新於 Oct 29, 2026

Deploy and run web apps, APIs and databases on Light Cloud from your AI agent.

概覽

AI 產生的概覽

Light Cloud MCP 伺服器讓助理在對話中部署與管理 Light Cloud 平台上的網頁應用、API、資料庫與帳務。

可以做什麼
  • 註冊、登入並管理帳號、已連結裝置與代理權限
  • 從 GitHub 或本機上傳部署,建立應用與堆疊、等待部署、回復舊版、設定密碼保護並偵測框架
  • 列出、建立、修改與刪除應用、環境、資料夾、擴縮設定、環境變數與自訂網域
  • 查看建置與執行期日誌、部署紀錄、環境指標與活動
  • 管理資料庫:建立、查詢、匯出、匯入、輪替密碼、讀取結構與連線字串
  • 處理方案、付款方式、用量、發票與用量提醒,以及工作區成員、API 金鑰、Git 服務商、通知與支援
適用情境
適合想不離開對話就上線並維運託管網頁應用、API 或資料庫的情況,包括首次註冊、從本機資料夾或 GitHub 部署、查看日誌與升級方案。
執行需求
以 stdio 方式在使用者電腦本機執行,通常透過 npm 套件的 npx 或 Claude Desktop 擴充套件安裝;使用 npx 需要 Node.js。不需要 API 金鑰或環境變數:透過裝置代碼核准或瀏覽器登入完成驗證,憑證存放在本機憑證檔。可用 LIGHT_CLOUD_API_URL 與 LIGHT_CLOUD_CONSOLE_URL 覆寫預設端點。需要能連線至 Light Cloud 的網路。
安裝前請注意
這些工具會異動真實基礎設施:建立、部署與刪除應用、環境與資料庫,輪替資料庫密碼,設定變數與網域,邀請或移除工作區成員。帳務工具可能對已儲存的信用卡扣款或開啟 Stripe Checkout,變更方案會產生費用。帳號憑證存放在本機憑證檔,付費方案下還可建立 API 金鑰。可在主控台的 Agents & CLI 開關限制代理權限,該開關只能從主控台變更。

安裝

在 SourceWeft 中

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

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

其他 MCP 客戶端

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

README

Light Cloud MCP Server

An MCP (Model Context Protocol) server that enables Claude to deploy and manage applications on Light Cloud Platform.

No account yet? Start here

Ask Claude: "Sign me up for Light Cloud as [email protected]" (or "connect me to Light Cloud"). The connect tool creates the account — Free plan, no card, no password, no form — once you approve a short code at console.light-cloud.com/device from any device. Same tool signs an existing account in. Then: "deploy this project", "add a database", "put the workspace on Lite". Nothing needs the web console.

Features

  • Sign-up and sign-in from the terminal - connect with an email; a code approved on any device creates or signs in the account. No password.
  • Billing from the conversation - plans, included usage, a one-step upgrade through Stripe Checkout (monthly or annual)
  • Application management - Create, deploy, and delete applications
  • Environment management - Manage staging, production, and preview environments
  • GitHub integration - Deploy directly from GitHub repositories
  • Upload deployment - Deploy local projects without GitHub
  • Logs, metrics, rollbacks - runtime and build logs, environment metrics and activity, one-call rollback
  • Framework detection - the uploaded folder is read by the same detector the console uses for a repository
  • Password-protected sites - password on deploy gates the site at the edge from the first request
  • Console parity - settings, folders, stacks, database admin (schema, SQL, dump, import), invoices and usage alerts, workspace members, API keys (paid plans), git provider links, notifications, support
  • An off switch you control - Settings → Security → Agents & CLI in the console decides what agents may do; enforced on the backend

Installation

Claude Code

bash
# Add the MCP serverclaude mcp add light-cloud -- npx @light-cloud/mcp-server

Then inside Claude Code, allow all tools without repeated prompts:

/allowed add mcp__light-cloud__*

Claude Desktop (one-click extension)

Download light-cloud-<version>.mcpb from the latest release and open it — Claude Desktop shows an install dialog. The bundle carries the server and its dependencies; Node ships with Claude Desktop, so nothing else is needed. Settings (API endpoint, console URL) are editable in the extension's page.

Build it yourself: npm run bundle → release/light-cloud-<version>.mcpb (manifest.json in this repository is the generated manifest).

Claude Desktop (manual config)

Add to your claude_desktop_config.json:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

json
{  "mcpServers": {    "light-cloud": {      "command": "npx",      "args": ["@light-cloud/mcp-server"]    }  }}

Usage

Once installed, just chat naturally with Claude:

You: Deploy my React app to Light CloudClaude: I'll help you deploy. First, let me check your authentication...        [Opens browser for login]
You: Show me all my applicationsClaude: [Lists your applications with status]
You: Check the logs for my-appClaude: [Fetches and displays recent logs]

Available Tools

110 tools: everything the console can do, from a conversation. Console-only by design: the account password, two-factor settings, and the Agents & CLI switch (below). Full reference with a prompt for each tool: https://docs.light-cloud.com/deploy-with-ai/mcp-server#tool-reference

GroupTools
Accountconnect, connect-status, login, logout, whoami, get-profile, update-profile, list-connected-devices, sign-out-device, get-agent-access
Deployupload-and-deploy (with optional password), create-application, create-stack, wait-for-deployment, deploy-application, deploy-environment, rollback-deployment, set-password-protection, detect-local-framework, detect-framework, detect-local-git, list-repo-directories, read-project-config, write-project-config
Apps & environmentslist-applications, get-application, get-application-status, get-formatted-list, get-formatted-status, update-application, rename-application, move-application, delete-application, list-environments, get-environment, create-environment, update-environment, delete-environment, set-scaling, get-environment-metrics, get-environment-activity, get-environment-runtime, list-folders, create-folder, delete-folder
Logs & deploymentsget-environment-logs, list-deployments, get-deployment, get-build-logs
Variables, domainsset-environment-variables, get-environment-variables, add-custom-domain, get-custom-domain-status, retry-custom-domain, remove-custom-domain
Databaseslist-databases, get-database, create-database, update-database, delete-database, get-database-connection-string, rotate-database-password, get-database-schema, query-database, get-database-metrics, dump-database, import-database
Plan & billingget-billing, list-plans, choose-plan, add-payment-method, payment-method-status, remove-payment-method, get-usage, get-usage-history, list-invoices, get-invoice, retry-invoice, get-outstanding-invoices, get-usage-alerts, set-usage-alerts, get-billing-details, set-billing-details
Workspace & memberscreate-workspace, list-members, invite-member, remove-member, set-member-role, list-roles, list-api-keys, create-api-key (paid plans), revoke-api-key
Git providersget-github-installation-status, get-github-install-url, list-github-installations, list-repositories, list-branches, check-repo-access, connect-git-provider (GitLab / Bitbucket, one link), list-provider-repositories
Otherlist-notifications, mark-notifications-read, contact-support, ping, get-platform-config, get-cloudrun-config, and the low-level upload steps (package-source, request-upload-url, complete-upload, create-application-from-upload)

Prompt: deploy-from-scratch — asks the two things a folder cannot answer (workspace, public or password-protected), then deploys and hands back the URL.

Turning agents off

Settings → Security → Agents & CLI in the console decides what this server, the CLI and the VS Code extension may do on an account: a master switch, then groups (deploy, delete, settings, databases, billing, workspace, API keys). Reads are always allowed. The backend enforces it from the session's own client claim, fixed when the session was issued, so a header cannot get around it — and the switch can only be changed from the console. A refusal comes back as AGENT_ACCESS_DISABLED or AGENT_ACTION_BLOCKED with the place to change it; the server's instructions tell the assistant not to retry.

Authentication

Two ways in; both store credentials in ~/.lightcloud/credentials.json.

connect (default, works anywhere). Ask Claude to connect with your email. The tool prints an 8-character code and the address console.light-cloud.com/device; open it on any device, sign in if you already have an account (or follow the link in the email we sent if you do not — approving creates the account), type the code, approve. Claude calls connect-status until the approval lands. No password is typed into Claude, ever.

login (browser on this machine). Opens the console's sign-in page with a loopback callback, as before.

Plans and upgrading

Every workspace starts on Free: $1 of usage a month, unlimited static sites, 3 server apps, no card. When Free's $1 is used up, server apps and deploys pause until the next cycle and static sites keep serving; a free workspace is never billed. Paid plans (Lite, Starter, Pro, Business; list-plans has prices and limits) include usage worth their price, extra usage goes on the next invoice, and a usage limit can be chosen at checkout. Annual billing is two months free.

Upgrading is one step. choose-plan (with interval: "year" for annual billing) charges a saved card, or returns a Stripe Checkout link that takes the card and the first payment together. The assistant hands over the link ("Open this link to add a card; the plan switches as soon as Stripe confirms") and payment-method-status waits until the plan has switched. add-payment-method only saves or replaces a card. No card number passes through the server.

Refusals an agent can act on

Write tools that hit a plan limit come back with a code and a Next step: line. A plan refusal (PLAN_ENTITLEMENT) names the plan that includes what was refused and its price, for example Next step: call the choose-plan tool with plan_id lite (Lite, $5/month) once the user agrees; the assistant asks the user before upgrading, since choose-plan takes payment. Others: PAYMENT_METHOD_REQUIRED → add-payment-method, POOL_EXHAUSTED → choose-plan (Free's included usage is used up), ORGANISATION_SUSPENDED → add-payment-method. The deploy-from-scratch prompt walks the whole path: connect, billing check, detect, create, database + environment variables, deploy.

Some refusals are answered by talking to the user instead:

CodeWhenWhat the agent does
DOMAIN_NOT_POINTING_HEREadd-custom-domain would replace a domain that serves visitors with one whose DNS points elsewhereTells the user which record to add. Repeats with force: true only if the user says to switch anyway
USE_DOMAIN_ROUTESupdate-application / update-environment was given a different custom domainUses add-custom-domain or remove-custom-domain
PAYMENT_FAILEDchoose-plan charged the saved card and it was declined; the plan is unchangedTells the user; add-payment-method with plan_id saves a different card and switches once it is saved

Custom domains come with the paid plans. On Free add-custom-domain is refused with PLAN_ENTITLEMENT, naming the plan that includes them. A domain already on a Free workspace goes on hold 14 days after the owner is emailed (the site keeps its light-cloud.io address), and a database left on Free stops then too, with its data kept; a paid plan brings both back. Downgrading to Free with a database is refused with DATABASES_ON_FREE until it is deleted. Pages on Free carry a small "by Light Cloud" link, added at the edge; list-plans says which plans show it.

Configuration

No configuration is needed. The server talks to Light Cloud at these addresses by default:

VariableDefault
LIGHT_CLOUD_API_URLhttps://api.light-cloud.com
LIGHT_CLOUD_CONSOLE_URLhttps://console.light-cloud.com

Set them only if you were given a different endpoint.

Development

bash
# Clone the repositorygit clone https://github.com/light-cloud-com/mcp-server.gitcd mcp-server
# Install dependenciesnpm install
# Run in development modenpm run dev
# Build for productionnpm run build

Testing

Test the server manually:

bash
npm run buildnode dist/index.js

Then send JSON-RPC messages via stdin.

License

MIT - see LICENSE

Links

Submitting to the Anthropic directory

What the Software Directory policy asks for and where it is:

來源:README.md,提交 a358502

工具

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

版本歷史

1
  1. v1.6.2最新Oct 29, 2026

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

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

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

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

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