WPCode abilities, governed through the Bridge

An agent can list, read and search custom code snippets and the WPCode library, check snippets for errors, read WPCode's error log and settings, create, update, install and switch snippets on or off, and read or replace the site-wide header, body and footer code.

Abilities
127 read3 write2 destructive
Active installs
3M+
Rating
98% (1,923 ratings)
Version checked
2.4.1
Requires
WP 5.0+, PHP 7.0+
Last updated
2026-10-29
Abilities verified
10 November 2026
Installs and rating as of
10 November 2026

What has to be true first

WPCode must be installed and active on WordPress 6.9 or later. Listing, checking, and searching snippets checks the plugin's own 'wpcode_edit_snippets' capability, while reading error logs or settings checks 'manage_options'. Of the 7 added abilities, 5 check 'wpcode_edit_snippets'; 2 check 'unfiltered_html'.

A note on the count below

Counts re-read from the plugin code on 10 November 2026 (version 2.4.1): 12 abilities, up from 5 recorded on 28 September 2026 (version 2.3.9).

The 12 WPCode abilities

Grouped by what each one can change. Every one starts off until you enable it.

Destructive also covers abilities the plugin does not declare read-only: the Bridge treats a missing annotation as destructive until the owner reviews it, so some of them may only look things up.

Read 7

  • Read

    List code snippets

    Lists the site's custom code snippets without exposing their raw code.

    Permission
    wpcode_edit_snippets
    MCP tool
    aafm-bridge-wpcode-list-snippets
  • Read

    Detect snippet errors

    Checks the site's snippets for detectable errors.

    Permission
    wpcode_edit_snippets
    MCP tool
    aafm-bridge-wpcode-detect-snippet-errors
  • Read

    Get error logs

    Reads WPCode's error log for snippet execution failures.

    Permission
    manage_optionsAdministrators
    MCP tool
    aafm-bridge-wpcode-get-error-logs
  • Read

    Search WPCode library

    Searches WPCode's library of ready-made snippets.

    Permission
    wpcode_edit_snippets
    MCP tool
    aafm-bridge-wpcode-search-library
  • Read

    Get WPCode settings

    Reads WPCode's plugin settings.

    Permission
    manage_optionsAdministrators
    MCP tool
    aafm-bridge-wpcode-get-settings
  • Read

    Get Headers & Footers

    Returns the site-wide header, body and footer code

    Permission
    unfiltered_html
    MCP tool
    aafm-bridge-wpcode-get-headers-footers
  • Read

    Get Code Snippet

    Returns a snippet with its code and settings

    Permission
    wpcode_edit_snippets
    MCP tool
    aafm-bridge-wpcode-get-snippet

Write 3

  • Write

    Create Code Snippet

    Creates a new snippet. New snippets are inactive unless active is true

    Permission
    wpcode_edit_snippets
    MCP tool
    aafm-bridge-wpcode-create-snippet
  • Write

    Install Library Snippet

    Installs a snippet from the WPCode Library as an inactive snippet

    Permission
    wpcode_edit_snippets
    MCP tool
    aafm-bridge-wpcode-install-library-snippet
  • Write

    Set Code Snippet Status

    Activates or deactivates a snippet. PHP code is test-run before it is activated

    Permission
    wpcode_edit_snippets
    MCP tool
    aafm-bridge-wpcode-set-snippet-status

Destructive 2

  • Destructive

    Update Headers & Footers

    Adds to or replaces the site-wide header, body and footer code. At least one section is required

    Permission
    unfiltered_html
    MCP tool
    aafm-bridge-wpcode-update-headers-footers
  • Destructive

    Update Code Snippet

    Updates a snippet. Only the fields that are sent change

    Permission
    wpcode_edit_snippets
    MCP tool
    aafm-bridge-wpcode-update-snippet

How to switch these on

Four steps from two active plugins to a governed connection.

  1. Install WPCode and Agent Abilities for MCP

    Both plugins need to be active on the same WordPress site. WPCode registers its own abilities; this plugin discovers and governs them.

  2. Open the Plugins’ own tools screen

    In Agent Abilities for MCP, open the Bridge tab (labeled "Plugins’ own tools" in the admin, "Other plugins" before 1.12.0). Abilities from every registered plugin appear there, grouped by the plugin that registered them.

  3. Enable one ability at a time

    Every ability from WPCode starts off. Turn on only the ones you want an agent to reach, or enable the whole set in one click.

  4. Connect as a least-privilege user

    Approve the connection as a WordPress account scoped to what you actually want the agent to do. Each call still re-checks that account’s capability before it runs.

Read more in how bridging works or the full documentation.

Frequently asked questions

Does WPCode work with the Bridge?

Yes. WPCode calls wp_register_ability() for 12 abilities in its current code on wordpress.org, so the Bridge can discover them once the plugin is active. Seven were added after the 28 September 2026 check, and some of them create or change snippets and the headers and footers code.

Do WPCode's abilities register automatically?

Yes, once WPCode is active, as far as its code shows. This directory reads the code but does not evaluate every setting or feature flag, so check the plugin's own settings if an ability is missing on your site.

Does WPCode need anything special to work with the Bridge?

WPCode must be installed and active on WordPress 6.9 or later. Listing, checking, and searching snippets checks the plugin's own 'wpcode_edit_snippets' capability, while reading error logs or settings checks 'manage_options'. Of the 7 added abilities, 5 check 'wpcode_edit_snippets'; 2 check 'unfiltered_html'.

More Developer plugins

An agent can look up the expected value format for a field type, then read, write, or delete a specific custom field's value on a post, term, user, comment, or settings page.

Developer500K+ active installsVerified 10 November 2026
2 read1 write1 destructive
View abilities

An agent can read a WordPress site's activity log: query and look up individual entries, list the available filter values, summarize activity over a time range, and scan for suspicious events such as failed login bursts.

Developer200K+ active installsVerified 10 November 2026
5 read
View abilities

An agent can list, read, create, update, duplicate, export, import, trash, and restore SCF field groups, individual fields, custom post types, taxonomies, and options pages, and, once the site turns on AI Access, list and register field groups, post types, and taxonomies under a second acf/* ability set plus create, read, update, and delete records of any post type or taxonomy the site opts in.

Developer100K+ active installsVerified 28 September 2026
18 read31 write5 destructive
View abilities

Verified from WPCode's own free wordpress.org code (version 2.4.1) on 10 November 2026, not from its marketing claims. Not every ability listed here has been run end to end against a live site. Plugin authors change their code, so a name, a capability, or a condition can be different in a later release. This site is not affiliated with, or endorsed by, Syed Balkhi or WPCode. Back to the full directory.

Back to the plugin directory

Bridge WPCode, keep the same control.

Every ability starts off, is scoped to the user you connect, and is written to the same audit log as core. Turn on only what you need.

Off by default. Capability checked on every call.