Cowboy MCP 1.7.8: WooCommerce galleries, API keys that pick a header your server keeps, and steadier sign-in
An AI can now set, reorder and clear a WooCommerce product gallery. On servers that strip the Authorization header, the API-key setup commands switch to a header the server keeps, and the Connections tab says when the server needs fixing. Browser sign-in no longer drops when an app refreshes its token at the wrong moment. The release also includes security hardening, so updating is recommended.
WooCommerce product galleries
The product tools take a new gallery_image_ids argument: a list of Media Library IDs, in the order the gallery should show them. Send a new list to replace or reorder the gallery, or an empty list to clear it. Thanks to Darren Ford for the report and the patch.
"Put these four images in the gallery of the Linen Shirt, front view first."
The WooCommerce MCP page lists what else the 40 WooCommerce tools cover.
API keys on servers that strip the Authorization header
Some hosts remove the Authorization header before WordPress sees it. 1.7.7 added the X-Cowboy-MCP-Key header as a way around that. 1.7.8 checks the server for you:
- The Connections tab warns when the header does not reach WordPress, says what to change on the server, and has a Check again button for after the fix.
- Setup commands adapt. On such a server, every API-key command and config snippet the tab shows sends the key in
X-Cowboy-MCP-Keyinstead. Codex has no header option for that on the command line, so its snippet writes the entry toconfig.tomlwithenv_http_headers. - Apps that sign in through the browser still need the Authorization header to arrive, so the server fix stays the real cure. The Cloudflare and host-blocking guide has the rewrite rule.
Clearer VS Code and Cursor steps
- VS Code: the panel now says you need GitHub Copilot in VS Code (the free plan works), since MCP tools appear in Copilot Chat. The VS Code guide explains which Copilot can connect.
- Cursor: approve the sign-in within about two minutes. Cursor stops listening after that, so a later Approve succeeds on your site but never reaches Cursor; click Authenticate again in Cursor if it happens.
- Browser sign-in off? An app that reaches the site without a key or token is now told that browser sign-in is off, with a hint on where to turn it on.
Changed
- Protected custom fields refuse the whole write. A post, product or order write that includes a protected custom field is now refused as a whole, instead of saving the rest and skipping that field.
Fixed
- Sign-in no longer drops on a refresh. When two connections renewed their sign-in at the same moment, one could lose its new token and have to sign in again. Renewals no longer overwrite each other, and an app that retries a renewal within 30 seconds (after a lost reply, say) keeps its connection.
- WooCommerce undo. Undoing a WooCommerce change no longer reports a false verification mismatch.
Update
Update from your WordPress dashboard like any other plugin, or install it from WordPress.org. The full changelog is there too.