MewCPMewCP
  • AstheTech
  • Contact Us
  • Documentation
  • MewCP Auth API
Have a question?
  • ✉ Contact us - our dev team will reach out as soon as possible

© 2026 MewCP. All rights reserved.

githubx
Getting Started
Connect AI Apps
    Chat apps
    Editors
    CLI agents
      Claude CodeCodexOpenCodeOpenClawHermesDeepSeek HarnessKimi CodeGrok BuildMuse CodeClineJunieAmpQwen CodeGoose
Frameworks & SDKs
Authentication
Auth API Guides
powered by Zudoku
CLI agents

How to Connect DeepSeek Harness to MewCP

Add MewCP to DeepSeek Harness once, and dsh can use every app you have connected in MewCP: Gmail, Calendar, Slack, GitHub and the rest. DeepSeek Harness connects to MewCP through its built-in @deepseek-ai/dsh-mcp-client plugin over Streamable HTTP and signs in with your MewCP account, so there is nothing extra to install and no API key to paste.


Before you start

  • DeepSeek Harness installed and running, for example with npx @deepseek-ai/dsh web (DeepSeek Harness)
  • A MewCP account with at least one app connected under Apps

Set up MewCP

DeepSeek Harness keeps its files in ~/.dsh, or in $DSH_HOME if you have set it. Each MCP server is one plugin entry.

  1. Open cordis.yml

    Open cordis.yml in your DSH project, or the patch file you mount plugins from.

  2. Add the plugin entry

    One plugin instance is one MCP server. Add this to your plugin list:

    Code
    - id: mcp-mewcp name: "@deepseek-ai/dsh-mcp-client" config: serverName: mewcp transport: streamable-http url: https://gateway.mewcp.com/personal/mcp

    In a patch file, such as ~/.dsh/cordis.patch.yml (every profile) or ~/.dsh/profiles/<name>/cordis.patch.yml (one profile), wrap the entry in an insert, next to any patches already there:

    Code
    - insert: - id: mcp-mewcp name: "@deepseek-ai/dsh-mcp-client" config: serverName: mewcp transport: streamable-http url: https://gateway.mewcp.com/personal/mcp

    For the web UI started with dsh web, the profile patch file is ~/.dsh/profiles/web/cordis.patch.yml.

  3. Restart DSH

    Stop dsh and start it again. Sign in to MewCP and click Allow access when the browser window opens.

This is the entire configuration. One entry reaches every app you have connected, and connecting another app later needs no change here.


Check it works

Confirm the entry is in the config DeepSeek Harness uses:

TerminalCode
dsh web --dump-config | grep -A8 mcp-mewcp

Once dsh is running, MewCP's tools register as mcp__mewcp__<tool_name>: mcp__mewcp__search, mcp__mewcp__get_schema, mcp__mewcp__manage_connections and mcp__mewcp__call_tool. That is four tools, not the tools of every app, which is expected. DeepSeek Harness uses them to find and run the right tool for whatever you ask. See How MewCP works.

Then ask for something from an app you have connected:

Code
What is on my calendar tomorrow?

Use an API key instead

For a machine with no browser, send an API key from Dashboard → API Keys instead of signing in.

Add the key to ~/.dsh/.env:

TerminalCode
MEWCP_API_KEY=API_KEY

Then add a headers entry under config:

Code
- id: mcp-mewcp name: "@deepseek-ai/dsh-mcp-client" config: serverName: mewcp transport: streamable-http url: https://gateway.mewcp.com/personal/mcp headers: Authorization: !!js "`Bearer ${process.env.MEWCP_API_KEY}`"

Keep the backticks inside the quotes. Without them, ${...} is sent as literal text. --dump-config shows the !!js expression, not your key, since it does not evaluate expressions when printing.


Troubleshooting

dsh starts, but no MewCP tools appear

If the first connection to MewCP fails, DeepSeek Harness still starts, logs an error and shows no tools from MewCP. Look for the error in the dsh output. To make a failed connection stop startup instead, add failOnStartupError: true under config. A startup failure names a log file under ~/.dsh/logs/.

MewCP returns 401 or 403

  • With sign-in, DeepSeek Harness has not signed in yet or the sign-in has expired. Restart dsh and sign in again. See OAuth Sign-In for errors on the sign-in page.
  • With an API key, check MEWCP_API_KEY is in ~/.dsh/.env or your shell environment, and holds the whole key, which starts with mewcp_proj_.
  • A 403 that says your plan's billing period has ended means your MewCP plan needs renewing under Billing.

The entry fails to load with a name error

Each MCP entry needs a unique id and serverName. If another entry already uses mewcp, the later one fails to load. Rename one of them.

MewCP's tools disappeared after a network outage

DeepSeek Harness reconnects on its own, waiting longer each time up to 30 seconds. After 10 failed attempts in a row it removes MewCP's tools and stops trying. Restart dsh to connect again.


Last updated on 29 November 2026.

Last modified on November 29, 2026
HermesKimi Code
On this page
  • Before you start
  • Set up MewCP
  • Check it works
  • Use an API key instead
  • Troubleshooting
    • dsh starts, but no MewCP tools appear
    • MewCP returns 401 or 403
    • The entry fails to load with a name error
    • MewCP's tools disappeared after a network outage
YAML
YAML
YAML