Reads and modifies Bricks global settings via MCP tools. Discovers writable keys, reads current values, and performs partial-merge updates while preserving unrelated settings and excluding credentials.
Ships in bricks. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Bricks global settings (the bricks_global_settings option: hundreds of keys backing the admin Settings pages) are exposed to MCP through an allow-list registry. Discover writable keys, read their current values, then send a partial update.
Three tools. Use them in order:
bricks/list-settings-schema: read-only discovery. Returns every key the MCP will accept, with type, category, description, and validation hints. Call this first if you don't already know which key to write.bricks/get-global-settings: read current values for keys in the registry. Never returns excluded credential values or code-execution toggles.bricks/set-global-settings: partial-merge write. Takes { settings: { key: value, ... } }. Other keys untouched.set-global-settings updates the keys you send and leaves everything else alone. Batch requested top-level changes in one call.
bricks/set-global-settings
settings:
postTypes: ["page","post","product","bricks_template"]
cssLoading: "file"
Result: postTypes and cssLoading updated; every other setting (maintenance mode, disable emojis, etc.) retained exactly as it was.
Dozens of keys across categories. Current examples from includes/abilities/settings.php:
postTypes, wp_to_bricks, bricks_to_wp, disableClassManager, disableVariablesManager, disableOpenGraph, disableSeo, elementAttsAsNeeded, customImageSizes, disableSkipLinks, smoothScroll, deleteBricksData, searchResultsQueryBricksData, themeStylesLoadingMethod, duplicateContent, enableQueryFilterspublicTemplates, myTemplatesAccess, myTemplatesWhitelist, remoteTemplates, saveFormSubmissionsbuilderAutosaveInterval, builderQueryMaxResults, builderLocale, abilitiesApienableDrafts, enableReviewLinks or disableGlobalDataHistory only on an explicit user request; they change site-wide editing and undo behavior.cssLoading, disableBricksCascadeLayer, disableEmojis, disableJqueryMigratemaintenanceMode, maintenanceTemplate, bypassMaintenanceUserRoles, maintenanceExcludedPostspasswordProtectionEnabledCall list-settings-schema to see the current full list: it's auto-generated from the registry and stays in sync with Bricks updates.
These are blocked at the registry level (see Settings::EXCLUDED_SETTING_KEYS). Attempting set-global-settings with any of these returns bricks_setting_excluded. The literal list:
licenseKey: plus any key starting with license, apiKey, or apiSecretKeyinstagramAccessTokenmyTemplatesPasswordremoteTemplatesPasswordremoteTemplates[].passwordexecuteCodeEnabled: master toggle for the custom-PHP execution pathexecuteCodeCapabilities: role matrix controlling who can execute codecodeSignaturesLocked: prevents tampering with the signature-verification defensecodeExecutionModehtmlExecutionModeUse an authorized admin/configuration workflow for excluded settings. Signature regeneration also has no MCP ability; see bricks-maintenance.
remoteTemplates can manage saved source URLs and optional names only. Passwords are preserved if already configured, but never returned or written. New MCP-written remote template URLs must be public http/https URLs: private, loopback, link-local, unsafe-port, credentialed, or non-resolving hosts are rejected because those URLs are later used for outbound template-library fetches.
Use bricks-list-credential-status when you only need to know whether a credential exists. It returns rows with configured, readable: false, and writable: false; it never returns the stored value or a masked fragment.
Good uses:
apiKeyGoogleMaps.configured before building a Google Maps experience.Do not ask for the raw value. If a required credential is missing, tell the user which setting to add in the Bricks admin UI.
set-global-settings { settings: { fooBarBaz: 1 } } where fooBarBaz isn't in the registry returns bricks_setting_unknown.
For these settings, use the dedicated abilities:
bricks/list-breakpoints, then bricks/set-breakpoints with its
breakpointOwnership; changing customEnabled also requires the returned
globalSettingsOwnershipbricks/set-style-managerbricks/list-pseudo-classes, then bricks/set-pseudo-classes
with its ownership as expectedOwnership; removals require
allowRemovedPseudoClasses: true after reviewing usage evidencebricks/list-builder-permissions, bricks/upsert-builder-capability, bricks/set-builder-role-accessThe registry is for keys that don't fit into one of those domains.
If a
bricks/*ability is not available as a direct tool: first check whether it is outside the fast path and call it throughmcp-adapter-execute-abilitywithability_name: "bricks/<name>". If the dispatcher also rejects it, callbricks-list-ability-statusto check whether a site admin disabled it under Bricks > AI.
bricks/list-settings-schema
-> scan output for "maintenance" category
-> find maintenanceMode, maintenanceTemplate, bypassMaintenanceUserRoles, maintenanceExcludedPosts
bricks/get-global-settings (optional: check current values)
bricks/set-global-settings
settings:
maintenanceMode: "maintenance"
maintenanceTemplate: 123
bypassMaintenanceUserRoles: "custom"
maintenanceExcludedPosts: ["45","88"]
bricks/get-global-settings -> mutating -> bricks/set-global-settings with the whole blob. It works, but it defeats partial-merge and races with admin UI saves.bricks_setting_excluded: the exclusion is permanent and deliberate.list-settings-schema output as cacheable across Bricks versions: new keys show up with updates.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/bricks:bricks-settingsfrom bricks
npx claudepluginhub codeerhq/bricks-skills --plugin bricks46 skills in this plugin
/bricks-agent-repositoryHandle complex existing-site Bricks edits through advertised repository/workspace workflows when focused abilities cannot express the change./bricks-ai-tabDiagnose Bricks AI connection setup, ability toggles, dispatcher availability and disabled actions. Use for connection/availability problems./bricks-audit-design-systemAudit Bricks classes, variables, palettes and components, or carry out requested cleanup. Report-only audits do not authorize fixes.Other plugins' skills for the same job