Wpmcp 58054b1f

MCP文档知识

提供方 0xMikeAdams

文档知识 未标注 API Key 社区 / 第三方

一个通过模型上下文协议(MCP)暴露WordPress内容的插件,使AI代理和其他MCP兼容工具能够以结构化、安全的方式访问和交互WordPress文章、页面和自定义文章类型。

一句话选型结论

按资料字段整理

Wpmcp 58054b1f 属于文档知识类 MCP 服务器,传输方式未标注,API Key,没有现成安装命令,需按官方文档接入。接入前先确认权限范围;涉及写入、删除或付款的操作,建议先在测试环境验证。

分类文档知识 传输方式未标注 鉴权API Key 部署方式未标注
GitHub 星标 1 仓库热度,无公开仓库时显示未标注
工具数 6 暴露给模型的工具数量
资源 / 提示词 0 / 0 资源与提示词模板数量
维护方 社区 / 第三方 核验等级 仅资料核对

工具与能力

文档知识
数量来自来源目录的标注,具体工具清单以官方文档为准
工具数量6暴露给模型可调用的工具个数
资源数量0可读取的资源条目
提示词数量0内置提示词模板数量

能力标签

适用场景

PHP本地部署WordPress插件内容管理API接口AI集成安全认证

安装与配置

未标注 API Key
上游未给出传输方式
  1. 1
    准备运行环境

    按官方文档确认运行环境(常见为 Node.js 或 Python),装好后再执行安装命令。

  2. 2
    安装服务

    复制上面的安装命令执行;命令里带占位符的位置,换成自己的密钥或路径。

  3. 3
    写入客户端配置

    在客户端的 MCP 配置里填好启动命令和参数,保存后完全退出客户端再打开,让新配置生效。

  4. 4
    验证是否可用

    连接成功后客户端会列出约 6 个工具,随便调一个只读工具确认能返回结果。

典型使用场景

3 类
按分类与标签整理的常见用法,具体以官方文档为准
文档检索问答

在你的文档库里按问题找答案。

知识库读写

把新资料写进知识库,随用随取。

内容整理

把零散资料归纳成结构化笔记。

选择建议

选之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 资料标注 6 个工具,职责相对集中,接入后不容易误操作。

先想清楚的地方

  • 没有现成安装命令,需要按官方文档自己填启动命令和参数。
  • 使用前要准备好API Key对应的凭据,并按最小权限配置。
  • 版本更新与行为细节以官方仓库为准。

更适合

  • 需要在文档知识场景里让模型直接调用外部能力的人。
  • 想先快速试一下、能接受在本地或自有环境跑服务的人。

不太适合

  • 不方便管理密钥或第三方授权的人。
  • 需要厂商级 SLA 和技术支持的生产环境。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
MCP 服务器工具数传输方式部署方式安装命令最后核验
Wpmcp 58054b1f当前 6 未标注 未标注 无 2026-05-17
dify 未标注 stdio · 本地进程 本地部署 有 2026-04-11
open-webui 未标注 stdio · 本地进程 本地部署 有 2026-04-11
JeecgBoot 未标注 stdio · 本地进程 本地部署 有 2026-04-11
Cherry Studio 未标注 未标注 未标注 无 2026-05-17
mempalace 未标注 stdio · 本地进程 本地部署 有 2026-04-11

服务器档案

文档知识
字段来自项目仓库与公开索引,中文说明由本站标注
提供方0xMikeAdams上游标注的维护方 0xMikeAdams
分类文档知识本站按上游分类展示
连接方式未标注上游未给出传输方式
鉴权方式API Key远程服务建议用最小权限凭据
维护方社区 / 第三方核验等级 仅资料核对
包名 / 运行时未标注 · 未标注本地安装时用到的包标识与运行时
部署类型未标注上游给出的部署形态
最近核验2026-05-17上游最后核验时间

详细介绍

5.2 KB
来自项目仓库与上游目录的原文,未做删改

WPMCP - WordPress Model Context Protocol Plugin

A WordPress plugin that exposes WordPress content through the Model Context Protocol (MCP), enabling AI agents and other MCP-compatible tools to access and interact with WordPress posts, pages, and custom post types in a structured, secure manner.

Features

  • MCP Compliance: Full implementation of Model Context Protocol specifications with JSON-RPC 2.0
  • Content Access: Secure read access to WordPress posts, pages, and custom post types
  • API Key Authentication: Secure API key-based authentication system
  • Rate Limiting: Configurable rate limiting to prevent abuse
  • Search Functionality: Full-text search across WordPress content with relevance scoring
  • Admin Interface: Easy-to-use WordPress admin panel for configuration
  • Security Logging: Comprehensive request logging and security monitoring

Requirements

  • WordPress 5.0 or higher
  • PHP 7.4 or higher
  • MySQL 5.6 or higher

Installation

  1. Download the plugin files
  2. Upload to your WordPress /wp-content/plugins/ directory
  3. Activate the plugin through the WordPress admin panel
  4. Go to Settings > WPMCP to configure the plugin

Configuration

