{"id":11796,"date":"2026-08-30T16:06:00","date_gmt":"2026-08-30T08:06:00","guid":{"rendered":"https:\/\/aeosub.com\/corsen-context\/"},"modified":"2026-08-30T16:06:00","modified_gmt":"2026-08-30T08:06:00","slug":"corsen-context","status":"publish","type":"post","link":"https:\/\/aeosub.com\/zh\/corsen-context\/","title":{"rendered":"Corsen Context"},"content":{"rendered":"<div class=\"plugin-expert-review\" style=\"border: 1px solid #e2e8f0;border-left: 4px solid #4a3bca;border-radius: 10px;padding: 20px;margin-bottom: 25px;background: #fff;font-family: -apple-system, system-ui, sans-serif\">\n<div style=\"font-weight: bold;font-size: 1.1em;color: #4a3bca;margin-bottom: 10px\">LethaldiranMX Insight<\/div>\n<div style=\"color: #4a5568;font-size: 14px;line-height: 1.6\">\n<div>\n<p>Corsen Context addresses a critical shift in modern web architecture by transforming standard WordPress content into an AI-consumable resource through structured llms.txt files and a read-only Model Context Protocol (MCP) endpoint. This plugin bridges the gap between traditional content management and agentic AI workflows, allowing external LLMs and browser-based agents to query site data efficiently and securely. For organizations aiming to optimize their public documentation, marketing copy, or knowledge bases for AI search engines and discovery tools, it provides a highly standardized, secure integration layer.<\/p>\n<p><strong>Best Fit &amp; Operational Role:<\/strong> This plugin is an ideal fit for enterprise knowledge bases, product documentation portals, and high-authority blogs that want to ensure their content is accurately indexed and retrieved by AI agents. Operationally, it functions as a specialized, read-only API gateway sitting alongside the standard WordPress REST API, standardizing how LLMs discover and parse site data. By implementing the MCP 2025-11-25 target and integrating with SEO plugins like Yoast and Rank Math, it solves the problem of unstructured scraping, giving site owners control over how their public data is presented to automated agents.<\/p>\n<p><strong>Potential Limitations &amp; Pitfalls:<\/strong> While the plugin includes built-in safeguards like rate limiting and bounded generation limits, enabling the optional, full-content \/llms-full.txt export on massive sites can introduce database and memory overhead during generation if not paired with robust server-side caching. Additionally, the MCP endpoint relies on non-plain permalinks and requires PHP 8.0 or higher, which may necessitate infrastructure updates for legacy environments. Because the endpoint does not support server-sent event (SSE) streaming, clients requiring real-time streaming responses will be limited to standard JSON-RPC polling.<\/p>\n<\/div>\n<\/div><\/div>\n<div class=\"plugin-info-card\" style=\"border: 1px solid #e2e8f0;border-radius: 10px;overflow: hidden;margin-bottom: 30px;font-family: -apple-system, system-ui, sans-serif;background: #fff\">\n<div style=\"padding: 20px;border-bottom: 1px solid #edf2f7;background: #fafafa;display: flex;align-items: flex-start\">\n                <img decoding=\"async\" src=\"https:\/\/s.w.org\/plugins\/geopattern-icon\/corsen-context.svg\" alt=\"Corsen Context icon\" loading=\"lazy\" style=\"width: 45px;height: 45px;border-radius: 8px;margin-right: 15px\"> <\/p>\n<div style=\"flex: 1;line-height: 1.2\">\n<div style=\"font-weight: bold;font-size: 1.1em;color: #1a202c\">Plugin Specification<\/div>\n<p>                    <small style=\"color: #718096\">WordPress.org Official Data<\/small>\n                <\/div>\n<\/p><\/div>\n<table style=\"width: 100%;border-collapse: collapse;font-size: 14px\">\n<tr style=\"border-bottom: 1px solid #edf2f7\">\n<th style=\"padding: 12px 20px;text-align: left;width: 35%;color: #4a5568;background: #fcfcfc\">Developer<\/th>\n<td style=\"padding: 12px 20px;font-weight: 500\"><a href=\"https:\/\/profiles.wordpress.org\/corsenai\/\" target=\"_blank\" rel=\"noopener\">corsenai<\/a><\/td>\n<\/tr>\n<tr style=\"border-bottom: 1px solid #edf2f7\">\n<th style=\"padding: 12px 20px;text-align: left;color: #4a5568;background: #fcfcfc\">Version<\/th>\n<td style=\"padding: 12px 20px\">v1.3.1<\/td>\n<\/tr>\n<tr style=\"border-bottom: 1px solid #edf2f7\">\n<th style=\"padding: 12px 20px;text-align: left;color: #4a5568;background: #fcfcfc\">Active Installs<\/th>\n<td style=\"padding: 12px 20px\">30 +<\/td>\n<\/tr>\n<tr style=\"border-bottom: 1px solid #edf2f7\">\n<th style=\"padding: 12px 20px;text-align: left;color: #4a5568;background: #fcfcfc\">Requires \/ Tested<\/th>\n<td style=\"padding: 12px 20px\">6.0 \/ 7.0.4<\/td>\n<\/tr>\n<tr style=\"border-bottom: 1px solid #edf2f7\">\n<th style=\"padding: 12px 20px;text-align: left;color: #4a5568;background: #fcfcfc\">Last Updated<\/th>\n<td style=\"padding: 12px 20px\">2026-08-30 7:49am GMT<\/td>\n<\/tr>\n<tr>\n<th style=\"padding: 12px 20px;text-align: left;color: #4a5568;background: #fcfcfc\">Official Link<\/th>\n<td style=\"padding: 12px 20px\"><a href=\"https:\/\/wordpress.org\/plugins\/corsen-context\/\" target=\"_blank\" rel=\"noopener noreferrer\" style=\"text-decoration: none;color: #4a3bca;font-weight: bold\">View Details -&gt;<\/a><\/td>\n<\/tr>\n<\/table><\/div>\n<div class=\"plugin-short-desc\" style=\"margin: 20px 0;padding: 12px 15px;background: #f9fafb;border-left: 4px solid #4a3bca;border-radius: 6px;font-style: italic;color: #4a5568\">Publish selected public WordPress content through llms.txt and a read-only MCP-style JSON-RPC endpoint.<\/div>\n<p><strong>Corsen Context<\/strong> publishes a bounded overview of selected public WordPress content and provides a read-only JSON-RPC endpoint for compatible MCP clients.<\/p>\n<h4>What it does<\/h4>\n<p>Your site gets three new capabilities:<\/p>\n<ol>\n<li>\n<p><strong>Static Layer<\/strong> \u2014 Generates <code>\/llms.txt<\/code> with a structured overview of selected public content. An optional, bounded <code>\/llms-full.txt<\/code> export can be enabled in settings.<\/p>\n<\/li>\n<li>\n<p><strong>Dynamic Layer<\/strong> \u2014 Exposes a read-only <strong>Model Context Protocol (MCP)<\/strong> Streamable HTTP-style endpoint at <code>\/wp-json\/corsen-context\/v1\/mcp<\/code> with four content tools.<\/p>\n<\/li>\n<li>\n<p><strong>In-Page Layer (opt-in)<\/strong> &#8211; Registers the same four read-only tools with AI agents running inside the browser page, through the WebMCP <code>document.modelContext<\/code> API. Enable it in Settings &gt; Corsen Context.<\/p>\n<\/li>\n<\/ol>\n<h4>Key Features<\/h4>\n<ul>\n<li><strong>Safe defaults<\/strong> \u2014 <code>\/llms.txt<\/code> and the read-only endpoint are enabled; the heavier <code>\/llms-full.txt<\/code> export is opt-in.<\/li>\n<li><strong>MCP 2025-11-25 target<\/strong> \u2014 Supports <code>initialize<\/code>, <code>ping<\/code>, <code>tools\/list<\/code>, <code>tools\/call<\/code>, <code>resources\/list<\/code>, <code>resources\/read<\/code>, and <code>notifications\/initialized<\/code>. The endpoint returns JSON responses and does not provide server-sent event streaming.<\/li>\n<li><strong>4 AI tools<\/strong> \u2014 <code>search_site<\/code>, <code>get_page_content<\/code>, <code>list_content<\/code>, <code>get_sitemap<\/code>.<\/li>\n<li><strong>SEO integration<\/strong> \u2014 Reads Yoast SEO and Rank Math metadata for better descriptions.<\/li>\n<li><strong>Security built-in<\/strong> \u2014 Rate limiting, SSRF protection, input validation, security headers, optional API key auth.<\/li>\n<li><strong>Admin settings page<\/strong> \u2014 Choose post types, exclude paths, set rate limits, toggle features.<\/li>\n<li><strong>Dashboard widget<\/strong> \u2014 See your AI context status at a glance.<\/li>\n<li><strong>Bounded generation<\/strong> \u2014 Total item and output-byte limits protect the optional full-content export.<\/li>\n<li><strong>Content safety<\/strong> \u2014 Drafts, private posts, password-protected posts, excluded paths, and content vetoed by the exposure filter are not served.<\/li>\n<li><strong>Credit line<\/strong> \u2014 &#8220;Powered by Corsen Context&#8221; in generated files (configurable).<\/li>\n<\/ul>\n<h4>Published Endpoints and Discovery Hints<\/h4>\n<p>When enabled, Corsen Context publishes:<\/p>\n<ol>\n<li><strong>robots.txt<\/strong> \u2014 <code>MCP: https:\/\/yoursite.com\/wp-json\/corsen-context\/v1\/mcp<\/code><\/li>\n<li><strong>llms.txt<\/strong> \u2014 The credit line includes the MCP endpoint URL<\/li>\n<li><strong>HTML head<\/strong> \u2014 <code>&lt;link rel=\"mcp\"&gt;<\/code> meta tag added automatically<\/li>\n<li><strong>Direct URL<\/strong> \u2014 <code>\/llms.txt<\/code> remains available to clients that know the convention<\/li>\n<\/ol>\n<p>These discovery hints are not universal standards and do not guarantee that a search engine or AI client will use the endpoint.<\/p>\n<h4>Requirements<\/h4>\n<ul>\n<li>WordPress 6.0 or higher<\/li>\n<li>PHP 8.0 or higher<\/li>\n<li>Pretty permalinks enabled (Settings &gt; Permalinks &gt; anything except &#8220;Plain&#8221;)<\/li>\n<\/ul>\n<h4>Part of a Bigger Ecosystem<\/h4>\n<p>Corsen Context is an open-source project by <a href=\"https:\/\/corsen.ai\" rel=\"nofollow ugc noopener\" target=\"_blank\">Corsen AI<\/a>. The project also provides packages for Next.js, Express, Astro, and Node.js. WordPress uses this dedicated PHP plugin.<\/p>\n<ul>\n<li><a href=\"https:\/\/github.com\/CorsenAI\/corsen-context\" rel=\"nofollow ugc noopener\" target=\"_blank\">GitHub Repository<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/CorsenAI\/corsen-context#readme\" rel=\"nofollow ugc noopener\" target=\"_blank\">Full Documentation<\/a><\/li>\n<\/ul>\n<div class=\"plugin-editorial-note\" style=\"margin-top: 25px;padding: 12px 15px;background: #f8fafc;border-radius: 6px;color: #64748b;font-size: 13px;line-height: 1.5\">Editorial note: This overview combines WordPress.org official plugin metadata with an AI-assisted LethaldiranMX editorial review. Plugin data should be verified on the official WordPress.org listing before installation.<\/div>","protected":false},"excerpt":{"rendered":"<p>Publish selected public WordPress content through llms.txt and a read-only MCP-style JSON-RPC endpoint.<\/p>","protected":false},"author":1,"featured_media":9317,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[252],"tags":[550,3027,608,930,1528,555],"class_list":["post-11796","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-trends","tag-ai","tag-ai-native","tag-llms-txt","tag-mcp","tag-model-context-protocol","tag-wordpress-plugin"],"_links":{"self":[{"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/posts\/11796","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/comments?post=11796"}],"version-history":[{"count":0,"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/posts\/11796\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/media\/9317"}],"wp:attachment":[{"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/media?parent=11796"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/categories?post=11796"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/tags?post=11796"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}