How to connect your WordPress site to MiniMax Code
Want MiniMax Code to work on your WordPress site? Install one free plugin on your site, paste one message into MiniMax Code, and approve the sign-in on your own site. No API key to copy. It works in the MiniMax Code desktop app and in the mcode CLI. This is one of the newer connections, marked Beta on the Connections tab. New to MCP? Start with the WordPress MCP server guide. Added in Cowboy MCP 1.7.10.
What can MiniMax Code do on your WordPress site once it's connected?
Once connected, MiniMax Code acts on your WordPress site with real tools. It does the work itself instead of handing back code for you to paste. Ask in plain English and it can draft posts, update products, check plugins, or read the error log to explain what broke. Cowboy MCP exposes 206 WordPress tools that MiniMax calls through two gateway tools.
How do you connect the MiniMax Code desktop app to WordPress?
Connecting takes four short steps and no code. Install the free Cowboy MCP plugin, copy the message from the MiniMax Code panel on the Connections tab under Settings → Cowboy MCP, paste it into a MiniMax Code chat, then sign in with Test connection. MiniMax signs in with browser sign-in, and nothing is allowed until you click Approve on your own site.
- 1
Install the free plugin
In WordPress, go to Plugins → Add New, search for Cowboy MCP, and click Install then Activate.
- 2
Copy the message
Open Settings → Cowboy MCP, pick MiniMax Code under No terminal needed on the Connections tab, and click Copy message. The message asks MiniMax Code to add your site to ~/.minimax/mcp.json with your /wp-json/cowboy-mcp/v1/endpoint URL. Copying it turns on browser sign-in.
- 3
Paste it into a chat
Paste the message into a MiniMax Code chat and send it. MiniMax adds the server to its MCP config, keeping any servers already there. Prefer a form? Add it under Plugins · Skills → Manage → MCP → Add server (Streamable HTTP, your endpoint URL).
- 4
Test connection and approve
Open Plugins · Skills → Manage → MCP, click ⋯ next to your site and choose Test connection. Your browser opens a sign-in page on your site: pick full access, read-only, drafts only, or a custom list of tools, and click Approve.
Your site's row under Plugins · Skills → Manage → MCP now reads Authorized. Start a new chat and paste the test prompt from the panel: “Using example.com, tell me this site's name and WordPress version. Don't change anything.” (with your own site's address). The sign-in page shows “MiniMax Code wants to connect” and “Identity published by agent.minimax.io”. Need a headless setup? The same panel has Use an API key instead.
How do you connect mcode, the MiniMax Code CLI?
mcode uses the same message. Pick MiniMax Code CLI under Terminal & IDE tools on the Connections tab, click Copy message, start mcode and paste it. mcode asks before it edits its MCP config: approve the edit. Then run mcode mcp login example.com (with your site's address), or run /mcp in mcode and press Enter on the server. Your browser opens the sign-in page on your site; click Approve.
Start mcode and run /mcp: your site should be listed. Working over SSH? Add --no-browser to the login command and open the printed link in a local browser. Already connected in the desktop app? You're done: both apps share the same connection. Prefer a file? The panel also shows the ~/.minimax/mcp.json entry, with type streamable-http and your endpoint URL.
Using MiniMax models in another app?
This guide is for MiniMax Code, MiniMax's own agent. If you run MiniMax, DeepSeek, Kimi, Qwen or GLM models inside another agent, connect through that app's panel instead: Claude Code, Codex, OpenClaw, Hermes Agent, or Opencode (see every app compared). The model you pick doesn't change the setup. Using Kimi's or DeepSeek's own agents? See Kimi Code and DeepSeek Harness.
Does MiniMax Code need a public site?
No. MiniMax Code runs on your computer and connects from there. Cowboy MCP publishes a Streamable HTTP endpoint as an ordinary WordPress REST route at /wp-json/cowboy-mcp/v1/endpoint, so MiniMax talks to your site directly, with no proxy, relay or third-party service in between. Browser sign-in needs https or localhost; a local site on any other http address connects with an API key instead. The plugin is itself the MCP server; the local WordPress MCP guide covers the local-site details.
Is it safe to let MiniMax Code work on your live WordPress site?
Yes, with the same guardrails the plugin applies to every client. Approve read-only or a custom list of tools if MiniMax only needs some of them. Safe mode is on by default, so destructive tools ask before they run. Any write can be previewed as a dry run, every change lands in an undo journal you can roll back, and requests are rate-limited to 120 per minute. You can revoke the connection any time under Connected apps. More on security →
Questions, answered.
Why do I paste a message instead of running a command?
MiniMax Code has no command for adding an MCP server. Its servers live in one settings file, ~/.minimax/mcp.json, and MiniMax Code can edit that file when you ask. The message from the Connections tab names your site, its endpoint URL and the transport, and says to add no headers, because the connection signs in through your browser.
The sign-in page says “Identity published by agent.minimax.io”. Is that right?
Yes. MiniMax Code identifies itself with a description file it publishes at agent.minimax.io, and your site reads that file when you open the sign-in page. Because of that, MiniMax Code doesn't register with your site first, so it doesn't need the 30-minute window for new connections.
I connected in the desktop app. Do I need to connect mcode too?
No. The desktop app and mcode keep their server list and sign-ins in the same folder, ~/.minimax, so one sign-in serves both. Start mcode and run /mcp: your site is already there.
Does it work with a local site or a site on http?
MiniMax Code opens sign-in pages only over https or on localhost. The desktop app accepts localhost, names ending in .localhost, 127.0.0.1 and ::1; mcode accepts exactly localhost, 127.0.0.1 and ::1. For any other site on plain http, the panel switches to an API-key setup: the key goes into ~/.minimax/mcp.json, never into the chat.
Why is the server named after my site's address?
So you can ask for it by name. The panel names the server example.com, the way you read your site's address, and MiniMax Code shows that name as it is. Only the tool names change, to mcp__example_com__cowboy_run and similar, because MiniMax swaps dots for underscores in tool names.
MiniMax Code shows only two tools. Is that right?
Yes. Cowboy MCP exposes two gateway tools, cowboy_discover and cowboy_run, instead of loading every schema into MiniMax's context. Ask it to “discover tools for WooCommerce” and it finds the rest. If even those two are missing, check the connection's scope under Connected apps on the Connections tab. Still stuck? Ask in the support forum (opens in new tab).
Ready to connect MiniMax Code to your WordPress site?
Install the free plugin, copy the message, paste it into MiniMax Code and approve the sign-in. It works on any self-hosted WordPress site running version 6.2 or newer on PHP 8.0+. The same site also connects to Claude Code, Codex and Cursor.