plugin-icon

Corsen Context

作者 corsenai·
Publish selected public WordPress content through llms.txt and a read-only MCP-style JSON-RPC endpoint.
版本
1.2.1
最近更新:
Jul 22, 2026

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:

  1. Static Layer — Generates /llms.txt with a structured overview of selected public content. An optional, bounded /llms-full.txt export can be enabled in settings.

  2. Dynamic Layer — Exposes a read-only Model Context Protocol (MCP) Streamable HTTP-style endpoint at /wp-json/corsen-context/v1/mcp with four content tools.

Key Features

  • Safe defaults/llms.txt and the read-only endpoint are enabled; the heavier /llms-full.txt export is opt-in.
  • MCP 2025-11-25 target — Supports initialize, ping, tools/list, tools/call, resources/list, resources/read, and notifications/initialized. The endpoint returns JSON responses and does not provide server-sent event streaming.
  • 4 AI toolssearch_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:

  1. robots.txtMCP: https://yoursite.com/wp-json/corsen-context/v1/mcp
  2. llms.txt — The credit line includes the MCP endpoint URL
  3. HTML head<link rel="mcp"> meta tag added automatically
  4. Direct URL/llms.txt remains 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.

目前已測試版本
WordPress 7.0.2
此外掛程式已可供下載,並可用於你 系統。