Count Plugins by Status


Returns how many plugins are installed, active, inactive, and waiting for an update, without listing them. Read-only. Cheaper than mosmcp/plugin-list when only the numbers matter.

Also known as: how many plugins, number of inactive plugins.

Property Value
Ability slug mosmcp/plugin-count-by-status
Wire tool name mosmcp__plugin-count-by-status
Category Plugins (mosmcp-plugins)
Plan Free

 

Required access

Requirement Value
Capability activate_plugins
Minimum default role Administrator
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
total integer Yes
active integer Yes
inactive integer Yes
network_active integer Plugins active across a whole multisite network. Always 0 on a single site.
update_available integer
auto_update_on integer
must_use integer Plugins in the mu-plugins folder, which are always on and cannot be deactivated.

 

Example

Sample prompt
How many plugins do I have, and how many are inactive?

Example request (json)

{
  "jsonrpc": "2.0",
  "id": 226,
  "method": "tools/call",
  "params": {
    "name": "mosmcp__plugin-count-by-status",
    "arguments": {
      "input": {}
    }
  }
}

Example response (json)

{
  "jsonrpc": "2.0",
  "id": 226,
  "result": {
    "isError": false,
    "structuredContent": {
      "total": 14,
      "active": 9,
      "inactive": 5,
      "network_active": 0,
      "update_available": 3,
      "auto_update_on": 2,
      "must_use": 1
    }
  }
}

 

Edge cases / errors

  • Must-use plugins are reported separately in must_use and are not included in total.
  • update_available uses cached update data; it does not contact WordPress.org.

 


<< Previous Next >>
Activate Plugin Deactivate Plugin

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.