WordPress filter hook
mcp_adapter_get_ability_info_capability
Defined by MCP Adapter and fired by 8 plugins in total, running on 150K+ sites between them.
“Filters the capability required to get ability information.”
How to use mcp_adapter_get_ability_info_capability
It's a filter: your callback receives the value, and must return the (changed) value.
Add this to your theme's functions.php or a small custom plugin:
add_filter( 'mcp_adapter_get_ability_info_capability', function( $value ) {
// Change $value here.
return $value;
}, 10, 1 );Argument names come from MCP Adapter's source. Other plugins may pass different values: check the call in the plugin you're targeting below.
8 plugins that fire mcp_adapter_get_ability_info_capability
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
MCP Adapter80,000+ installs
apply_filters( 'mcp_adapter_get_ability_info_capability', 'read' )includes/Abilities/GetAbilityInfoAbility.php:180 -
wpDataTables60,000+ installs
apply_filters( 'mcp_adapter_get_ability_info_capability', 'read' )lib/wordpress/mcp-adapter/includes/Abilities/GetAbilityInfoAbility.php:180 -
UiChemy8,000+ installs
apply_filters( 'mcp_adapter_get_ability_info_capability', 'read' )vendor-prefixed/wordpress/mcp-adapter/includes/Abilities/GetAbilityInfoAbility.php:180 -
ZIP AI2,000+ installs
apply_filters( 'mcp_adapter_get_ability_info_capability', 'read' )lib/mcp-adapter/includes/Abilities/GetAbilityInfoAbility.php:180 -
AcrossAI MCP Manager100+ installs
apply_filters( 'mcp_adapter_get_ability_info_capability', 'read' )includes/Abilities/GetAbilityInfo.php:45 -
ClearPost80+ installs
apply_filters( 'mcp_adapter_get_ability_info_capability', 'read' )lib/mcp/wordpress/mcp-adapter/includes/Abilities/GetAbilityInfoAbility.php:183 -
Zorem AI Agent Connector70+ installs
apply_filters( 'mcp_adapter_get_ability_info_capability', 'read' )vendor-bundled/mcp-adapter/includes/Abilities/GetAbilityInfoAbility.php:124 -
Airo WP AI Builder40+ installs
apply_filters( 'mcp_adapter_get_ability_info_capability', 'read' )dependencies/wordpress/mcp-adapter/includes/Abilities/GetAbilityInfoAbility.php:122
Need a customisation built on this hook?
Tell us what you want to change and which plugin it's for. We'll write it, test it and send it back as a small plugin.