Project settings

What the project is, who works on it and as what, what the server runs for it, who may open its hosts, what the agent gets and which MCP servers its chats get. The Settings tab of a project, for administrators (p/<key>/settings; Settings in Administration → Projects leads there), has six sections: General, Members & roles, Server, Who opens the hosts, Agent and MCP servers. Each saves on its own. Server, Who opens the hosts and Agent are applied to the site and to every workspace preview; MCP servers are saved one by one (see MCP servers).

General#

The General section of a project's Settings tab: the key, name, repository, the Deployed with account, branch, PHP and database
Settings → General. The six sections on the left, under the project's key; Deployed with picks the account that deploys the site.

The name, the repository's address, the account it is Deployed with (a service account, or an administrator's own token on the repository's host), the deploy branch, PHP and the database. The address must be on the host of the deploying account. The key is shown, not edited: it never changes.

Members & roles#

The Members & roles section: each person with a role select, Not on the project, PM, Developer or Client
Settings → Members & roles. One select per person: not on the project, or their role on it.

Every person who is not an administrator, with Not on the project or their role on it: PM, developer or client. Administrators are listed as on every project. A role counts from the person's next click; what it opens is in Roles. Administration → People lists each person's projects with their role, and a click there opens this section.

Server#

The Server section: the addresses of the site and the previews, scheduler, queues, Horizon, Reverb, Pulse and the timezone
Settings → Server. What runs next to the app, on the site and on every preview.
Addresses
The team's, always under Studio's domain and behind the login: the site at <key>.<domain>, the previews and sandboxes at <person>-<key>.<domain>. Besides them, optionally, a public address for the site on a client's domain that points here (project-a.client.com), public or not public for this project alone. Public, anybody opens it with no sign-in, from the addresses listed in Who opens the hosts; it runs with APP_ENV=staging and APP_DEBUG=false, so /larapilot asks for a Larapilot user of its own. Not public, the browser asks for the email and password of a Studio account on the project (basic authentication): no Studio page on the client's domain.
Scheduler
A cron line runs php artisan schedule:run every minute as the host's own Linux user. On by default, for the site and for every preview.
Queues
One queue:work worker per queue name, as a systemd unit that restarts on failure and on every deploy. default is on from the start; add mail, exports and two more workers appear.
Horizon
php artisan horizon in place of the plain workers: Horizon reads the queues from config/horizon.php and supervises them itself. The app must have laravel/horizon.
Reverb
Runs php artisan reverb:start on a loopback port of its own and proxies /app and /apps of the host to it. The helper writes the REVERB_* keys into the app's .env once; the app itself must have laravel/reverb installed.
Pulse
php artisan pulse:check, so the Pulse dashboard of the app shows the server's CPU, memory and disk. The app must have laravel/pulse.
Timezone
One per project, UTC by default: APP_TIMEZONE in the .env of the site and of every preview (the cached configuration is rebuilt), and TZ in the workspaces, so Claude and the terminal see the same clock from the next start of each workspace. Laravel reads it when config/app.php has 'timezone' => env('APP_TIMEZONE', 'UTC'): projects Studio creates have it, an existing repository needs that line.
HTTPS
Nothing to switch on: Caddy issues a certificate for every host the first time it is opened, the deploy site and each workspace preview alike (see The server).

Who opens the hosts#

The Who opens the hosts section: address lists for the site and for the previews, and branch overrides
Settings → Who opens the hosts. The Studio login and the project, except the public address, open when public and behind the browser's sign-in when not; address lists narrow every one, per site, previews and branch.

Every address of a project is behind the Studio login: the site, its /larapilot dashboard and API, each workspace preview, any path. The visitor must be logged in to Studio and assigned to the project, in any role (developer, PM, client), or be an administrator; anyone else is sent to the Studio login page and comes back after it, and a logged-in person who is not on the project gets a 403. That is the default, and the right one: a preview runs with APP_DEBUG on, a site with work not yet released.

