# How to Connect Amp to MewCP

Amp is an agentic coding tool for the terminal and the web. It adds remote MCP servers to your local settings or to your Amp account, and signs in to them with OAuth. Add MewCP once, and Amp can use every app you have connected in MewCP: Gmail, Calendar, Slack, GitHub and the rest. There is no API key to paste.

There are two ways to set it up:

| Method                                         | MewCP loads in                      |
| ---------------------------------------------- | ----------------------------------- |
| [CLI](#option-a-cli)                           | Amp on this computer                |
| [All Amp clients](#option-b-all-amp-clients)   | Every Amp client on your account    |

---

## Before you start

- **Amp** installed
- **A MewCP account** with **at least one app connected** under [Apps](https://mewcp.com/dashboard/apps)

---

## Option A: CLI

<Stepper>

1. **Add the server**

   ```bash
   amp mcp add mewcp https://gateway.mewcp.com/personal/mcp
   ```

1. **Sign in to MewCP**

   Start `amp`. A browser window opens: sign in and click **Allow access**. No API key needed.

</Stepper>

---

## Option B: All Amp clients

<Stepper>

1. **Add the server**

   This saves it to your Amp account, so every Amp client can use it. You can also add it in [Amp's Integrations & MCP settings](https://ampcode.com/settings/integrations).

   ```bash
   amp mcp remote --personal add mewcp https://gateway.mewcp.com/personal/mcp --auth oauth
   ```

1. **Sign in to MewCP**

   Run this and approve access in the browser window:

   ```bash
   amp mcp remote --personal login mewcp
   ```

</Stepper>

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

---

## Check it works

- **CLI:** `amp mcp doctor` shows the server status.
- **All Amp clients:** `amp mcp remote --personal list` shows the server.

Then ask:

```
List the tools you can use from MewCP.
```

You will see four tools, not the tools of every app: `search`, `get_schema`, `manage_connections` and `call_tool`. That is expected. Amp uses them to find and run the right tool for whatever you ask. See [How MewCP works](/mewcp/getting-started#how-mewcp-works).

---

## Troubleshooting

### Sign-in has expired or failed

For the account-wide server, run `amp mcp remote --personal login mewcp` again. For the local one, restart `amp` and sign in when the browser opens. See [OAuth Sign-In](/mewcp/authentication/oauth-sign-in#troubleshooting) for errors on the sign-in page.

### A `403` says your plan's billing period has ended

Your MewCP plan needs renewing under [Billing](https://mewcp.com/dashboard/billing).

---

_Last updated on 29 November 2026._
