Turn your WordPress site into an AI agent tool server. AI agents in Chrome 146+ discover and call your site’s capabilities as structured tools — no scraping, no screenshots, no prompt engineering.
WebMCP replaces screen-scraping with structured function calls.
Take screenshot → send to vision model → guess at UI → click and hope → repeat
~45% task accuracy · Slow · Expensive · Brittle
Discover tools → call function with typed JSON → get structured response
~98% task accuracy · Fast · Cheap · Reliable
// Your WordPress site registers abilities…
WordPress Abilities API
└─ tools + JSON Schema + permissions
// The plugin bridges them to the browser…
navigator.modelContext.registerTool( tool )
// AI agents invoke tools server-side…
POST /wp-json/webmcp/v1/execute/{ability}
└─ nonce + auth + rate limiting
Four starter tools work immediately — no configuration needed.
Full-text search across all published content. Returns titles, excerpts, and URLs.
Public
Retrieve any post by ID or slug with full content, categories, tags, and metadata.
Public
List all categories with post counts and descriptions.
Public
Post a comment on any post. Respects WordPress comment settings and moderation.
Configurable
Any plugin can add more. Register a WordPress Ability and it automatically becomes a WebMCP tool.
One function call. Automatic WebMCP exposure. Zero configuration.
functions.php
add_action( ‘wp_abilities_api_init’, function () {
wp_register_ability( ‘my-plugin/search-products’, array(
‘label’ => ‘Search Products’,
‘description’ => ‘Search the product catalog.’,
‘input_schema’ => array(
‘type’ => ‘object’,
‘properties’ => array(
‘query’ => array( ‘type’ => ‘string’ ),
‘limit’ => array( ‘type’ => ‘integer’, ‘default’ => 10 ),
),
‘required’ => array( ‘query’ ),
),
‘execute_callback’ => ‘my_search_products’,
‘permission_callback’ => ‘__return_true’,
) );
} );
// That’s it. WebMCP Abilities picks it up automatically.
Built for production from day one.
WebMCP Abilities complements the existing ecosystem.
| Tool | Transport | Use Case |
|---|---|---|
| WebMCP Abilities | Browser (Chrome 146+) | AI agents visiting your site |
| WP MCP Adapter | CLI / API | Claude Desktop, Cursor, VS Code |
| Declarative WebMCP | HTML attributes | Form annotations (spec-level) |
Built-in tools are real WordPress Abilities, so they also appear via the MCP Adapter for CLI/API agents.
From install to AI-ready in under a minute.
1
Download the plugin
2
Activate it
3
Go to Settings → WebMCP
4
Enable the bridge
5
AI agents can now use your site
Built by Code Atlantic · GPL-2.0-or-later