[WordPress] 外掛分享: Botailor ModelContext Integrator for AI

首頁外掛目錄 › Botailor ModelContext Integrator for AI
WordPress 外掛 Botailor ModelContext Integrator for AI 的封面圖片
全新外掛
安裝啟用
尚無評分
90 天前
最後更新
問題解決
WordPress 5.0+ PHP 7.4+ v1.0.0 上架:2026-01-11

內容簡介

**總結:** Botailor ModelContext Integrator for AI 是一個強大的 WordPress 外掛,通過模型上下文協議(MCP)將選定的文章和頁面暴露為 AI 可讀取的端點。這個外掛提供了一種乾淨、安全的方式,讓您的 WordPress 內容可以供 AI 系統、外部應用程序和其他需要結構化訪問內容的服務使用。

**問題與答案:**
1. 什麼是 Botailor ModelContext Integrator for AI?

Botailor ModelContext Integrator for AI 是一個令人印象深刻的 WordPress 外掛,通過 MCP 將選定的文章和頁面作為 AI 可讀取的端點暴露。

2. 這個外掛提供了什麼功能?

- 選擇性內容暴露
- 細粒度權限控制
- 完整的 CRUD 操作
- REST API 端點
- 管理使用者介面
- 安全性
- WooCommerce 過濾
- 即時更新

3. 如何進行快速測試設置?

- 設定身份驗證
- 選擇要暴露的文章/頁面
- 為每個項目設置權限
- 使用批量操作一次啟用多個項目

4. 如何進行讀取操作的測試?

- 測試 manifest (無需身份驗證)
- 測試已驗證的 manifest
- 測試個別內容

5. 如何進行 CRUD 操作的測試?

- 創建新文章
- 更新現有文章
- 刪除文章

外掛標籤

開發者團隊

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

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

原文外掛簡介

Botailor ModelContext Integrator for AI is a powerful WordPress plugin that exposes selected posts and pages as AI-readable endpoints via the Model Context Protocol (MCP). This plugin provides a clean, secure way to make your WordPress content available to AI systems, external applications, and other services that need structured access to your content.
The plugin features granular permission control, allowing you to set specific permissions (Read, Write, Update, Delete) for each piece of content, ensuring your data remains secure while providing flexible access for authorized applications.
Features

Selective Content Exposure: Choose which posts and pages to expose via the API
Granular Permission Control: Set individual permissions (Read, Write, Update, Delete) for each content item
Full CRUD Operations: Create, Read, Update, and Delete posts and pages via API
REST API Endpoints: Clean, standardized endpoints under /wp-json/mcia/v1/
Master Endpoint: List all available endpoints with /wp-json/mcia/v1/endpoints
Manifest Endpoint: Auto-generated manifest at /wp-json/mcia/v1/manifest and /.well-known/mcp-manifest.json
Admin Interface: Easy-to-use settings page with search, pagination, and bulk actions
Security: Built-in authentication, nonces, and capability checks
WooCommerce Filtering: Automatically excludes WooCommerce products and pages
Real-time Updates: Changes take effect immediately

API Endpoints
Read Operations:
* GET /wp-json/mcia/v1/manifest – Get manifest (all exposed content)
* GET /wp-json/mcia/v1/endpoints – List all available endpoints
* GET /wp-json/mcia/v1/{slug} – Get individual content by slug
CRUD Operations (Require Authentication):
* POST /wp-json/mcia/v1/posts – Create new post
* PUT /wp-json/mcia/v1/posts/{id} – Update existing post
* DELETE /wp-json/mcia/v1/posts/{id} – Delete post
* POST /wp-json/mcia/v1/pages – Create new page
* PUT /wp-json/mcia/v1/pages/{id} – Update existing page
* DELETE /wp-json/mcia/v1/pages/{id} – Delete page
Well-known Endpoint:
* GET /.well-known/mcp-manifest.json – Public manifest (no authentication required)
Response Format
Each content endpoint returns:
`json

{
“title”: “Page/Post title”,
“content”: “Page/Post content”,
“content_html”: “HTML formatted content”,
“description”: “Short description”,
“slug”: “content-slug”,
“type”: “post|page”,
“status”: “publish”,
“date”: “2024-01-01 00:00:00”,
“modified”: “2024-01-01 00:00:00”,
“author”: “Author Name”,
“featured_image”: “image-url”,
“meta”: {},
“url”: “permalink”
}
`
Testing the Plugin
Quick Test Setup

Configure Authentication:

Go to Settings > Botailor ModelContext Integrator for AI
Set a username and password for API access
Save the credentials

Enable Content:

Select which posts/pages to expose
Set permissions (Read, Write, Update, Delete) for each item
Use bulk actions to enable multiple items at once

Test Read Operations:
`bash
Test manifest (no auth required)
curl “http://yoursite.com/.well-known/mcp-manifest.json”
Test authenticated manifest
curl -u “username:password” “http://yoursite.com/wp-json/mcia/v1/manifest”
Test individual content
curl -u “username:password” “http://yoursite.com/wp-json/mcia/v1/your-post-slug”
`

Test CRUD Operations:
`bash
Create a new post
curl -u “username:password” -X POST “http://yoursite.com/wp-json/mcia/v1/posts” \
-H “Content-Type: application/json” \
-d ‘{“title”: “Test Post”, “content”: “Test content”, “status”: “publish”}’
Update a post (replace {id} with actual post ID)
curl -u “username:password” -X PUT “http://yoursite.com/wp-json/mcia/v1/posts/{id}” \
-H “Content-Type: application/json” \
-d ‘{“title”: “Updated Title”, “content”: “Updated content”}’
Delete a post (replace {id} with actual post ID)
curl -u “username:password” -X DELETE “http://yoursite.com/wp-json/mcia/v1/posts/{id}”
`

Test Permission System:

Try to update/delete content that only has “Read” permission
Verify that operations are blocked with proper error messages
Test that content with appropriate permissions works correctly

Expected Results

Manifest: Should list all exposed content with metadata
Individual Content: Should return full post/page data with permissions
CRUD Operations: Should respect permission settings and authentication
Error Handling: Should return clear error messages for unauthorized operations

Development
This plugin follows WordPress coding standards and best practices:

Proper sanitization and validation
Nonce verification for security
Capability checks for admin functions
Modular code structure with 4-letter prefix naming convention
Comprehensive error handling
Responsive admin interface
Granular permission system
Full CRUD operations with authentication

Support
Author: Hamid Azad
GitHub: https://github.com/hamidhosenazad
Email: [email protected]
For support, feature requests, or bug reports, please visit the plugin’s GitHub repository or contact the author directly.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon