The server's status (Cipi and, from cipi/api 1.39.1, the API package), services, PHP, Node runtimes, disk by app
and backup profiles; apps (create Laravel, custom, Octane or Node apps; environment label; deploy, roll back,
unlock, live deploy status, deploy history, aliases, path and whole-app redirects, prefix proxies, SSL over HTTP or
Cloudflare DNS-01 with wildcards, force HTTPS, www redirect, Artisan, whitelisted commands, logs,
.env read and set, edit domain, environment, PHP, repository and branch, password protection, health
check, limits, cipi.yml plan, apply and auto-apply, Node status and restart, fix permissions, suspend, delete),
databases (create, link to an app, backup, restore from a file on the server, new password), services (restart),
the cipi user's SSH keys, PHP versions (install).
The credentials#
- Point a host of the server to it in DNS, for instance
api.server1.example.com. - On the server, as root:
cipi api api.server1.example.com, thencipi api sslfor its certificate. cipi api token create, choosing the abilities when asked (php artisan cipi:token-abilitieslists them). From Cipi 5.9 / cipi/api 1.39,cipi api token create --full-accesscovers everything, including abilities later versions add. Otherwise pick at least: apps-view, apps-create, apps-edit, apps-delete, apps-suspend, apps-basicauth, apps-env, apps-artisan, apps-run, deploy-manage, aliases-view, aliases-create, aliases-delete, redirects-view, redirects-manage, proxies-view, proxies-manage, ssl-manage, www-manage, dbs-view, dbs-create, dbs-manage, backups-view, backups-manage, node-view, node-manage, node-runtimes-manage, services-view, services-manage, ssh-view, ssh-manage, php-view, php-manage, health-view, status-view, disk-view, yml-view, yml-manage. With fewer, the matching tabs and actions answer 403; without yml-view or yml-manage (tokens created before Cipi 5.6.4 lack them) the cipi.yml tab says so; without the 1.39 abilities, Backups and Node say which one the token lacks.- If the API's IP allowlist is in use, add Studio's server:
cipi api ip-whitelist add <Studio's IP>. - In Studio: the API address (
https://api.server1.example.com) and the API token. Name the account after the server. Revoke an old token withcipi api token listandcipi api token revoke <id>.
Typical tasks#
- A new Laravel app: Apps → New app with user, domain, optional environment label
(
production,staging… — from Cipi 5.8 / cipi/api 1.36 the release may carrycipi-{env}.yml), repository (SSH address), branch, PHP and database. The result window holds the app's SSH and database passwords, the deploy key and the webhook: save them, add the deploy key to the repository, the webhook to the git host. Then Deploy, then Install SSL. - One more domain: the app's Aliases → Add an alias, then Install SSL again so the certificate covers it; www redirect chooses between www and the bare domain; Redirects and Proxies add path redirects and prefix reverse proxies.
- Something broke after a deploy: Logs (Laravel, nginx, PHP-FPM, workers, deploy), then
Roll back; Deploy status shows a deploy in flight (a Git push included); Unlock the
deploy only when it is stuck (
interrupted). - A setting: Set .env keys (
KEY=valueper line), then deploy or run Artisanconfig:cache. - Backups and Node (Cipi 5.9 / cipi/api 1.39): Backups lists profiles, runs and verifies
them; destinations stay on the server (
cipi backup configure). Node lists majors, installs, upgrades, sets the default and removes one.
Most changes run as jobs on the server: Studio waits a few seconds and shows the result; for longer ones (a first deploy, an SSL certificate) the window offers Check again.
A Cipi app in a project#
Attach the app to its project (Attached to projects) and it opens there as one place, each part shown to the roles its actions are handed to:
- Releases
- The releases on disk with their commits and which one is live (read from the Cipi agent), a live deploy card when one is running or queued whoever started it (Git push, CLI, panel, rollback — Cipi 5.8.4 / cipi/api 1.37), the deploy history with duration when the server has it (Cipi 5.9 / cipi/api 1.39) or the audit ledger otherwise, the app's environment label, Deploy and Roll back (Cipi goes back one release at a time), the job's output as it runs, the server's CPU, memory and disk, the app's share of the disk and its limit, stopped services.
- Logs and .env
- Laravel, nginx, PHP-FPM, workers and deploy logs, page by page, filtered, refreshed
every ten seconds if you like. The
.envwith secrets hidden until shown, and a form that sets and removes keys.
- cipi.yml
- The
cipi.ymlof the live release (aliases, PHP and its settings, limits, workers, scheduled commands, databases, backups, deploy steps) and its plan: no file, not valid with the parser's lines, blocked with what to solve first, or the changes one per line, with warnings and notes. From Cipi 5.8 / cipi/api 1.36 the plan shows the app's environment and may point atcipi-{env}.ymlinstead. Apply cipi.yml runs as a job and ends with what it did (applied, nothing to change, partly applied, blocked, not valid, no file). Turn auto-apply on applies the file after every successful deploy, CLI, panel and Git webhook alike, and asks first: anyone who can commit to the repository then changes the app's server configuration. Needs Cipi 5.6.4 and cipi/api 1.35, and a token withyml-viewandyml-manage; an older server or token gets a note, not an error.
- An anonymized database
- With the Cipi agent's anonymizer on, a developer asks for a copy of the production database with names, emails, phones and passwords replaced: the app dumps it, transforms it and mails a download link, valid a few minutes. Real data never leaves the server as it is.
- The anonymization file
~/.db/anonymization.json, edited in a table: start from the file on the server, from a proposal read from the live schema, or from a Laravel start; pick each column's transformation (fakeEmail, mask:3,2, password…, unique, consistent), the tables to empty, the locale; write it back over SFTP as the app's user, or download it, or let Cipi write one from the schema; then the agent's audit says what is covered and what is not.
- MCP in the chats
- The Cipi agent's MCP server (
/cipi/mcp: health, deploys and releases, logs, Artisan, database queries and schema, the anonymizer) reaches the chats of the project ascipi-<app>with no setup, for those who act on the app; its token is read from the app's.env, or typed in. The server's own MCP server (/mcpon the API host, every app of the server) is off unless an administrator turns it on, and needs a token with themcp-accessability. They show in Settings → MCP servers too.
- SSH
- An administrator adds the app's user (
<app>@<server>, with its password or a system key) as an SSH connection of the project: its developers open it from the workspace's terminal (Remote) and the SSH page, each with a credential of their own.
In the app, the agent: composer require cipi/agent, then php artisan cipi:service mcp --enable
and cipi:generate-token mcp, and the same with anonymize; the API token needs
apps-env for Studio to read their tokens. Check the MCP server lists the tools the agent
answers with.


