List Style Variations
Lists the ready-made looks the theme ships, with each one's colours and fonts and which is in use: whole styles, colour palettes and typography sets, as the Site Editor offers them. Read-only.
Also known as: theme skins, colour schemes, dark mode, alternative styles.
| Property | Value |
|---|---|
| Ability slug | mosmcp/theme-variation-list |
| Wire tool name | mosmcp__theme-variation-list |
| Category | Theme: Templates and Styles (mosmcp-theme-blocks) |
| Plan | Free |
Required access
| Requirement | Value |
|---|---|
| Capability | edit_theme_options |
| Minimum default role | Administrator (Shop manager too when WooCommerce is active) |
| Annotations | readOnly: true · destructive: false · idempotent: true · openWorld: false |
Input schema
Takes no input. Send "input": {} (or omit input).
Output schema
| Field | Type | Required | Description |
|---|---|---|---|
| theme | string | ||
| count | integer | Yes | |
| variations | object[] | Yes | |
| variations[].title | string | ||
| variations[].kind | string | style (a whole look), colours (a colour palette only) or typography (fonts only). | |
| variations[].description | string | ||
| variations[].colours | string[] | ||
| variations[].fonts | string[] | ||
| variations[].is_current | boolean | ||
| notes | string[] |
Example
Sample prompt
What ready-made colour schemes and styles does my theme offer?
Example request (json)
{
"jsonrpc": "2.0",
"id": 290,
"method": "tools/call",
"params": {
"name": "mosmcp__theme-variation-list",
"arguments": {
"input": {}
}
}
}Example response (json)
{
"jsonrpc": "2.0",
"id": 290,
"result": {
"isError": false,
"structuredContent": {
"theme": "twentytwentyfive",
"count": 2,
"variations": [
{
"title": "Evening",
"kind": "style",
"description": "",
"colours": [
"Base #1B1B1B",
"Contrast #F0F0F0"
],
"fonts": [],
"is_current": false
},
{
"title": "Midnight",
"kind": "colours",
"description": "",
"colours": [
"Base #4433A6",
"Contrast #F5F5F5"
],
"fonts": [],
"is_current": false
}
],
"notes": [
"Apply one with mosmcp/theme-variation-apply. A \"style\" replaces the site's current global-style overrides; a \"colours\" palette or a \"typography\" set changes only colours or only fonts and keeps everything else, as in the Site Editor."
]
}
}
}
Edge cases / errors
- Theme ships no variations -> success with count 0 and the note "This theme ships no style variations."
- Same title used for a style and a palette/typography set -> both are listed and a note says to pass kind when applying.
- Active theme has no theme.json -> refused with mosmcp_no_global_styles (edit style.css via the theme-file abilities instead).
| << Previous | Next >> |
|---|---|
| List Patterns | List Theme Template Parts |
For more information about the Secure MCP Server for WordPress plugin, explore the following resources:
Product Overview | Pricing | Try for Free | Documentation
If you have any questions regarding plugin configuration, pricing plans or licensing, please contact us or mail us at aisupport@xecurify.com.