mcp_list_options
Lists WordPress options for a site in ascending name order, with an optional prefix filter, and masks secret-looking values as [masked] for safe inspection.
Instructions
List WordPress options (name ascending) with an optional name prefix filter. Secret-looking values are returned as "[masked]". Note: autoload is only true for legacy 'yes' rows (WP 6.6+ stores 'on'/'auto', reported as false).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"site": "<site>"
},
"name": "mcp_list_options"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | Site id (see list_sites) | |
| prefix | No | Only options whose name starts with this (server lowercases it and keeps only a-z, 0-9, _ and -) | |
| per_page | No | Maximum options returned (default 50) |