MCP Servers
mcpServers
Section titled “mcpServers”- Type: object
- Default: unspecified
- Description: MCP server configurations mapping server names to their configuration objects. Each server can have command, environment, and other configuration details.
- Example:
{"mcpServers": {"memory": {"command": "memory-server"}}}
allowedMcpServers
Section titled “allowedMcpServers”- Type: object[]
- Default: unspecified
- Description: When set in managed-settings.json, allowlist of MCP servers users can configure. Each entry contains identifiers like
serverName,command, or glob URL patterns. Undefined = no restrictions, empty array = lockdown. Applies to all scopes. - Example:
{"allowedMcpServers": [{"serverName": "github"}]}
deniedMcpServers
Section titled “deniedMcpServers”- Type: object[]
- Default: unspecified
- Description: Blocklist of MCP servers that are explicitly blocked. When set in managed-settings.json, applies to all scopes including managed servers. Denylist takes precedence over allowlist.
- Example:
{"deniedMcpServers": [{"serverName": "filesystem"}]}
enableAllProjectMcpServers
Section titled “enableAllProjectMcpServers”- Type: boolean
- Default: unspecified
- Description: Automatically approve all MCP servers defined in project
.mcp.jsonfiles without requiring explicit user confirmation for each server. - Example:
{"enableAllProjectMcpServers": true}
enabledMcpjsonServers
Section titled “enabledMcpjsonServers”- Type: string[]
- Default: unspecified
- Description: List of specific MCP servers from
.mcp.jsonfiles to approve. Each entry is a server name to enable. - Example:
{"enabledMcpjsonServers": ["memory", "github"]}
disabledMcpjsonServers
Section titled “disabledMcpjsonServers”- Type: string[]
- Default: unspecified
- Description: List of specific MCP servers from
.mcp.jsonfiles to reject. Each entry is a server name to disable. - Example:
{"disabledMcpjsonServers": ["filesystem"]}