Corsen Context publishes a bounded overview of selected public WordPress content and provides a read-only JSON-RPC endpoint for compatible MCP clients.
What it does
Your site gets two new capabilities:
-
Static Layer — Generates
/llms.txtwith a structured overview of selected public content. An optional, bounded/llms-full.txtexport can be enabled in settings. -
Dynamic Layer — Exposes a read-only Model Context Protocol (MCP) Streamable HTTP-style endpoint at
/wp-json/corsen-context/v1/mcpwith four content tools.
Key Features
- Safe defaults —
/llms.txtand the read-only endpoint are enabled; the heavier/llms-full.txtexport is opt-in. - MCP 2025-11-25 target — Supports
initialize,ping,tools/list,tools/call,resources/list,resources/read, andnotifications/initialized. The endpoint returns JSON responses and does not provide server-sent event streaming. - 4 AI tools —
search_site,get_page_content,list_content,get_sitemap. - SEO integration — Reads Yoast SEO and Rank Math metadata for better descriptions.
- Security built-in — Rate limiting, SSRF protection, input validation, security headers, optional API key auth.
- Admin settings page — Choose post types, exclude paths, set rate limits, toggle features.
- Dashboard widget — See your AI context status at a glance.
- Bounded generation — Total item and output-byte limits protect the optional full-content export.
- Content safety — Drafts, private posts, password-protected posts, excluded paths, and content vetoed by the exposure filter are not served.
- Credit line — “Powered by Corsen Context” in generated files (configurable).
Published Endpoints and Discovery Hints
When enabled, Corsen Context publishes:
- robots.txt —
MCP: https://yoursite.com/wp-json/corsen-context/v1/mcp - llms.txt — The credit line includes the MCP endpoint URL
- HTML head —
<link rel="mcp">meta tag added automatically - Direct URL —
/llms.txtremains available to clients that know the convention
These discovery hints are not universal standards and do not guarantee that a search engine or AI client will use the endpoint.
Requirements
- WordPress 6.0 or higher
- PHP 8.0 or higher
- Pretty permalinks enabled (Settings > Permalinks > anything except “Plain”)
Part of a Bigger Ecosystem
Corsen Context is an open-source project by Corsen AI. The project also provides packages for Next.js, Express, Astro, and Node.js. WordPress uses this dedicated PHP plugin.