
一个MCP适配器,将Abilities API与模型上下文协议(Model Context Protocol)连接起来,使MCP客户端能够通过程序发现并调用WordPress插件、主题及核心能力。
概览
官方的 WordPress MCP 集成包,展示了 WordPress 作为模型上下文协议(MCP)工具、资源和提示,面向 AI 代理。 该适配器连接了 WordPress 的能力 API 与 MCP 规范,为 AI 代理与 WordPress 功能交互提供了标准化方式。它包含 HTTP 和 STDIO 传输支持、全面的错误处理以及可扩展的自定义集成架构。 - : 自动将 WordPress 功能转换为 MCP 工具、资源和提示符 - : 创建和管理多台具有独特配置的 MCP 服务器 - : - : 实现 MCP 2025-11-25 HTTP通信规范的统一传输 - : 通过标准输入输出实现进程通信,用于本地开发和 CLI 集成 - : 实现 McpTransportInterface 以创建专用通信协议 - : 同时配置多种传输方式的服务器 - : - : 默认兼容 WordPress...
概述(AI 翻译)
作为WordPress人工智能构建块计划的一部分
官方的 WordPress MCP 集成包,展示了 WordPress 作为模型上下文协议(MCP)工具、资源和提示,面向 AI 代理。
概述
MCP 适配器将 WordPress 的能力 API 与 MCP 规范连接起来,为 AI 代理提供了与 WordPress 功能交互的标准化方式。它包括 HTTP 和 STDIO 传输支持、全面的错误处理以及可扩展的自定义集成架构。
特色
- 能力转MCP转换 — WordPress能力自动变为MCP工具、资源和提示
- 多服务器管理 — 运行多个MCP服务器,每个服务器拥有自己的传输、功能和处理程序
- HTTP 和 STDIO 传输,加上自定义协议的
McpTransportInterface— 参见自定义传输 - 可插拔错误处理与可观测性 — 通过
McpErrorHandlerInterface和McpObservabilityHandlerInterface替换您自己的日志或监控——参见错误处理与可观测性 - 细粒权限 — 每服务器传输认证和权限检查——参见传输权限
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
MCP Adapter
Part of the AI Building Blocks for WordPress initiative
The official WordPress package for MCP integration that exposes WordPress abilities as Model Context Protocol (MCP) tools, resources, and prompts for AI agents.
Overview
MCP Adapter bridges WordPress’s Abilities API with the MCP specification, giving AI agents a standardized way to interact with WordPress functionality. It includes HTTP and STDIO transport support, comprehensive error handling, and an extensible architecture for custom integrations.
Features
- Ability-to-MCP conversion — WordPress abilities automatically become MCP tools, resources, and prompts
- Multi-server management — run multiple MCP servers, each with its own transports, abilities, and handlers
- HTTP and STDIO transports, plus a
McpTransportInterfacefor custom protocols — see Custom Transports - Pluggable error handling and observability — swap in your own logging or monitoring via
McpErrorHandlerInterfaceandMcpObservabilityHandlerInterface— see Error Handling and Observability - Granular permissions — per-server transport authentication and per-ability permission checks — see Transport Permissions
Architecture
See the Architecture Overview for the full component breakdown.
Getting Started
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →