WordPress filter hook
mcp_adapter_execute_ability_capability
Defined by MCP Adapter and fired by 9 plugins in total, running on 250K+ sites between them.
“Filters the capability required to execute abilities.”
How to use mcp_adapter_execute_ability_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_execute_ability_capability', function( $value ) {
// Change $value here.
return $value;
}, 10, 1 );Argument names come from WPVibe's source. Other plugins may pass different values: check the call in the plugin you're targeting below.
9 plugins that fire mcp_adapter_execute_ability_capability
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
WPVibe100,000+ installs
apply_filters( 'mcp_adapter_execute_ability_capability', 'read' )includes/class-wpvibe-abilities.php:225 -
MCP Adapter80,000+ installs
apply_filters( 'mcp_adapter_execute_ability_capability', 'read' )includes/Abilities/ExecuteAbilityAbility.php:226 -
wpDataTables60,000+ installs
apply_filters( 'mcp_adapter_execute_ability_capability', 'read' )lib/wordpress/mcp-adapter/includes/Abilities/ExecuteAbilityAbility.php:226 -
UiChemy8,000+ installs
apply_filters( 'mcp_adapter_execute_ability_capability', 'read' )vendor-prefixed/wordpress/mcp-adapter/includes/Abilities/ExecuteAbilityAbility.php:226 -
ZIP AI2,000+ installs
apply_filters( 'mcp_adapter_execute_ability_capability', 'read' )lib/mcp-adapter/includes/Abilities/ExecuteAbilityAbility.php:226 -
AcrossAI MCP Manager100+ installs
apply_filters( 'mcp_adapter_execute_ability_capability', 'read' )includes/Abilities/Execute.php:47 -
ClearPost80+ installs
apply_filters( 'mcp_adapter_execute_ability_capability', 'read' )lib/mcp/wordpress/mcp-adapter/includes/Abilities/ExecuteAbilityAbility.php:229 -
Zorem AI Agent Connector70+ installs
apply_filters( 'mcp_adapter_execute_ability_capability', 'read' )vendor-bundled/mcp-adapter/includes/Abilities/ExecuteAbilityAbility.php:140 -
Airo WP AI Builder40+ installs
apply_filters( 'mcp_adapter_execute_ability_capability', 'read' )dependencies/wordpress/mcp-adapter/includes/Abilities/ExecuteAbilityAbility.php:140
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.