claustro.yaml Reference#

Complete reference for the claustro configuration file.

Top-level fields#

FieldTypeDescription
projectstringProject name (default: directory basename)
imagestring or mappingCustom image name, or image build config
defaultsmappingDefault settings for all sandboxes
sandboxesmappingNamed sandbox definitions
firewallmappingEgress firewall configuration
mcpmappingMCP server configuration
gitmappingGit integration settings

image#

When a string, uses that image directly. When a mapping, configures the built image.

image.languages#

FieldTypeDefaultDescription
nodebooltrueNode.js (cannot be disabled)
gobooltrueGo
rustbooltrueRust
pythonbooltruePython 3

image.tools#

FieldTypeDefaultDescription
devbooltrueripgrep, fd, fzf, jq, tree, htop, tmux
buildbooltruegcc, make, pkg-config, libssl-dev

image.mcp_servers#

FieldTypeDefaultDescription
filesystembooltrueMCP filesystem server
memorybooltrueMCP memory server
fetchbooltrueMCP fetch server

image.extra#

List of additional Dockerfile RUN steps:

image:
  extra:
    - run: apt-get install -y ffmpeg

defaults#

FieldTypeDefaultDescription
firewallboolfalseEnable egress firewall
readonlyboolfalseMount source read-only
resources.cpusstring“4”CPU limit
resources.memorystring“8G”Memory limit

sandboxes#

Named sandbox definitions. Each key is a sandbox name.

FieldTypeDescription
workdirstringWorking directory (relative to project root)
mountslistAdditional bind mounts (host:container[:ro|rw])
envmappingEnvironment variables

firewall#

FieldTypeDefaultDescription
enabledboolfalseEnable egress firewall
allowlist[]Additional allowed domains

mcp.stdio#

FieldTypeDescription
commandstringCommand to run
argslistCommand arguments

mcp.sse#

FieldTypeDescription
imagestringDocker image
portintSSE port
envmappingEnvironment variables

git#

FieldTypeDefaultDescription
forward_agentbooltrueForward SSH agent
mount_gitconfigbooltrueMount ~/.gitconfig (read-only)
mount_gh_configbooltrueMount ~/.config/gh/
mount_ssh_dirboolfalseMount ~/.ssh/ (explicit opt-in)