xpay✦ Commerce
Directory
WooCommerce plugins
WebMCP Bridge
WebMCP Bridge
Make your WordPress site natively AI-agent friendly via the WebMCP protocol — no backend server required.
Will this break my store?
What the WordPress.org registry says about keeping WebMCP Bridge running.
Tested to 6.9.8 — 2 branches behind 7.1
A branch or two behind — normal for a plugin between releases.2 days ago
8.0
Your host must be running at least this version.6.0
1
A single maintainer. Worth knowing if the plugin is load-bearing for your store.Maintenance & trust
Scored on how WebMCP Bridge is looked after — not on how many stores run it.
Maintenance
35 / 35WordPress compatibility
14 / 20Support responsiveness
Not enough dataMerchant satisfaction
Not enough dataListing transparency
6 / 10Ratings
No one has rated this plugin on WordPress.org yet. That is a statement about the ratings page, not about the plugin — plenty of well-kept plugins never collect them.
WebMCP Bridge exposes your WordPress (and WooCommerce) functionality as WebMCP tools that AI agents can discover and invoke directly in the browser.
Once installed, your site automatically becomes “agent-friendly”:
- AI agents can search posts, pages, and custom post types
- With Mescio for Agents, the site becomes a live RAG source (
retrieve→ Markdown) - AI agents can browse products, manage the cart, apply coupons (WooCommerce)
- AI agents can read navigation menus and site metadata
- Developers can register custom tools in minutes via a simple PHP API
What is WebMCP?
WebMCP is a new browser-native protocol (currently in Chrome Early Preview) that lets web apps expose their functionality as structured “tools” that AI agents can invoke — without needing to screenshot or parse HTML. Think of your website as an MCP server running entirely client-side.
How it works
- Install and activate the plugin
- Enable the features you want from Settings → WebMCP Bridge
- Your tool manifest is immediately available at
/wp-json/webmcp-bridge/v1/manifest - Custom GPT Actions can import
/wp-json/webmcp-bridge/v1/openapi - AI agents (or any JavaScript code) can call your tools via REST API or the native browser WebMCP API
Included tools
Core:
search_posts— Search posts, pages, or custom post typesget_post— Retrieve a single post by ID or slugget_menu— Return navigation menu itemsget_categories— List taxonomy termsget_site_info— Site name, description, URL, languagesubmit_contact_form— Contact Form 7 integration
WooCommerce (requires WooCommerce plugin):
woo_search_products— Search by keyword, category, price rangewoo_get_product— Full product details including attributeswoo_add_to_cart— Add a product to the cartwoo_get_cart— Current cart contents and totalswoo_remove_from_cart— Remove an item by cart keywoo_apply_coupon— Apply a coupon codewoo_get_checkout_fields— Return checkout field schemawoo_get_product_categories— List all product categories
Even more powerful with Mescio for Agents
WebMCP Bridge integrates automatically with the Mescio for Agents plugin. When both plugins are active, three additional tools are unlocked:
retrieve— RAG retrieve: ranked hits with snippets, Markdown URLs and token estimates. This is the search step of a live RAG loop over the site, without a separate vector database.get_markdown_content— Returns any post or page as clean Markdown, the format AI models consume most efficiently. Instead of raw HTML, agents receive structured, token-optimized content ready for reasoning and summarization.get_llms_txt— Exposes the site-widellms.txtcontext document (index or full variant), giving agents an instant, structured overview of what the site is about, who it is for, and what content is available — before they even start searching.
Together, the two plugins turn your WordPress site into a live knowledge base: Mescio for Agents is the content layer (Markdown, llms.txt), WebMCP Bridge is the tool layer (retrieve, act, checkout). The RAG loop is get_llms_txt → retrieve → get_markdown_content.
Privacy
This plugin does not collect, store, or transmit any user data to external servers. All tool execution happens locally within your WordPress installation. No telemetry, no phone-home, no external API calls.
No. The REST API endpoints work in every browser and environment. The native WebMCP browser registration is only available in Chrome Early Preview (experimental), but the fallback JavaScript API (window.webmcpBridgeTools) and REST endpoints work everywhere.
Read-only tools (search, get post, Markdown, llms.txt) are publicly accessible by default, matching WordPress’s own REST API behaviour. Write-action tools (add to cart, apply coupon, submit form) require a logged-in session or a WordPress REST nonce from the same browsing session as the site (the nonce is printed on the page for the frontend bridge). There is no public /nonce endpoint. You can customise which tools require authentication via the webmcp_bridge_protected_tools filter.
Yes. Import /wp-json/webmcp-bridge/v1/openapi as a GPT Action. The schema lists public read tools as separate POST operations under /wp-json/webmcp-bridge/v1/call/{tool}. Cart and form tools are omitted from that schema because GPT Actions run server-side and have no WooCommerce cookie session.
Yes. WooCommerce tools are automatically registered when WooCommerce is active and the WooCommerce option is enabled in settings.
When Mescio for Agents is active alongside WebMCP Bridge, three extra tools become available: retrieve (RAG search with snippets and Markdown URLs), get_markdown_content (full document as Markdown) and get_llms_txt (site-wide context). These are detected automatically — no configuration needed.
Yes, in the live-retrieval sense. Agents first read llms.txt, then call retrieve to find relevant pages, then get_markdown_content for the documents they need. There is no separate embedding index: WordPress remains the corpus, always up to date. Retrieval is full-text (WordPress search), not vector similarity.
WebMCP Bridge does not register /llms.txt. Rank Math’s LLMS Txt module and Mescio for Agents both do. From Mescio 1.7.4, if Rank Math’s module is on, Mescio yields /llms.txt to Rank Math and keeps /llms-full.txt. WebMCP’s get_llms_txt tool still reads Mescio’s generated index. To let Mescio own the public URL: Rank Math → Dashboard → disable LLMS Txt, then flush permalinks.
Absolutely. Use the PHP API:
add_action( 'plugins_loaded', function() {
if ( ! class_exists( 'WebMCP_Bridge_Tool_Registry' ) ) return;
$registry = WebMCP_Bridge_Tool_Registry::instance();
$registry->register( 'my_tool', [
'description' => 'Does something useful.',
'group' => 'custom',
'inputSchema' => [ 'type' => 'object', 'properties' => [] ],
'callback' => function( $params ) { return [ 'ok' => true ]; },
] );
} );
https://your-site.com/wp-json/webmcp-bridge/v1/manifest
OpenAPI (GPT Actions):
https://your-site.com/wp-json/webmcp-bridge/v1/openapi
You can also find both URLs on the Settings → WebMCP Bridge page with a one-click copy button.
No. WebMCP Bridge does not collect, store, or send any data to external servers. See the Privacy section above.
Categories
Plugin details
Tags on WordPress.org
