Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
122 changes: 101 additions & 21 deletions src/schemas/json/claude-code-settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -348,34 +348,92 @@
"allowedMcpServers": {
"type": "array",
"items": {
"type": "object",
"properties": {
"serverName": {
"type": "string",
"pattern": "^[a-zA-Z0-9_-]+$",
"description": "Name of the MCP server that users are allowed to configure"
"anyOf": [
{
"type": "object",
"properties": {
"serverName": {
"type": "string",
"pattern": "^[a-zA-Z0-9_-]+$",
"description": "Name of the MCP server that users are allowed to configure"
}
},
"required": ["serverName"],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"serverCommand": {
"type": "array",
"items": {
"type": "string"
},
"description": "Exact command and arguments used to start stdio servers"
}
},
"required": ["serverCommand"],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"serverUrl": {
"type": "string",
"description": "URL pattern for remote servers, supports wildcards (e.g., https://*.example.com/*)"
}
},
"required": ["serverUrl"],
"additionalProperties": false
}
},
"required": ["serverName"],
"additionalProperties": false
]
},
"description": "Enterprise allowlist of MCP servers that can be used. Applies to all scopes including enterprise servers from managed-mcp.json. If undefined, all servers are allowed. If empty array, no servers are allowed. Denylist takes precedence - if a server is on both lists, it is denied. See https://code.claude.com/docs/en/mcp#managed-mcp-configuration"
"description": "Enterprise allowlist of MCP servers that can be used. Applies to all scopes including enterprise servers from managed-mcp.json. If undefined, all servers are allowed. If empty array, no servers are allowed. Denylist takes precedence - if a server is on both lists, it is denied. See https://code.claude.com/docs/en/mcp#restriction-options"
},
"deniedMcpServers": {
"type": "array",
"items": {
"type": "object",
"properties": {
"serverName": {
"type": "string",
"pattern": "^[a-zA-Z0-9_-]+$",
"description": "Name of the MCP server that is explicitly blocked"
"anyOf": [
{
"type": "object",
"properties": {
"serverName": {
"type": "string",
"pattern": "^[a-zA-Z0-9_-]+$",
"description": "Name of the MCP server that is explicitly blocked"
}
},
"required": ["serverName"],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"serverCommand": {
"type": "array",
"items": {
"type": "string"
},
"description": "Exact command and arguments used to start stdio servers"
}
},
"required": ["serverCommand"],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"serverUrl": {
"type": "string",
"description": "URL pattern for remote servers, supports wildcards (e.g., https://*.example.com/*)"
}
},
"required": ["serverUrl"],
"additionalProperties": false
}
},
"required": ["serverName"],
"additionalProperties": false
]
},
"description": "Enterprise denylist of MCP servers that are explicitly blocked. If a server is on the denylist, it will be blocked across all scopes including enterprise. Denylist takes precedence over allowlist - if a server is on both lists, it is denied. See https://code.claude.com/docs/en/mcp#managed-mcp-configuration"
"description": "Enterprise denylist of MCP servers that are explicitly blocked. If a server is on the denylist, it will be blocked across all scopes including enterprise. Denylist takes precedence over allowlist - if a server is on both lists, it is denied. See https://code.claude.com/docs/en/mcp#restriction-options"
},
"hooks": {
"type": "object",
Expand Down Expand Up @@ -442,7 +500,7 @@
},
"Stop": {
"type": "array",
"description": "Hooks that run when agents finish responding",
"description": "Hooks that run when agents finish responding. Does not run on user interrupt",
"items": {
"$ref": "#/$defs/hookMatcher"
}
Expand Down Expand Up @@ -1029,6 +1087,28 @@
"description": "Show tips in the spinner while Claude is working. Set to false to disable tips (default: true)",
"default": true
},
"spinnerTipsOverride": {
"type": "object",
"description": "Customize the tips displayed in the spinner while Claude is working. See https://code.claude.com/docs/en/settings",
"properties": {
"excludeDefault": {
"type": "boolean",
"description": "If true, only show custom tips. If false or absent, custom tips merge with built-in tips",
"default": false
},
"tips": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"description": "Custom tip strings to display in the spinner",
"minItems": 1
}
},
"required": ["tips"],
"additionalProperties": false
},
"terminalProgressBarEnabled": {
"type": "boolean",
"description": "Enable the terminal progress bar that shows progress in supported terminals like Windows Terminal and iTerm2 (default: true)",
Expand Down
32 changes: 31 additions & 1 deletion src/test/claude-code-settings/mcp-servers.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,35 @@
{
"allowedMcpServers": [
{
"serverName": "github"
},
{
"serverCommand": ["npx", "-y", "@modelcontextprotocol/server-filesystem"]
},
{
"serverUrl": "https://mcp.company.com/*"
}
],
"deniedMcpServers": [
{
"serverName": "dangerous-server"
},
{
"serverCommand": ["npx", "-y", "unapproved-package"]
},
{
"serverUrl": "https://*.untrusted.com/*"
}
],
"disabledMcpjsonServers": ["experimental-server", "legacy-api"],
"enableAllProjectMcpServers": false,
"enabledMcpjsonServers": ["filesystem", "github", "database-reader"]
"enabledMcpjsonServers": ["filesystem", "github", "database-reader"],
"spinnerTipsOverride": {
"excludeDefault": true,
"tips": [
"Remember to test your changes",
"Use descriptive commit messages",
"Check documentation before implementing"
]
}
}
4 changes: 4 additions & 0 deletions src/test/claude-code-settings/modern-complete-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,10 @@
},
"showTurnDuration": true,
"spinnerTipsEnabled": true,
"spinnerTipsOverride": {
"excludeDefault": false,
"tips": ["Check the style guide", "Run tests before committing"]
},
"spinnerVerbs": {
"mode": "append",
"verbs": ["Analyzing", "Building"]
Expand Down