Skip to content

Organization Schema

Complete schema reference for organization configuration files.

{
"schema_version": "1.0.0",
"organization": { },
"marketplaces": { },
"security": { },
"stats": { },
"defaults": { },
"delegation": { },
"profiles": { }
}

Organization identification.

{
"organization": {
"name": "Acme Corp",
"id": "acme"
}
}
FieldTypeRequiredDescription
namestringYesHuman-readable organization name
idstringYesUnique identifier (lowercase, no spaces)

Plugin marketplace sources.

{
"marketplaces": {
"sandboxed-code-official": {
"source": "github",
"owner": "CCimen",
"repo": "sandboxed-code-plugins"
},
"internal": {
"source": "github",
"owner": "your-org",
"repo": "scc-plugins"
}
}
}
FieldTypeRequiredDescription
sourcestringYesgithub, git, or url
ownerstringFor GitHubRepository owner/organization
repostringFor GitHubRepository name
branchstringNoBranch name (default: main)
urlstringFor git/urlFull URL to marketplace

Security policies that cannot be overridden.

{
"security": {
"blocked_plugins": ["*experimental*", "*beta*"],
"blocked_mcp_servers": ["*.untrusted.com"],
"blocked_base_images": ["*:latest"],
"allow_stdio_mcp": false,
"allowed_stdio_prefixes": ["/usr/local/bin/"]
}
}
FieldTypeDefaultDescription
blocked_pluginsstring[][]Glob patterns for blocked plugins
blocked_mcp_serversstring[][]Glob patterns for blocked servers
blocked_base_imagesstring[][]Glob patterns for blocked images
allow_stdio_mcpbooleanfalseAllow stdio MCP servers
allowed_stdio_prefixesstring[][]Allowed paths for stdio commands

Safety net configuration for the scc-safety-net plugin. Controls which destructive git commands are blocked.

{
"security": {
"safety_net": {
"action": "block",
"block_force_push": true,
"block_reset_hard": true,
"block_branch_force_delete": true,
"block_checkout_restore": true,
"block_clean": true,
"block_stash_destructive": true
}
}
}
FieldTypeDefaultDescription
actionstring"block"Action mode: block, warn, or allow
block_force_pushbooleantrueBlock git push --force and +refspec force pushes
block_reset_hardbooleantrueBlock git reset --hard (destroys uncommitted changes)
block_branch_force_deletebooleantrueBlock git branch -D (force delete without merge check)
block_checkout_restorebooleantrueBlock git checkout -- <file> and git restore <file>
block_cleanbooleantrueBlock git clean -f (deletes untracked files)
block_stash_destructivebooleantrueBlock git stash drop and git stash clear

Usage statistics and telemetry configuration.

{
"stats": {
"enabled": true,
"user_identity_mode": "hashed",
"retention_days": 90
}
}
FieldTypeDefaultDescription
enabledbooleantrueEnable usage statistics collection
user_identity_modestring"hashed"User identity tracking mode (anonymous, hashed, identified)
retention_daysnumber90Number of days to retain stats data

Organization-wide defaults applied to all teams.

{
"defaults": {
"enabled_plugins": ["scc-safety-net@sandboxed-code-official"],
"allowed_plugins": ["*@internal", "*@sandboxed-code-official"],
"disabled_plugins": [],
"allowed_mcp_servers": ["*"],
"network_policy": "allow",
"session": {
"timeout_hours": 12,
"auto_resume": true
}
}
}
FieldTypeDescription
enabled_pluginsstring[]Plugins enabled for all teams
allowed_pluginsstring[]Governance whitelist for plugins
disabled_pluginsstring[]Plugins disabled by default
allowed_mcp_serversstring[]MCP server patterns allowed by default
network_policystringNetwork access policy (allow or deny)
sessionobjectDefault session settings
session.timeout_hoursnumberSession timeout in hours
session.auto_resumebooleanAuto-resume sessions
ValueMeaning
Missing/undefinedUnrestricted (all allowed)
[] (empty)Deny all (lockdown mode)
["*"]Explicit unrestricted
PatternsOnly matching plugins allowed

Controls what teams can add.

{
"delegation": {
"teams": {
"allow_additional_plugins": ["*"],
"allow_additional_mcp_servers": ["platform", "data"]
}
}
}
FieldTypeDescription
teams.allow_additional_pluginsstring[]Teams that can add plugins
teams.allow_additional_mcp_serversstring[]Teams that can add MCP servers

Values:

  • ["*"] - All teams
  • ["team1", "team2"] - Only listed teams
  • [] or missing - No teams

Team profile definitions.

{
"profiles": {
"backend": {
"description": "Backend development team",
"additional_plugins": ["java-analyzer@internal"],
"additional_mcp_servers": [
{
"name": "context7",
"type": "http",
"url": "https://context7.example.com"
}
],
"delegation": {
"allow_project_overrides": true,
"allow_additional_plugins": ["project-*"]
},
"session": {
"timeout_hours": 12
}
}
}
}
{
"profiles": {
"platform": {
"description": "Platform team - externally managed",
"config_source": {
"source": "github",
"owner": "myorg",
"repo": "platform-config",
"branch": "main"
},
"trust": {
"inherit_org_marketplaces": true,
"allow_additional_marketplaces": true,
"marketplace_source_patterns": ["github.com/myorg/**"]
}
}
}
}
FieldTypeDescription
descriptionstringHuman-readable description
additional_pluginsstring[]Plugins for this team
additional_mcp_serversarrayMCP servers for this team
delegationobjectProject override settings
sessionobjectSession settings
config_sourceobjectExternal config (federated)
trustobjectTrust grants (federated)
FieldTypeDefaultDescription
inherit_org_marketplacesbooleantrueUse org marketplaces
allow_additional_marketplacesbooleanfalseTeam can add marketplaces
marketplace_source_patternsstring[][]Allowed marketplace URLs