Skip to content

JSON Schemas

Each brainrc config file has a JSON Schema that describes it after it is parsed as TOML. brainrc checks the files against them, and an editor that reads #:schema lines (Taplo, Even Better TOML) completes and checks them as you type (packs).

File Schema What it is
pack.toml pack.toml.schema.json a pack's manifest (packs)
mcp/servers.toml mcp-servers.toml.schema.json a source's MCP servers (formats)
harnesses.toml harnesses.toml.schema.json where each tool reads its config (formats)
brainrc.toml brainrc.toml.schema.json a repo's project manifest (project)
brainrc.lock brainrc.lock.schema.json the user or project lock (project)

To point an editor at the copy for main, put this line at the top of the file:

#:schema https://raw.githubusercontent.com/brainrc/brainrc/main/docs/schemas/pack.toml.schema.json