Running work
The workspace settings file
Declare MCP servers, skills and secret names once for every repository in a workspace, and how a repository replaces them.
The workspace settings file declares MCP servers, skills, CLIs, plugins and secret names once, for every repository in your workspace. It is a catalyst.toml file at the root of one repository you choose. Catalyst applies a change to it when a reviewed pull request merges that change into the repository’s default branch. A repository’s own .catalyst/catalyst.toml adds to it, and the repository’s entry wins when both use the same name.
Every phase in every repository receives what the file declares, including phases that do not write code.
Where it lives
Section titled “Where it lives”An owner or admin chooses the repository under Settings → Environment → MCP servers, in the Workspace settings file panel.
- Any repository registered to a project in the workspace can hold it. A dedicated one, such as
acme/catalyst-workspace, keeps these changes apart from code. - The file is
catalyst.tomlat the repository’s root. It is not the repository’s own.catalyst/catalyst.toml, and the same repository can carry both. - The Catalyst GitHub App needs write access to Contents and Pull requests on that repository, so that Settings can open pull requests there.
- If the repository already has a valid
catalyst.tomlat its root when you choose it, that file takes effect only when the latest commit on the default branch is the merge of a reviewed pull request that changed it. Otherwise Settings shows “Not applied”, and the file takes effect with the next reviewed pull request that changes it.
Until a workspace chooses a repository, its workspace entries are proposed by the Catalyst setup skill and approved by an owner or admin, as before.
An example
Section titled “An example”This is the file as Catalyst writes it, with two MCP servers and one secret name:
# catalyst.toml: the workspace settings file for Catalyst.# Every repository in the workspace gets what this file declares. A repository's own# .catalyst/catalyst.toml adds to it, and an entry with the same name replaces this one.# Change this file with a pull request. Catalyst applies it once it merges to the default branch.# Secret VALUES never go here: store them in Catalyst under Settings → Environment → Secrets.
[[environment.variables]]name = "CONTEXT7_API_KEY"required = falsesecret = true
[[environment.mcp_servers]]name = "context7"url = "https://mcp.context7.com/mcp"
[environment.mcp_servers.headers]CONTEXT7_API_KEY = "$CONTEXT7_API_KEY"
[[environment.mcp_servers]]name = "deepwiki"url = "https://mcp.deepwiki.com/mcp"You can edit the file by hand. A change merged through a reviewed pull request applies exactly like a change made in Settings. A direct push to the default branch, or a merge nobody reviewed, is not applied.
What the file accepts
Section titled “What the file accepts”The file holds one [environment] table. Under it, five keys are accepted, each with the same fields it takes in a repository’s settings file:
| Key | Declares | Fields |
|---|---|---|
variables |
Variable and secret names | name, required, secret |
mcp_servers |
MCP servers | name, url and headers, or command, args and env; optional transport, required_env_names, harnesses |
skills |
Skills installed from a repository | name, source (repository, path, commit), reference, digest, required_env_names |
clis |
Command-line tools | name, install |
plugins |
Agent plugins | name, plugin_name, version, marketplace_name, marketplace_url, marketplace_ref, harnesses, required_env_names |
Leave a skill’s tier out. A skill in this file is always a workspace skill.
Catalyst refuses the whole file, and keeps the version already in effect, when it finds any of these:
- A key that only means something inside one repository:
setup,toolchains,system_packages,verifyorservices. The message reads, for example, “environment.setup belongs in a repository’s .catalyst/catalyst.toml. The workspace file declares variables, mcp_servers, skills, clis and plugins only.” - Any table other than
[environment], such as[merge]or[project]. - A secret value anywhere in the file.
Which entry wins
Section titled “Which entry wins”A run in a repository receives the workspace entries and the repository’s own entries together. When both declare the same thing, the repository’s version wins:
- An MCP server, skill, CLI or plugin matches on its name. If the repository’s
.catalyst/catalyst.tomldeclares one with the same name, the run gets the repository’s entry, whole. No field of the workspace entry is kept, so a repository can pointcontext7at another URL or another secret. - A variable or secret matches on its name. The repository’s value is used.
- Everything that does not match reaches the run from both files.
Two MCP servers with different names are two servers, even when they point at the same URL. Catalyst keeps both and does not merge them. For example, the workspace file declares cf and a repository declares cloudflare, both at https://observability.mcp.cloudflare.com/mcp. Runs in that repository get both servers. The repository’s settings page shows a “Same URL” warning naming both. To replace the workspace server instead, name the repository’s entry cf.
To see what a run in one repository receives, open the repository’s settings page, then Environment → MCP servers or Environment → Skills. Each row’s From column reads “Workspace”, “This repository”, or “This repository (replaces the workspace entry)”.
Secret names, not values
Section titled “Secret names, not values”The file names secrets. It never holds their values.
- Store a value under Settings → Environment → Secrets. A stored secret is write-only and never displayed again.
- Reference it by name:
"$CONTEXT7_API_KEY"in a header,"Bearer $EXA_API_KEY"for a bearer token, or"$NAME"in anenventry. Catalyst fills in the value inside the run’s container. - When you create a secret from the Add MCP server form, Catalyst stores the value. The file and the pull request carry only its name.
- A value that looks like a credential is refused, and the file is not applied.
Once the file is in effect, a run in a repository without its own settings file receives only the secrets the file names or an MCP server references. Settings → Environment → Secrets lists any workspace secret the file does not name, with a Name it button that adds it to the file. The first pull request Catalyst opens names every workspace secret that already exists, so no run loses one when it merges.
How Settings changes become pull requests
Section titled “How Settings changes become pull requests”Settings never changes the workspace entries directly. It changes the file, through a pull request:
- Add, edit or remove an MCP server or skill, or name a secret, under Settings → Environment. Saving opens a pull request on the config repository from a branch named
catalyst/workspace-settings-followed by 12 characters. Its description lists each change and who asked for it. - While that pull request is open, each further save adds a commit to it. The save button reads “Add to pull request #14”, with that pull request’s number. A workspace has at most one open Settings pull request.
- Nothing changes for runs until it merges. Settings shows “Waiting to merge”, a link to the pull request, and a badge such as “Adding in #14” on each row it changes.
- When it merges after a review, Catalyst reads the file from the default branch and applies it. Settings then shows the commit the file is in effect from. After a pull request closes, the next save opens a new one.
The first save in a workspace without the file creates it. That pull request also carries the workspace entries in effect today, so nothing is lost.
A pull request counts as reviewed when someone other than its author approved the commit that merged, or when an owner or admin of your Catalyst workspace merged it with their GitHub account connected. Catalyst adds no approval step of its own, and any approving review by someone other than the author counts. To require a particular reviewer, set that in the config repository’s branch protection. If a merged change was not reviewed, Settings shows “Not applied” and the version in effect stays. The Catalyst setup skill follows the same path: for a workspace with a config repository, its proposal opens or extends the same pull request.
If a merged file cannot be applied, Settings shows “Not applied” with the reason and the commit that stays in effect. A deleted file also leaves the last applied version in effect.
- The settings file for a repository’s own
.catalyst/catalyst.toml. - Environment and secrets for where the values behind these names live.