API Keys

  1. Navigate to Settings > WPMCP in your WordPress admin
  2. In the API Keys section, enter a name for your API key
  3. Click "Generate API Key"
  4. Copy the generated API key (you'll only see it once)
  5. Use this API key in your MCP client configuration

Content Access

Configure which post types are accessible through the API:

  • Posts (default: enabled)
  • Pages (default: enabled)
  • Custom post types (configurable)

Security Settings

  • Rate Limit: Set maximum requests per API key per hour (default: 100)
  • Security Logging: Enable/disable request logging (default: enabled)
  • Debug Mode: Enable detailed logging for troubleshooting (default: disabled)

MCP Endpoint

The plugin creates a REST API endpoint at:```
https://yoursite.com/wp-json/wpmcp/v1/mcp


## Available MCP Tools

### get_posts
Retrieve WordPress posts with filtering options.

**Parameters:**
- `post_type` (string): Post type to retrieve (default: 'post')
- `limit` (int): Number of posts to retrieve (max: 100, default: 10)
- `offset` (int): Offset for pagination (default: 0)
- `filters` (object): Additional filters (date, author, category, etc.)

### get_post
Retrieve a single WordPress post by ID or slug.

**Parameters:**
- `post_id` (int): Post ID
- `slug` (string): Post slug (alternative to post_id)

### get_pages
Retrieve WordPress pages with hierarchy support.

**Parameters:**
- `limit` (int): Number of pages to retrieve (max: 100, default: 10)
- `offset` (int): Offset for pagination (default: 0)
- `parent_id` (int): Filter by parent page ID
- `include_hierarchy` (bool): Include child pages in results

### get_page
Retrieve a single WordPress page by ID or slug.

**Parameters:**
- `page_id` (int): Page ID
- `slug` (string): Page slug (alternative to page_id)

### get_post_types
Retrieve available post types and their metadata.

**Parameters:**
- `include_builtin` (bool): Include built-in post types (default: false)

### search_content
Search across WordPress content with relevance scoring.

**Parameters:**
- `query` (string): Search query (required)
- `post_types` (array): Post types to search (default: all allowed types)
- `limit` (int): Number of results (max: 50, default: 10)
- `offset` (int): Offset for pagination (default: 0)
- `filters` (object): Additional filters

## Example Usage

### Testing the Plugin

You can test if the plugin is working by visiting:```
https://yoursite.com/wp-json/wpmcp/v1/test

MCP Client Configuration

Configure your MCP client to use the endpoint:```
Endpoint: https://yoursite.com/wp-json/wpmcp/v1/mcp
Method: POST
Headers:
- Content-Type: application/json
- X-API-Key: your-generated-api-key


## Example Request```json
{
  "jsonrpc": "2.0",
  "method": "get_posts",
  "params": {
    "post_type": "post",
    "limit": 5,
    "filters": {
      "category": "technology",
      "date_after": "2024-01-01"
    }
  },
  "id": 1
}

Security

  • All requests require valid API key authentication
  • Rate limiting prevents abuse
  • Only published content is accessible
  • WordPress user permissions are respected
  • Security events are logged for monitoring

Development

Setup```bash

composer install
```

Database Tables

The plugin creates two custom tables:

  • wp_wpmcp_api_keys: Stores API keys and their metadata
  • wp_wpmcp_request_logs: Logs API requests for security monitoring

Troubleshooting

Common Issues

  1. 404 Error on Endpoint: Flush permalink structure (Settings > Permalinks > Save)
  2. Authentication Failed: Verify API key is active and correctly formatted
  3. Rate Limit Exceeded: Check rate limit settings or wait for limit reset
  4. No Content Returned: Verify post types are enabled in plugin settings

Debug Mode

Enable debug mode in plugin settings to get detailed logging information. Check WordPress debug logs for detailed error messages.

License

This plugin is licensed under GPLv3

Changelog

1.0.0

  • Initial release
  • MCP protocol implementation
  • API key authentication
  • Content access controls
  • Search functionality
  • Admin interface
  • Security logging

常见问题

5 问
答案由本站依据条目字段整理,不引用上游原文
Wpmcp 58054b1f 怎么安装?

资料没有给出安装命令,请到官方仓库或文档按说明接入;这类条目多数是生态应用,或尚未发布可安装包。

Wpmcp 58054b1f 怎么在客户端里配置?

它的传输方式未标注,在客户端 MCP 配置里按官方文档填写启动命令和参数,保存后重启客户端生效。

Wpmcp 58054b1f 收费吗?

本站不代收费用,也没有标注具体价格。是否收费取决于服务本身和背后的接口额度,正式使用前按官方说明确认。

Wpmcp 58054b1f 需要 API Key 吗?

资料标注需要API Key认证,使用前准备好对应凭据,并按最小权限配置。

Wpmcp 58054b1f 能提供哪些能力?

资料显示约 6 个工具;能力标签包括 PHP、安全认证、知识管理、API接口。具体工具清单以官方文档为准。

热门专题

按标签挑服务器
全部专题 →

服务器信息以作者仓库与官方文档为准;分类、传输方式与鉴权方式的中文说明为中文整理,最近核验 2026-05-17。