MCP server for WordPress & WooCommerce — let Claude or any MCP client read and manage your WordPress site through a signed REST API. 58 tools.
- ✓Open-source license (MIT)
- ✓Actively maintained (<30d)
- ✓Clear description
- ✓Documented (README)
claude mcp add wpagent-mcp -- npx -y wpagent-mcp{
"mcpServers": {
"wpagent-mcp": {
"command": "npx",
"args": ["-y", "wpagent-mcp"],
"env": {
"WP_SITE_URL": "<wp_site_url>",
"WP_API_SECRET": "<wp_api_secret>"
}
}
}
}WP_SITE_URLWP_API_SECRETMCP Servers overview
# wpagent-mcp
An [MCP](https://modelcontextprotocol.io) server that lets Claude — or any MCP-compatible client — actually operate a WordPress site: plugins, content, themes, menus, media, users, WooCommerce, Elementor and WP-CLI.
It talks to your site through the free [WpAgent](https://wpagent.dev) bridge plugin over a REST API where every request is signed with HMAC-SHA256. No site credentials are involved, and no data passes through a third-party service: the connection is client → your WordPress, directly.
## Install
Nothing to install ahead of time — the config below fetches it on demand.
1. Install the **WpAgent** plugin on your WordPress site and activate it.
2. In the WordPress admin, open **WpAgent** and generate an API key. Choose the permissions you want the assistant to have; a read-only key is a sound way to start.
3. Add the server to your MCP client. For Claude Desktop, in `claude_desktop_config.json`:
```json
{
"mcpServers": {
"wpagent": {
"command": "npx",
"args": ["-y", "wpagent-mcp"],
"env": {
"WP_SITE_URL": "https://your-site.com",
"WP_API_KEY_ID": "wpaia_xxxxxxxxxxxx",
"WP_API_SECRET": "the secret shown once when you generated the key"
}
}
}
}
```
For Claude Code:
```bash
claude mcp add wpagent \
--env WP_SITE_URL=https://your-site.com \
--env WP_API_KEY_ID=wpaia_xxxxxxxxxxxx \
--env WP_API_SECRET=... \
-- npx -y wpagent-mcp
```
### Environment variables
| Variable | Required | What it is |
| --- | --- | --- |
| `WP_SITE_URL` | yes | Your site's base URL, no trailing slash |
| `WP_API_KEY_ID` | yes | The key id shown in the plugin |
| `WP_API_SECRET` | yes | The secret, displayed once at generation |
| `WP_SITE_LABEL` | no | A friendly name; defaults to the hostname |
## What it can do
| Area | Examples |
| --- | --- |
| Plugins | list, search wordpress.org, install, activate, deactivate, update, delete |
| Content | posts, pages, products, any custom post type, with meta and featured images |
| Themes | list, search, install, activate, theme mods, custom CSS, logo, colours |
| WooCommerce | settings, orders, coupons, shipping zones, payment gateways, tax rates, stats |
| Structure | menus, widgets, sidebars, taxonomies, terms, redirections |
| Media | browse, upload, delete |
| Users & comments | list, create, update, moderate |
| Audit | best-practices check over security, SEO, performance, with auto-fixes |
| WP-CLI | allowlisted commands, off unless enabled in `wp-config.php` |
## What it will not do
The API has no path to arbitrary PHP, no path to your database, and no path to `wp-config.php`. WP-CLI execution is disabled unless the site owner adds `define('WPAIA_ENABLE_WPCLI', true);` on the server, and even then only allowlisted commands run — `db`, `eval`, `eval-file`, `shell`, `server`, `config` and `package` are always refused.
## Safety
- Every request is signed with HMAC-SHA256 and carries a timestamp; requests older than five minutes are rejected.
- Permissions are per key and checked on every route, so a read-only key stays read-only.
- Every call is written to an audit log you can read in the WordPress admin.
- Revoking a key in WordPress takes effect immediately.
Ask the assistant to confirm before destructive actions, and keep a current backup — it can delete content when you tell it to.
## Related
- [WpAgent](https://wpagent.dev) — hosted dashboard built on the same bridge, with a free read-only tier
- The bridge plugin is GPL-2.0-or-later; this server is MIT.
## Licence
MIT © KipDev
What people ask about wpagent-mcp
What is THE-KIPDEV/wpagent-mcp?
+
THE-KIPDEV/wpagent-mcp is mcp servers for the Claude AI ecosystem. MCP server for WordPress & WooCommerce — let Claude or any MCP client read and manage your WordPress site through a signed REST API. 58 tools. It has 0 GitHub stars and its last recorded update is dated 2026-08-27.
How do I install wpagent-mcp?
+
You can install wpagent-mcp by cloning the repository (https://github.com/THE-KIPDEV/wpagent-mcp) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is THE-KIPDEV/wpagent-mcp safe to use?
+
Our security agent has analyzed THE-KIPDEV/wpagent-mcp and assigned a Trust Score of 87/100 (tier: Trusted). See the full breakdown of passed checks and flags on this page.
Who maintains THE-KIPDEV/wpagent-mcp?
+
THE-KIPDEV/wpagent-mcp is maintained by THE-KIPDEV. The last recorded GitHub activity is dated 2026-08-27, with 0 open issues.
Are there alternatives to wpagent-mcp?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy wpagent-mcp to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/the-kipdev-wpagent-mcp)<a href="https://claudewave.com/repo/the-kipdev-wpagent-mcp"><img src="https://claudewave.com/api/badge/the-kipdev-wpagent-mcp" alt="Featured on ClaudeWave: THE-KIPDEV/wpagent-mcp" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
The fastest path to AI-powered full stack observability, even for lean teams.
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!