Linux 软件免费装
Banner图

Cowboy MCP - MCP Server with Undo for Claude, ChatGPT, Gemini & Cursor

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

标签

chatgpt claude mcp ai-agent mcp-server

下载

1.4.0 1.5.3 1.5.0 1.6.0 1.4.1 1.5.2 1.6.1

详情介绍:

Stop clicking around wp-admin. Just tell your AI what you want. You type what you want in plain English, and your AI does the real work inside WordPress for you - no menus to hunt through, no code to write. Cowboy MCP is a full MCP server inside WordPress - Claude Code, Codex, and other AI agents connect straight to your 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. Setup guides, the full capability list, and the security model live at cowboymcp.com. What you can do with 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, or the connection guides at cowboymcp.com.

屏幕截图:

  • 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.

How do I connect Claude to my WordPress site?

Install Cowboy MCP, generate an API key under Settings > Cowboy MCP, and add your site to Claude Code with one command - shown ready to copy on the Connection tab. For the Claude desktop and web apps, enable the Desktop Connector and approve the one-click sign-in; no terminal needed. ChatGPT, Cursor, Codex, and other clients have step-by-step guides on the same tab.

Does it work with WooCommerce?

Yes. When WooCommerce is active, 40 store tools light up: products and variations, orders and refunds, coupons, customers, stock, shipping zones, tax rates, payment gateways, and sales reports - so your agent can run the store, not just describe it.

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.

Can I vibe code my WordPress site?

Yes - that's what it's built for. Your agent can write and edit theme and plugin code in wp-content, run WP-CLI, and read the error log to fix what it broke. Take a database checkpoint first (or let auto-checkpoint do it), and every change lands in the undo journal - so vibe coding a live site doesn't have to be a leap of faith.

Does it send my data anywhere?

No telemetry and no phone-home - your data stays on your server. The only outbound connections are to WordPress.org, when your agent installs or updates plugins and themes, plus any HTTP requests you explicitly ask your agent to make.

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.6.1 Earlier versions For the changelog of earlier releases, see changelog.txt.