Skip to content

99rig/mcp-wordpress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

mcp-wordpress

MCP Discovery — WordPress Plugin v0.3.0

Exposes /.well-known/mcp-server on any WordPress site so AI agents can discover it via mcp://. Implements draft-serra-mcp-discovery-uri-03.


What it does

Once installed, your site exposes:

GET https://yoursite.com/.well-known/mcp-server

Which returns:

{
  "mcp_version": "2025-06-18",
  "name": "My Shop MCP Server",
  "endpoint": "https://yoursite.com/wp-json/mcp/v1",
  "transport": "http",
  "auth": { "type": "none" },
  "capabilities": ["tools", "resources"],
  "categories": ["e-commerce"],
  "languages": ["it"],
  "last_updated": "2026-03-25T00:00:00Z",
  "expires": "2026-09-25T00:00:00Z",
  "crawl": true
}

AI agents resolve mcp://yoursite.com and connect directly.


Installation

  1. Download the mcp-discovery/ folder
  2. Upload to /wp-content/plugins/
  3. Activate in WordPress admin
  4. Go to Settings → MCP Discovery
  5. Verify at https://yoursite.com/.well-known/mcp-server

Or wait for approval on wordpress.org and install directly from Plugins → Add New → Search "MCP Discovery".


Settings

Field Default Description
Server Name Site name Human-readable name
Description Site tagline Natural language description
MCP Endpoint URL REST API base URL of your MCP endpoint
Authentication None none / apikey / oauth2
Categories auto Comma-separated (WooCommerce auto-detected)
Contact Email Admin email Contact for the server
Manifest Expiry 90 days How long before manifest is stale
Allow Crawling Yes Opt-out of public indexing

Security (v0.3.0)

  • Endpoint domain validation — endpoint MUST be on same domain or subdomain. Invalid endpoints fall back to default REST API URL.
  • Expires field — manifest declares its own expiry date.

WooCommerce

Auto-detected. Adds e-commerce to categories automatically.


Changelog

v0.3.0

  • Security: endpoint domain validation (draft-03 Section 6.8)
  • Security: expires field — manifest expiry date (Section 6.9)
  • Admin: Manifest Expiry field in settings page

v0.2.0

  • Fixed Nginx compatibility — uses parse_request hook
  • PHP 7.4 compatibility
  • GPL-2.0 license
  • Sensible defaults on activation

v0.1.0

  • Initial release

Related


Author

Mumble Group — Milan, Italy support@mumble.group | https://mcpstandard.dev

About

WordPress plugin that exposes /.well-known/mcp-server so AI agents can discover your site via mcp://. Implements draft-serra-mcp-discovery-uri.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages