DeepSeek Harness + FirstReply

Your support inbox in DeepSeek Harness

DeepSeek Harness (dsh) is the open-source agent harness from DeepSeek AI, with a Web UI that works in a project directory. Add FirstReply to it and the agent can read your support conversations, draft replies from your knowledge base and plan social posts.

  • One row in the patch file that DSH loads at startup
  • Signs in with a FirstReply API key from an environment variable
  • The Web UI asks before operations that need approval
Deze vergelijking is beschikbaar in het Engels en Duits.

How to connect FirstReply to DeepSeek Harness

  1. Create a FirstReply API key

    In FirstReply, open Settings, Development, API keys and create a key. A key acts with the permissions of the workspace owner. Put it in the environment variable FIRSTREPLY_API_TOKEN in the terminal you start DSH from.

    Terminal
    export FIRSTREPLY_API_TOKEN=fr_...
  2. Add FirstReply to your patch file

    Open ~/.dsh/cordis.patch.yml ($DSH_HOME/cordis.patch.yml when DSH_HOME is set), which applies to every profile, and add this row. If the file already holds patches, add the row to them instead of replacing the file.

    ~/.dsh/cordis.patch.yml
    - insert:
        - id: mcp-firstreply
          name: '@deepseek-ai/dsh-mcp-client'
          config:
            serverName: firstreply
            transport: streamable-http
            url: https://mcp.firstreply.ai/
            headers:
              Authorization: !!js '`Bearer ${process.env.FIRSTREPLY_API_TOKEN}`'
  3. Start DSH

    Start the Web UI from the same terminal, or restart it if it is running. DSH connects to the server in the background and offers its tools to the agent as mcp__firstreply__ followed by the tool name.

    Terminal
    npx @deepseek-ai/dsh web
  4. Ask

    Select a workspace, start a session and ask in plain words. According to DeepSeek, the Web UI asks before operations that require approval under the active permission policy, and each approval covers one request. The /permission command shows the current preset and switches it.

DeepSeek describes DeepSeek Harness as a developer preview and warns of compatibility-breaking changes. The agent needs a model first, for example a DeepSeek API key under Settings, Models.

MCP server documentationDeepSeek Harness documentation

Steps compared with the DeepSeek Harness documentation on 27 november 2026. Apps change their menus: if a label differs, the documentation linked above has the current one.

What to ask DeepSeek Harness

Plain sentences are enough. A few to start with:

  • What came in today that nobody has answered yet?
  • Which customers reported the bug I am fixing in this repository?
  • Draft a reply saying the fix ships with the next release, but do not send it.
  • Add what changed in this release to the knowledge base.
  • Write a LinkedIn post about the new feature and schedule it for Thursday at 10.
  • Tell the FirstReply team what was missing in the tools for this task.

What DeepSeek Harness can do with FirstReply

The same tools for every assistant, checked against the permissions of the person who signed in.

  • Work through the inbox

    List, filter and search conversations across email, chat, WhatsApp and social channels, read a whole thread, assign it, change its priority or close it.

  • Draft replies from your knowledge

    The assistant asks FirstReply for a draft grounded in your knowledge base and shows it to you. It is sent once you agree with the text.

  • Plan and schedule posts

    Write or shorten a post for each network, save it as a draft, schedule it or move it to another time. A person can still change it before it goes out.

  • Report on support and posts

    Response and resolution times, conversations per teammate and category, and views, likes and follower growth per post and channel.

  • Keep the knowledge base current

    Search what the team has documented, add or correct an entry and start the sync of a connected source.

  • Look up contacts and settings

    Find a customer and their history, and manage contacts, categories, reply templates, saved filters and webhooks.

You decide what goes out

An assistant that can answer customers and post in public needs limits. These are built into the server, not left to the prompt.

  • Replies start as drafts

    The assistant gets a draft, not a sent message. The tools that reach a customer are marked as such, so its app can ask you to confirm them first.

  • No post goes out right away

    An assistant can draft and schedule, at least ten minutes ahead. It cannot publish immediately, approve a post or delete one, and where your team requires approval a manager still decides.

  • Your permissions, nothing more

    You sign in with your FirstReply account and the assistant acts as you. What you cannot see or change in the app, it cannot either.

  • Disconnect any time

    Every connected assistant appears under Devices on your profile page. Signing it out there ends its access at once.

Veelgestelde vragen

Can I sign in with my FirstReply account instead of an API key?
Not for now. DeepSeek's MCP manager documentation says that browser sign-in for MCP servers currently ships only for servers that plugins register. A server you add in the patch file sends its own headers, so FirstReply uses the API key there.
Where does the configuration live?
~/.dsh/cordis.patch.yml applies to every profile, $DSH_HOME/profiles/<name>/cordis.patch.yml to one profile, and a file passed with dsh web --patch to that run only. Keep the key in the environment variable rather than in the file.
Can I run FirstReply as a local server instead?
Yes. DSH also starts local stdio servers: use transport stdio, command npx with the arguments -y and @firstreply/mcp, and pass FIRSTREPLY_API_TOKEN under env, since DSH removes inherited variables whose names contain TOKEN before it starts a server. The local server needs Node.js 20 or newer.
Does DSH act without asking?
DeepSeek documents that the Web UI asks before operations that require approval under the active permission policy, and that a preset with the approval policy never rejects such requests instead of asking. On FirstReply's side a post is never published right away: it is saved as a draft or scheduled at least ten minutes ahead. Ask for drafts first, since the reply tool can send.

DeepSeek Harness is a trademark of its owner. FirstReply is not affiliated with it.

Ga vandaag nog van start

Verspil geen tijd en geld meer aan handmatige klantenservice. Begin vandaag nog met onze AI-assistent.

Geen creditcard vereist
14 dagen gratis proefperiode