Documentation menu

Install the Light Cloud VS Code extension and deploy from GitHub Copilot Chat with @lightcloud slash commands like /deploy and /status.

Deploy from GitHub Copilot

The Light Cloud extension adds @lightcloud to GitHub Copilot Chat in VS Code: deploy the project you have open, check its status, and read the plan before anything ships - without leaving the editor.

Requirements#

  • VS Code with GitHub Copilot Chat enabled.
  • A Light Cloud account (created during /login if you don't have one).

Install#

  1. Install the Light Cloud extension from the VS Code marketplace.

  2. Open Copilot Chat and sign in:

    @lightcloud /login
    

    A browser window handles the sign-in, and the chat confirms when you're connected.

Slash commands#

CommandWhat it does
/deployBuilds and deploys the current project
/redeployShips the latest changes to the same app
/statusShows the current deployment - state, URL, last deploy
/listLists your applications
/planPreviews the configuration without deploying
/destroyTears an application down
/login, /logoutManage your session

The extension writes a small .lightcloud project config on the first deploy, so follow-up commands run without arguments - the same file the MCP server uses.

What a deploy does#

/deploy runs the same pipeline as the Create page: detection reads the project, variables in your local .env are set on the app, the build runs, and you get the live URL and a console link in the chat.

@lightcloud /deploy
Framework: React (Vite)
Live at https://acme-app.light-cloud.io
Console: https://console.light-cloud.com/apps/acme-app

No Git remote is required - a folder deploys as an upload app. With a connected repository, pushes keep deploying as usual; the extension is a convenience, not a dependency.

Tip

Run /plan before the first /deploy on an unfamiliar project - it shows the detected framework, build settings, and target without shipping anything.

Troubleshooting#

  • @lightcloud doesn't appear. Check the extension is installed and enabled, then reload the window. Copilot Chat must be signed in and active.
  • Session expired. /logout then /login refreshes credentials.
  • Wrong app targeted. The folder's .lightcloud file decides which app /redeploy and /status talk to - delete it and /deploy fresh to re-link.