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 Hermes Agent to MewCP

Add MewCP to Hermes Agent once, and Hermes can use every app you have connected in MewCP: Gmail, Calendar, Slack, GitHub and the rest. Hermes connects to MewCP directly over Streamable HTTP and signs in with your MewCP account, so there is nothing to install and no API key to paste.


Before you start

  • Hermes Agent installed with MCP support. The standard install script includes it (Hermes docs)
  • A MewCP account with at least one app connected under Apps

Set up MewCP

  1. Open your config

    Edit config.yaml in your Hermes config directory, ~/.hermes. If you use a named Hermes profile, edit that profile's config under ~/.hermes/profiles/<name>/ instead.

  2. Add the server

    Put this under the top-level mcp_servers: key:

    Code
    mcp_servers: mewcp: url: "https://gateway.mewcp.com/personal/mcp" auth: oauth

    Already have an mcp_servers: section? Add only the mewcp: entry under it, at the same indentation as your other servers.

  3. Reload

    Run /reload-mcp in Hermes, or start a fresh session. 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

From a shell, run:

TerminalCode
hermes mcp test mewcp

It connects, lists the tools it found, and exits with 0 on success, 1 if the connection failed, or 3 if mewcp is not in your config.

You will see four tools, not the tools of every app. Hermes names them mcp__mewcp__search, mcp__mewcp__get_schema, mcp__mewcp__manage_connections and mcp__mewcp__call_tool. That is expected. Hermes uses them to find and run the right tool for whatever you ask. See How MewCP works.

Then ask Hermes 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 ~/.hermes/.env, or to your profile's .env:

TerminalCode
MEWCP_API_KEY=API_KEY

Then use this entry, without auth: oauth:

Code
mcp_servers: mewcp: url: "https://gateway.mewcp.com/personal/mcp" headers: Authorization: "Bearer ${MEWCP_API_KEY}"

Run /reload-mcp after every change, including changes to the key in .env.


Troubleshooting

hermes mcp test exits with 1

The connection failed.

  • With sign-in, Hermes has not signed in yet or the sign-in has expired. Run /reload-mcp and sign in again. See OAuth Sign-In for errors on the sign-in page.
  • With an API key, check the header reads Bearer ${MEWCP_API_KEY}, with the space after Bearer, and that MEWCP_API_KEY 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.

hermes mcp test exits with 3

Hermes found no server named mewcp. Check the entry sits under the top-level mcp_servers: key in ~/.hermes/config.yaml, with YAML indentation of spaces, not tabs.

${MEWCP_API_KEY} in url/headers is not set

With an API key, Hermes refuses to connect when a variable in the URL or headers has no value, rather than sending the literal text. Check MEWCP_API_KEY is in the .env of the profile you are running, then run /reload-mcp.

Changes to config.yaml do nothing

Hermes reads MCP servers when a session starts. Run /reload-mcp after every change.

A call returns outcome_uncertain after Hermes sat idle

If the connection to MewCP expired while Hermes was idle, Hermes does not retry a tool call that might change something, since it cannot tell whether the first attempt ran. Check whether the action happened before asking again. Read-only calls are retried for you.


Last updated on 29 November 2026.

Last modified on November 29, 2026
OpenClawDeepSeek Harness
On this page
  • Before you start
  • Set up MewCP
  • Check it works
  • Use an API key instead
  • Troubleshooting
    • hermes mcp test exits with 1
    • hermes mcp test exits with 3
    • ${MEWCP_API_KEY} in url/headers is not set
    • Changes to config.yaml do nothing
    • A call returns outcome_uncertain after Hermes sat idle
YAML
YAML