[WordPress] 外掛分享: Corsen Context

首頁外掛目錄 › Corsen Context
30+
安裝啟用
尚無評分
剛更新
最後更新
問題解決
WordPress 6.0+ PHP 8.0+ v1.4.0 上架:2026-07-13

內容簡介

Corsen Context 外掛提供了一個結構化的公共 WordPress 內容概覽,並為兼容的 MCP 客戶端提供只讀的 JSON-RPC 端點,增強網站的內容可訪問性與互動性。

【主要功能】
• 靜態層 — 生成結構化的 /llms.txt 概覽
• 動態層 — 提供只讀的 MCP 流式 HTTP 端點
• 四個 AI 工具 — 包括 search_site 和 get_page_content
• SEO 整合 — 讀取 Yoast SEO 和 Rank Math 元數據
• 安全性內建 — 包含速率限制和輸入驗證
• 管理設定頁面 — 自訂文章類型和排除路徑

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.4.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Corsen Context」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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 three new capabilities:

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.

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.

In-Page Layer (opt-in) – Registers the same four read-only tools with AI agents running inside the browser page, through the WebMCP document.modelContext API. Enable it in Settings > Corsen Context.

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 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 — meta tag added automatically
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.

GitHub Repository
Full Documentation

延伸相關外掛

文章
Filter
Mastodon