# How to Connect Devin Desktop to MewCP

Devin Desktop is Cognition's agentic IDE. Its Devin Local agent reads remote MCP servers from one JSON file and signs in to them with OAuth. Add MewCP once, and the agent 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                             | Best for                     |
| ---------------------------------- | ---------------------------- |
| [MCP config](#option-a-mcp-config) | Editing the config yourself  |
| [CLI](#option-b-cli)               | Adding it from the terminal  |

---

## Before you start

- **Devin Desktop**, or the **Devin CLI**
- **A MewCP account** with **at least one app connected** under [Apps](https://mewcp.com/dashboard/apps)

---

## Option A: MCP config

<Stepper>

1. **Open your config**

   In Devin Desktop, open **Customize → MCPs**, set it to **This computer**, and open the config file. Create it if it does not exist:

   | Platform        | Path                                |
   | --------------- | ----------------------------------- |
   | macOS and Linux | `~/.config/devin/mcp_config.json`   |
   | Windows         | `%APPDATA%\devin\mcp_config.json`   |

1. **Add the server**

   ```json
   {
     "mcpServers": {
       "mewcp": {
         "url": "https://gateway.mewcp.com/personal/mcp"
       }
     }
   }
   ```

   Already have an `mcpServers` section? Add only the `"mewcp": { ... }` entry inside it.

1. **Sign in to MewCP**

   The browser opens the first time the agent uses MewCP. Sign in and click **Allow access**. If MewCP shows **Needs authentication** in **Customize → MCPs**, click **Authenticate**.

</Stepper>

---

## Option B: CLI

<Stepper>

1. **Add the server**

   The Devin CLI saves it to your user config, which Devin Desktop shares:

   ```bash
   devin mcp add -s user mewcp https://gateway.mewcp.com/personal/mcp
   ```

1. **Sign in**

   Run this and approve access in the browser window:

   ```bash
   devin mcp 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

Start a new chat and 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. The agent uses them to find and run the right tool for whatever you ask. See [How MewCP works](/mewcp/getting-started#how-mewcp-works).

---

## Troubleshooting

### MewCP shows Needs authentication

Devin has not signed in yet, or the sign-in has expired. Click **Authenticate** next to MewCP in **Customize → MCPs**, or run `devin mcp login mewcp`. 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._
