WordPress and PHP security
wp_securityWordPress, PHP, plugin and theme updates and security in one call, with dated, sourced answers. Use when the user asks if a site is safe or up to date, or before advising on updates or hosting: pass the site's WordPress and PHP versions, plugins and themes (slug:version or the wp plugin list / wp theme list output) to get an ordered urgent list (what to update or replace first), known vulnerabilities that hit the installed versions, and which WordPress and PHP branches still get fixes. Compares versions with public records; it does not scan the site.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "wp_security"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| php | No | The PHP version a site runs, e.g. "8.1.30": says if that branch still gets security fixes (a plugin's minimum PHP can be checked here too, as a branch status) | |
| themes | No | The site's themes: "astra:4.6, twentytwentyfive:1.2", or the raw output of `wp theme list --fields=name,status,version --format=csv`. Up to 10. Checked for known vulnerabilities against the installed version. | |
| plugins | No | The site's plugins: "akismet:5.3, contact-form-7:6.0.1, woocommerce", or the raw output of `wp plugin list --fields=name,version,status,update_id --format=csv` (or --format=json) pasted as is. Up to 60. Plugins outside WordPress.org (premium, commercial) are checked under their own slug; must-use plugins are skipped and listed. | |
| wordpress | No | The WordPress version a site runs, e.g. "6.8.2": says if that branch still gets security fixes. Not a plugin's minimum requirement: for what changed since a version, use wp_now with since |