Integrations
Integrates with Automattic services as the package is published under the @automattic namespace and references their wordpress-mcp plugin.
Provides access to WooCommerce functionality through its REST API using customer keys and secrets for authentication.
Serves as a bridge between local MCP clients and remote WordPress servers, enabling communication with WordPress sites via their REST API.
MCP WordPress 远程
mcp-wordpress-remote 软件包充当本地模型上下文协议 (MCP) 客户端和远程 WordPress MCP 服务器之间的桥梁。通过利用 npx,您无需全局安装即可执行此软件包,从而简化了设置过程。
WordPress MCP 插件
您必须在 WordPress 网站上安装wordpress-mcp插件,并在设置 > MCP 设置上启用 MCP 功能。
为什么
- 大多数客户端不支持 SSE 或 Streamable 通信协议。
- 提高效率。此代理不会保持与您的网站的开放连接,并且仅在需要时向您的网站发出简单的 REST API 请求。
- Oauth2.1 在 wordpress 上还不能直接使用。
- 通过 WordPress API 密码和 WooCommerce REST API 用户密钥和秘密实现安全性
- 易于使用。请参阅下面的安装说明。
用法
环境变量
需要以下环境变量:
WP_API_URL
:您的 WordPress 网站的 URL(例如https://example.com
)WP_API_USERNAME
:您的 WordPress 用户名WP_API_PASSWORD
:您的 WordPress API 密码WOO_CUSTOMER_KEY
:您的 Woocommerce 客户密钥(可选,如果您打算使用 WooCommerce MCP 资产)WOO_CUSTOMER_SECRET
:您的 WooCommerce 客户机密(可选,如果您打算使用 WooCommerce MCP 资产)LOG_FILE
:日志文件的可选完整路径
MCP 客户端中的配置
克劳德桌面
为了将 MCP 服务器添加到 Claude Desktop,您需要编辑位于以下位置的配置文件:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
- Windows:
%APPDATA%\Claude\claude_desktop_config.json
示例配置:
https://woocommerce.com/document/woocommerce-rest-api/
光标
配置文件位于~/.cursor/mcp.json
。
示例配置:
@todo
目前,此软件包尚处于早期开发阶段。欢迎任何建议、错误报告和 PR。
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
充当本地 MCP 客户端和 WordPress 网站之间的桥梁,通过简单的 REST API 请求实现与 WordPress 的通信,而不是保持开放的连接。
Related MCP Servers
- -securityAlicense-qualityAn MCP server that enables fetching web content using the Node.js undici library, supporting various HTTP methods, content formats, and request configurations.Last updated -668TypeScriptMIT License
- -securityAlicense-qualityAn MCP server that helps novice developers deploy web applications through conversational interfaces, bridging the gap between LLMs and various hosting environments.Last updated -1PythonMIT License
- -securityAlicense-qualityA proxy service that connects MCP clients to remote MCP servers, allowing users to use server keys from MCP.so to access remote resources without running their own server.Last updated -5,0622TypeScriptMIT License
- -securityAlicense-qualityA server that enables interaction with WordPress sites through REST API, allowing users to create, retrieve, and update posts using JSON-RPC 2.0 protocol.Last updated -1JavaScriptMIT License