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 平台上的 Web 应用、API、数据库与账单。

可以做什么
  • 注册、登录并管理账户、已连接设备与代理权限
  • 从 GitHub 或本地上传部署,创建应用与堆栈、等待部署、回滚、设置密码保护并识别框架
  • 列出、创建、修改和删除应用、环境、文件夹、扩缩容、环境变量与自定义域名
  • 查看构建与运行时日志、部署记录、环境指标与活动
  • 管理数据库:创建、查询、导出、导入、轮换密码、读取结构与连接串
  • 处理套餐、支付方式、用量、发票与用量提醒,以及工作区成员、API 密钥、Git 服务商、通知与支持
适用场景
适合希望不离开聊天就上线并运维托管 Web 应用、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 分