// guide

How to connect your WordPress site to DeepSeek Harness

Want DeepSeek Harness to work on your WordPress site? Install one free plugin on your site, save an API key where DeepSeek Harness reads it, and paste one message. The key stays in DeepSeek's own settings folder and never enters the chat. It works in the desktop app and in dsh web. This is one of the newer connections, marked Beta on the Connections tab. Using DeepSeek models in Claude Code, Codex or another agent? Connect through that app instead. Added in Cowboy MCP 1.7.10.

// what you can ask

What can DeepSeek Harness do on your WordPress site once it's connected?

Once connected, DeepSeek Harness 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 DeepSeek calls through two gateway tools, and the connection stays there for your next sessions.

deepseek harness — cowboy-mcp
$ "Using example-com, tell me this site's name and WordPress version. Don't change anything."
$ "List my five most recent drafts and fix the typos in the newest one."
$ "Which plugins have updates waiting? Update them one at a time and health-check after each."
$ "The contact page is throwing a 500. Read the error log and tell me why."
// setup

How do you connect DeepSeek Harness to WordPress?

DeepSeek Harness has no browser sign-in for MCP servers yet, so it connects with an API key. Install the free Cowboy MCP plugin, create a key on the DeepSeek Harness panel on the Connections tab under Settings → Cowboy MCP, save it with one terminal command, then paste the panel's message into DeepSeek Harness.

  1. 1

    Install the free plugin

    In WordPress, go to Plugins → Add New, search for Cowboy MCP, and click Install then Activate.

  2. 2

    Create an API key

    Open Settings → Cowboy MCP, pick DeepSeek Harness under Terminal & IDE tools on the Connections tab, name the key, pick full access, read-only, drafts only or a custom list of tools, and click Generate API key. Copy it now: it is shown only once.

  3. 3

    Save the key, then restart

    Run the panel's command in your terminal. It saves the key as COWBOY_EXAMPLE_COM in ~/.dsh/.env, readable only by you (on Windows the file is %USERPROFILE%\.dsh\.env). Then restart DeepSeek Harness so it reads the key.

  4. 4

    Paste the message and allow

    Click Copy message and paste it into DeepSeek Harness in Standard or Creator mode. DeepSeek sets up the connection and asks once to install it: choose Allow once. This can take a few minutes.

The message asks DeepSeek Harness to configure your site's /wp-json/cowboy-mcp/v1/endpoint URL as example-com, using @deepseek-ai/dsh-mcp-client with the header Authorization: Bearer ${credential:COWBOY_EXAMPLE_COM} and expandTemplates: true. That reference is all the config holds; DeepSeek fills in the key from its own credentials. To check it worked, ask DeepSeek Harness to list its tools: mcp__example-com__cowboy_run should be there. Then try the panel's test prompt.

// deepseek models elsewhere

Using DeepSeek models in another app?

The steps above are for DeepSeek Harness, DeepSeek's own agent. If you run DeepSeek, Kimi, MiniMax, 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). Most of those sign in through your browser, with no API key. The model you pick doesn't change the setup. Using Kimi's or MiniMax's own agents? See Kimi Code and MiniMax Code.

// architecture

Does DeepSeek Harness need a public site?

No. DeepSeek Harness 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 DeepSeek talks to your site directly, with no proxy, relay or third-party service in between. A site on Local, Studio, MAMP or Docker works as well as a live one. The plugin is itself the MCP server; the local WordPress MCP guide covers the local-site details.

// safety

Is it safe to let DeepSeek Harness work on your live WordPress site?

Yes, with the same guardrails the plugin applies to every client. Give the key read-only or a custom list of tools if DeepSeek 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. Revoke the key on the Connections tab whenever you're done. More on security →

// faq

Questions, answered.

Why does DeepSeek Harness use an API key instead of browser sign-in?

The released DeepSeek Harness builds have no browser sign-in for MCP servers, so the Connections tab sets it up with an API key. You still choose the access level when you create the key: full access, read-only, drafts only, or a custom list of tools.

Does the API key end up in the chat or in the config?

No. The terminal command saves the key in DeepSeek Harness's own .env file, readable only by you. The message you paste only names it, as ${credential:COWBOY_EXAMPLE_COM}, and DeepSeek Harness fills it in when it connects. Never paste the key itself into a chat.

Why do I have to restart DeepSeek Harness after saving the key?

It reads the .env file only when it starts, so a key saved while it is running isn't picked up until you restart it. Restart first, then paste the message.

DeepSeek Harness asks for danger-full-access permissions. Is that expected?

Yes. Adding the connection installs a small config bundle, and DeepSeek Harness asks once before it installs it. Choose Allow once. The bundle holds your site's address and the reference to the key, never the key itself. Setting it up can take a few minutes.

Does it work with a local WordPress site?

Yes. DeepSeek Harness runs on your computer, so it reaches a site on Local, Studio, MAMP or Docker with no public address. If your local site's self-signed https certificate gets in the way, the panel also offers the message with an http address.

I use DeepSeek models in Claude Code or Codex. Is this the right guide?

No. This guide is for DeepSeek Harness, DeepSeek's own agent. If you run DeepSeek models inside Claude Code, Codex, Opencode, OpenClaw or Hermes Agent, connect through that app's panel on the Connections tab. The model doesn't change the setup.

// get started

Ready to connect DeepSeek Harness to your WordPress site?

Install the free plugin, create a key, save it with one command and paste the message. 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.