# Manifest

`boringcloud.json` describes a release. With the CLI it is a file at the root of the project. With the MCP tool `deploy_app` it is the `manifest` argument.

```json
{
  "schemaVersion": 1,
  "name": "Sprint Tracker",
  "description": "Shared sprint tracker for the team",
  "runtime": "worker-js",
  "entry": "dist/worker.mjs",
  "assets": "dist/client",
  "database": true
}
```

| Field           | Required | Rules                                                                                          |
| --------------- | -------- | ---------------------------------------------------------------------------------------------- |
| `schemaVersion` | yes      | `1`                                                                                            |
| `name`          | yes      | 1 to 80 characters                                                                             |
| `runtime`       | yes      | `"worker-js"`, the only value                                                                  |
| `assets`        | yes      | relative folder with the built frontend. It must contain `index.html`                          |
| `database`      | yes      | `true` or `false`. `true` gives the app one private SQL database as `env.APP_DB`               |
| `entry`         | no       | relative path of the backend bundle, ending in `.js` or `.mjs`. Leave it out without a backend |
| `description`   | no       | at most 280 characters                                                                         |
| `slug`          | no       | a suggestion: lowercase letters, digits and dashes, 3 to 40 characters                         |
| `contract`      | no       | `"2026-11"`, the version of the runtime rules                                                  |
| `capabilities`  | no       | `["database"]` is the only value, and it requires `"database": true`                           |
| `schedules`     | no       | up to 10 `{ "cron": "0 7 * * 1-5", "job": "daily-report" }`, UTC, each at most every 15 minutes. Requires `entry`. See [Platform services](https://boring-cloud.app/docs/platform-services.md#schedules) |

## Combinations that are refused

- An unknown field. There is no field for secrets, environment variables, routes, domains or network access, because the platform decides all of them.
- `"database": true` without `entry`: only a backend can use a database.
- `entry` without a backend file, or a backend file without `entry`.
- `"database": true` on a new app when IT turned databases off. Apps that already have one keep it.

## Smallest manifest

A tool that only computes in the browser:

```json
{
  "schemaVersion": 1,
  "name": "VAT calculator",
  "runtime": "worker-js",
  "assets": "dist/client",
  "database": false
}
```
