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 Claude Code to MewCP

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

There are two ways to set it up:

MethodMewCP loads inBest for
One commandEvery project on your machineMost people
.mcp.json fileOne project, for everyone who opens itSharing the setup with a team

Before you start

  • Claude Code installed. Check with claude --version, or see Claude Code setup
  • A MewCP account with at least one app connected under Apps

Option A: One command

  1. Add the server

    Run this in your terminal:

    TerminalCode
    claude mcp add --transport http --scope user mewcp https://gateway.mewcp.com/personal/mcp

    Keep --scope user. Without it, Claude Code uses its default local scope and MewCP loads only in the folder you ran the command from.

  2. Sign in

    Start Claude Code and run:

    Code
    /mcp

    Pick mewcp and choose Authenticate. Sign in to MewCP in the browser window and click Allow access.

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


Option B: .mcp.json in a project

Use this to share MewCP with everyone who works in a repository. Each person signs in with their own MewCP account, so each of them reaches their own apps.

  1. Add the file

    Create .mcp.json in the project root, or add the mewcp entry to the one you have. For all your projects instead, put the entry in ~/.claude.json.

    Code
    { "mcpServers": { "mewcp": { "type": "http", "url": "https://gateway.mewcp.com/personal/mcp" } } }

    Keep "type": "http". Claude Code reads an entry without a type as a local command and skips it. The file holds no secret, so you can commit it.

  2. Approve the server

    Run claude in the project. Claude Code asks before it uses a server from a project's .mcp.json for the first time. Approve mewcp.

  3. Sign in

    Run /mcp, pick mewcp and choose Authenticate.


Check it works

Run:

TerminalCode
claude mcp list

mewcp should show as connected. Inside a Claude Code session, /mcp shows the same status and lets you see MewCP's tools.

You will see four tools, not the tools of every app: search, get_schema, manage_connections and call_tool. That is expected. Claude 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?

If you have two accounts connected for the same app, say which one you mean:

Code
Check my work Gmail for anything from the design team.

Use an API key instead

For a machine with no browser, such as a CI runner or a remote server, send an API key from Dashboard → API Keys instead of signing in. Replace API_KEY with your key:

TerminalCode
claude mcp add --transport http --scope user mewcp https://gateway.mewcp.com/personal/mcp \ --header "Authorization: Bearer API_KEY"

In a shared .mcp.json, read the key from each person's environment so it never goes into version control:

Code
{ "mcpServers": { "mewcp": { "type": "http", "url": "https://gateway.mewcp.com/personal/mcp", "headers": { "Authorization": "Bearer ${MEWCP_API_KEY}" } } } }

Then set export MEWCP_API_KEY="API_KEY" in your shell profile (~/.zshrc or ~/.bashrc) and open a new terminal.

Use a variable with a name of your own, such as MEWCP_API_KEY. Claude Code never puts some credential variables into a remote server's headers, such as ANTHROPIC_API_KEY, ANTHROPIC_AUTH_TOKEN and NPM_TOKEN: they read as empty, so MewCP receives Bearer with no key.


Troubleshooting

MewCP works in one project but not in others

It was added with the default local scope, which belongs to the folder you ran the command in. Remove it there and add it again for all projects:

TerminalCode
claude mcp remove mewcp --scope local claude mcp add --transport http --scope user mewcp https://gateway.mewcp.com/personal/mcp

MewCP needs authentication

Claude Code has not signed in yet, or the sign-in has expired. Run /mcp, pick mewcp and choose Authenticate. See OAuth Sign-In for errors on the sign-in page.

claude mcp list shows ✘ Failed to connect

  • With sign-in, authenticate again from /mcp.
  • With an API key, check the header reads Authorization: Bearer followed by the whole key, which starts with mewcp_proj_. With .mcp.json, check MEWCP_API_KEY is set in the terminal you start Claude from.
  • A 403 that says your plan's billing period has ended means your MewCP plan needs renewing under Billing.

Claude Code does not retry an authentication error on its own. After fixing it, start a new session, or open /mcp and reconnect mewcp.

has a "url" but no "type"

The .mcp.json entry is missing "type": "http". Add it next to url.

⏸ Pending approval

The server comes from a project's .mcp.json and you have not approved it yet. Run claude in the project and approve it. To see the approval prompt again after declining, run claude mcp reset-project-choices.


Last updated on 29 November 2026.

Last modified on November 29, 2026
KiroCodex
On this page
  • Before you start
  • Option A: One command
  • Option B: .mcp.json in a project
  • Check it works
  • Use an API key instead
  • Troubleshooting
    • MewCP works in one project but not in others
    • MewCP needs authentication
    • claude mcp list shows ✘ Failed to connect
    • has a "url" but no "type"
    • ⏸ Pending approval
JSON
JSON