List Themes
Lists the themes installed on this site, with version, author, parent theme, and whether an update is available. Read-only. For full detail on the theme currently in use, call mosmcp/theme-get-active instead.
Also known as: installed themes, available themes, what themes do I have.
| Property | Value |
|---|---|
| Ability slug | mosmcp/theme-list |
| Wire tool name | mosmcp__theme-list |
| Category | Themes (mosmcp-themes) |
| Plan | Free |
Required access
| Requirement | Value |
|---|---|
| Capability | switch_themes |
| Minimum default role | Administrator |
| Annotations | readOnly: true · destructive: false · idempotent: true · openWorld: false |
Input schema
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| status | string (one of all, active, inactive) |
all |
Which themes to return: "all", "active", or "inactive". | |
| search | string | — | Optional keyword matched against the theme name and folder. | |
| has_update | boolean | — | When true, returns only themes with an update available. | |
| refresh_updates | boolean | false |
When true, asks WordPress.org for fresh update data before answering. Slower; leave false unless the answer looks stale. |
Output schema
| Field | Type | Required | Description |
|---|---|---|---|
| showing | integer | Yes | |
| total | integer | Yes | Total installed themes before any filter was applied. |
| active | string | Stylesheet of the theme currently active. | |
| themes | object[] | Yes | |
| themes[].stylesheet | string | Yes | Theme folder name, and the identifier every other theme ability takes. |
| themes[].name | string | Yes | |
| themes[].version | string | ||
| themes[].author | string | ||
| themes[].status | string | Yes | Either "active" or "inactive". |
| themes[].is_child | boolean | True when this theme inherits from a parent theme. | |
| themes[].parent | string | Stylesheet of the parent theme, or empty when there is none. | |
| themes[].update_available | boolean | ||
| themes[].new_version | string |
Example
Sample prompt
Which themes are installed on my site?
Example request (json)
{
"jsonrpc": "2.0",
"id": 235,
"method": "tools/call",
"params": {
"name": "mosmcp__theme-list",
"arguments": {
"input": {
"status": "all"
}
}
}
}Example response (json)
{
"jsonrpc": "2.0",
"id": 235,
"result": {
"isError": false,
"structuredContent": {
"showing": 2,
"total": 2,
"active": "twentytwentyfive",
"themes": [
{
"stylesheet": "twentytwentyfive",
"name": "Twenty Twenty-Five",
"version": "1.2",
"author": "the WordPress team",
"status": "active",
"is_child": false,
"parent": "",
"update_available": false,
"new_version": ""
},
{
"stylesheet": "astra",
"name": "Astra",
"version": "4.8.1",
"author": "Brainstorm Force",
"status": "inactive",
"is_child": false,
"parent": "",
"update_available": true,
"new_version": "4.8.3"
}
]
}
}
}
Edge cases / errors
- search matches only the theme name and folder, not its description.
- Update data is cached unless refresh_updates is true.
- total counts every installed theme even when a filter narrows themes.
| << Previous | Next >> |
|---|---|
| Get Theme by Slug | Check Plugin Updates |
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.