mcp_get_option
Retrieve a single WordPress option value for a given site and key, with secret-looking values masked so sensitive data stays protected.
Instructions
Get a single option value. Secret-looking values are returned as "[masked]". masked: true says the value (or part of it) was hidden.
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>",
"key": "<key>"
},
"name": "mcp_get_option"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Option name (letters, digits, _ and -; the server lowercases it) | |
| site | Yes | Site id (see list_sites) |