wordpress-mcp
WordPress MCP Server
一个用于跨多个客户端站点进行日常 WordPress 维护的 MCP 服务器。
它能做什么
列出已配置的站点
检查站点健康状况和待处理的更新
列出插件和主题
更新插件
更新主题
更新 WordPress 核心
通过 SSH + WP-CLI 创建远程备份
要求
Python 3.11+
mcppydanticPyYAML对每个 WordPress 主机的 SSH 访问权限
在每个远程主机上安装 WP-CLI
安装
选项 A — 从仓库安装
git clone https://github.com/nextestudios/wordpress-mcp.git
cd wordpress-mcp
uv tool install .选项 B — 使用 pipx 安装
git clone https://github.com/nextestudios/wordpress-mcp.git
cd wordpress-mcp
pipx install .两种方式都会安装 wordpress-mcp 命令。
配置
创建 ~/.hermes/wordpress-mcp.yaml:
sites:
client-a:
label: Client A
ssh:
host: your-server.example.com
user: deploy
port: 22
key_path: ~/.ssh/id_ed25519
path: /var/www/client-a/public_html
wp_bin: wp
shell: bash你也可以通过 WORDPRESS_MCP_CONFIG 让服务器指向另一个文件。
本地运行
wordpress-mcpHermes 配置
将此添加到 ~/.hermes/config.yaml:
mcp_servers:
wordpress:
command: wordpress-mcp或者以交互方式添加:
hermes mcp add wordpress --command wordpress-mcp重启 Hermes 后,工具将以 mcp_wordpress_* 前缀出现。
建议的工作流程
wordpress_list_siteswordpress_site_statuswordpress_site_backupwordpress_site_update_pluginswordpress_site_update_themeswordpress_site_update_core重新检查
wordpress_site_status
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
WordPress MCP server: publish posts, AI images, SEO and full site management, self-hosted
WordPress MCP server: generate SEO posts, AI images, autoblog & WooCommerce on your self-hosted site
Security-first WordPress MCP server. 129 tools for Claude, ChatGPT, Gemini. Free on wp.org.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/nextestudios/wordpress-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server