BACK TO DIRECTORY

WebMCP Bridge

by Mescio

0.0
(0 ratings)

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

  1. Install and activate the plugin
  2. Enable the features you want from Settings WebMCP Bridge
  3. Your tool manifest is immediately available at /wp-json/webmcp-bridge/v1/manifest
  4. Custom GPT Actions can import /wp-json/webmcp-bridge/v1/openapi
  5. 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 types
  • get_post — Retrieve a single post by ID or slug
  • get_menu — Return navigation menu items
  • get_categories — List taxonomy terms
  • get_site_info — Site name, description, URL, language
  • submit_contact_form — Contact Form 7 integration

WooCommerce (requires WooCommerce plugin):

  • woo_search_products — Search by keyword, category, price range
  • woo_get_product — Full product details including attributes
  • woo_add_to_cart — Add a product to the cart
  • woo_get_cart — Current cart contents and totals
  • woo_remove_from_cart — Remove an item by cart key
  • woo_apply_coupon — Apply a coupon code
  • woo_get_checkout_fields — Return checkout field schema
  • woo_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-wide llms.txt context 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.

Screenshots

Settings page — enable/disable tool groups and copy the manifest URL

Settings page — enable/disable tool groups and copy the manifest URL

Plugin Details

Active Installs
600
Total Downloads
1,770
Version
1.8.0
Requires WP
6.0
Requires PHP
8.0
Tested Up To
6.9.7
Added
2026-03-23
Last Updated
2026-09-15 10:54am GMT

Ratings

5
0
4
0
3
0
2
0
1
0