Linux 软件免费装
Banner图

Cowboy MCP - manage your site with Claude, ChatGPT and other AI agents

开发者 februality
更新时间 2026年7月9日 14:55
PHP版本: 8.0 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

wp-cli claude mcp ai-agent mcp-server

下载

1.4.0 1.5.0 1.5.2 1.4.1

详情介绍:

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 Why site owners choose it 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.

安装:

  1. Install and activate Cowboy MCP from the Plugins screen.
  2. Go to Settings > Cowboy MCP and click Generate API Key (it's shown once — copy it).
  3. 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.

屏幕截图:

  • Settings tab — turn the server on or off, require Safe Mode confirmation for destructive actions, enable the one-click Desktop/web (OAuth) connector, set a per-key rate limit, tune the undo journal and database checkpoints, and opt in to advanced Power Mode.
  • Activity tab — a per-change undo journal: review every change your agents made and roll any of them back individually, plus one-click database checkpoints you can restore the whole site to.
  • Logs tab — a structured, filterable audit log of every MCP tool call, error, and auth event, auto-pruned after 30 days.
  • About tab — what Cowboy MCP does, with links to the project site and source.
  • One-click browser sign-in — the connector opens a consent screen on your own site; no access is granted until you approve it as an administrator.

常见问题:

What is MCP?

The Model Context Protocol is an open standard that lets AI agents use external tools. Cowboy MCP turns your WordPress site into one of those tools, so your agent can act on it directly.

Which AI agents work with it?

Any MCP-compatible client over Streamable HTTP — including Claude Code, Codex, Opencode, the Claude desktop and web apps, Cursor, Windsurf, Cline, Zed, VS Code, ChatGPT, and Gemini.

Is it safe to use on a live site?

Yes, with care. You're handing an AI real control, so Cowboy MCP is built to keep you in charge: keys are hashed and shown once, requests are rate-limited, destructive actions need confirmation, and changes can be previewed before they run. If a change turns out wrong, you can usually undo it — or restore the database to an earlier checkpoint — from the Activity tab, and every action is written to an audit log. Review it regularly.

Does it send my data anywhere?

No. Cowboy MCP makes no outbound connections and never phones home. Your agent talks to your site; your data stays on your server.

Do I need to be a developer?

No. Publishing content and running your store work through plain conversation. The developer tools (WP-CLI, files, database) are there when you want them, and gated behind safe mode until you say go.

更新日志:

1.5.2 Earlier versions For the changelog of earlier releases, see changelog.txt.