Stop clicking around wp-admin. Just tell your AI what you want.
Cowboy MCP connects Claude Code, Codex, and other AI agents straight to your WordPress site. Ask in plain language — "publish these three drafts," "why is the checkout page 500-ing," "bump every Summer Sale price 20%," "clear the cache and re-check site health" — and your agent gets it done.
Most WordPress AI plugins let an assistant write blog posts. Cowboy MCP lets your agent actually
run the site: content, yes, but also the terminal-level work you'd normally stop and do by hand — WP-CLI, files, the database, error logs, and diagnostics. When something breaks, your agent can find it and fix it instead of just apologizing.
What you can do with it
- Manage content by chat — draft, edit, schedule, and publish posts and pages; upload media; sort categories, tags, and menus.
- Run your store — update WooCommerce products, prices, orders, and inventory in bulk.
- Fix things that break — read error logs, test emails and HTTP requests, inspect hooks and REST routes, and repair database tables. No SSH required.
- Do the developer stuff — run WP-CLI commands, edit files in
wp-content, and take site snapshots before big changes.
- Get more done, faster — your agent stays sharp and accurate even with a big toolset, so it picks the right action the first time.
Why site owners choose it
- You stay in control — and you can undo. Safe mode asks before anything destructive, every change can be previewed first, and every action your agent takes is logged. If something's not right, undo most individual changes with one click, or roll the whole database back to a checkpoint — all from the Activity tab.
- Your data stays yours. Self-hosted, no external services, no accounts, no phone-home. Your agent connects to your site — nothing leaves your server.
- Set up in two minutes. Generate a key (or one-click sign-in for the Claude desktop and web apps), paste one command, and you're connected.
- No subscription. Free and open source. Bring the AI agent you already use.
Works with
Claude Code, Codex, Opencode, the Claude desktop and web apps (one-click sign-in), plus Cursor, Windsurf, Cline, Zed, VS Code, ChatGPT, Gemini, and n8n — anything that speaks MCP.
- Install and activate Cowboy MCP from the Plugins screen.
- Go to Settings > Cowboy MCP and click Generate API Key (it's shown once — copy it).
- Connect your agent and start giving it instructions.
Claude Code:
claude mcp add --transport http your-site /wp-json/cowboy-mcp/v1/endpoint --header "Authorization: Bearer YOUR_API_KEY"
Claude desktop / web (no terminal): enable the OAuth connector under
Settings > Cowboy MCP > Settings > Desktop Connector, add your site as a custom connector in Claude, and approve with one click. (Requires a public HTTPS site.)
Codex and other clients: see the setup guides in the plugin settings.
1.5.2
- New: translations for the settings page and the connection sign-in screen in ten more languages — Simplified Chinese, Japanese, Korean, German, Spanish, French, Italian, Portuguese (Brazil), Hindi, and Indonesian.
Earlier versions
For the changelog of earlier releases, see
changelog.txt.