# How to Connect Cline to MewCP

Cline is an open-source coding agent for the terminal and VS Code. Cline CLI adds remote MCP servers with one command and signs in to them with OAuth. Add MewCP once, and Cline can use every app you have connected in MewCP: Gmail, Calendar, Slack, GitHub and the rest. There is no API key to paste.

---

## Before you start

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

---

## Set up MewCP

<Stepper>

1. **Add the server**

   ```bash
   cline mcp add mewcp https://gateway.mewcp.com/personal/mcp --transport http --yes
   ```

1. **Sign in**

   Run `cline mcp`, choose **Authorize OAuth** for `mewcp`, and approve access in the browser window:

   ```bash
   cline mcp
   ```

</Stepper>

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

`cline config mcp` lists your servers. 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. Cline 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

Run `cline mcp` and choose **Authorize OAuth** for `mewcp` again. 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._