For the client and the open internet, a project gets a public address on a client's domain (Settings → Server → Addresses), public or not public:

  • Public: the site opens there to anyone, with no sign-in, as a real public website, and never shows a debug page (APP_ENV=staging, APP_DEBUG=false). In staging Larapilot's /larapilot asks for a Larapilot user of its own, so Studio adds nothing there.
  • Not public: the browser's own sign-in box (basic authentication) asks for the email and password of a Studio account that is on the project, or of an administrator: no Studio page ever shows on the client's domain. Five wrong tries a minute lock an account from an address, and every refusal goes to the security log, where fail2ban bans the address, as for the login form. Caddy drops the credentials before the app, which never sees a Studio password; a checked pair is remembered for ten minutes, so the pictures of a page do not each check the password again. Two-factor authentication is not asked there: the browser's box has no room for it.

Studio's own addresses of the project, the team's (the site's <key>.<domain>, every preview and sandbox), keep the Studio login whatever happens. On one client's domain each project is public or not on its own: project-a.client.com public, project-b.client.com not public, progetto-bello-c.client.com public.

Only from
An address list for the site, one for the previews: one IP or CIDR per line. It narrows the sign-in, it never replaces it: from a listed address the visitor still signs in (or walks in, at a public address that is public), from any other nobody gets in, at the team's address and at the public address alike. Empty means from anywhere.
Branch overrides
A list for feature/secret replaces the site's list while that is the deploy branch, and the previews' list for every workspace that is on that branch. Studio remembers each workspace's branch from its Git tab.

How it works: the Caddyfile puts a forward_auth to Studio's /api/site-auth in front of every host that is not Studio's own, so no project host is ever served without it, whatever its own file says. Studio answers 204 (go on), a redirect to its login, or 403. Machines are no exception: a webhook or an end-to-end test aimed at a project host gets the login page too.

Studio's own session cookie never reaches a project host: the apps there run code the team writes, and must not see a cookie that opens Studio. A visitor without a pass is sent to studio.<domain>, logs in there if needed, and comes back with a one-time token valid for two minutes. The gatekeeper swaps it for a pass cookie bound to that host alone, good for twelve hours; it is useless on any other host and in Studio.

Agent#

What the agent gets in this project. Both switches are on by default.

Browser for the agent
Every Claude chat gets a headless Chromium signed in to the preview as the person, through the same access rules, plus the browser-qa subagent. See The agent's browser.
Conversations in a sandbox
A conversation may work in a git worktree of the person's workspace, with its own branch, database and preview. Sandboxes per person caps how many each person keeps at once (3 by default, up to 10): each is a database, a build and a few hundred MB on disk. See Sandboxes.
Subagents
Studio always adds code-reviewer and test-runner; with the browser on, browser-qa too. They run in parallel through Claude’s Task tool; the repository’s .claude/agents still apply.

MCP servers#

Give the chats of a project more tools: the project's documentation, error tracking, a CRM, an internal API. Any remote MCP server works; Studio does not care whose it is.

The MCP servers section of a project's Settings tab: two servers with their URL, roles and last test, and the form to edit one
MCP servers. Each with its URL, who gets it, its header and the answer of the last test.
Add one
Settings → MCP servers on the project: a name (it becomes part of the tool names, mcp__docs__search), the URL of the server, and usually one header such as Authorization: Bearer …. The value is stored encrypted and never shown again; editing without typing a new value keeps it.
Who gets it
Tick the roles, as people have them on this project. A PM can have the documentation server while only administrators and developers get the one that reads production errors. Clients get nothing unless you tick them.
Test
Studio makes the initialize call Claude Code would make, with the header, and keeps the answer: ok with the server's name and version, a refused header, a wrong URL.
In the chat
Each person's chat gets the enabled servers their role on the project may use, from the next message on; Model & mode lists them. Their tools ask for permission like any other tool, unless the mode lets them through. Turn off takes a server out of every chat without forgetting it.

Remote here, commands in the repository#

Studio only adds remote servers (the streamable HTTP transport). A server that runs as a command belongs in the repository's .mcp.json: Claude Code loads it in every workspace, as the person's own Linux user, with secrets as ${ENV} references. Both kinds end up in the same chat.

The bridge hands Studio's servers to Claude Code through a file only the workspace user can read, never on the command line, so a token does not show in the server's process list. It accepts nothing but {"type": "http", "url"} entries from Studio.