# Cloud apps

Server code from a repository, built and run at a path of a site, or serving the whole site.

**Cloud**, in the sidebar, lists the workspace’s apps. An app is code that runs on the server, built from a GitHub repository, branch and folder, and answering at a path of one of your sites, or at its root, where it serves the whole site.

*Cloud: every app, where it answers and its last deploy.*

## What you can do with an app

| Action | What it does |
| --- | --- |
| **Deploy** | Production builds the app’s branch and puts it live once it builds; preview builds any branch at an address of its own. |
| **Roll back** | Puts an earlier production deploy back live without rebuilding it. |
| **Pause** / **Resume** | Stops its paths answering, and brings them back. |
| **Settings** | The variables it needs, by name: which are set, which it wants and which are missing. |

## From an agent

Agents work with apps over [MCP](https://www.stackide.com/docs/agents/mcp) with the `cloud:read` and `cloud:write` permissions: `list_cloud_apps`, `get_cloud_app`, `create_cloud_app`, `deploy_cloud_app`, `rollback_cloud_app`, `pause_cloud_app` and `resume_cloud_app`, and `get_cloud_deploy` for a deploy’s build log.
