# How to Connect Kiro to MewCP

Kiro is AWS's agentic IDE, with a terminal CLI alongside it. Both read remote MCP servers from the same user config and sign in to them with OAuth. Add MewCP once, and Kiro 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     |
| -------------------- | ------------ |
| [IDE](#option-a-ide) | The Kiro IDE |
| [CLI](#option-b-cli) | The Kiro CLI |

---

## Before you start

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

---

## Option A: IDE

<Stepper>

1. **Add to Kiro**

   [Add to Kiro](https://kiro.dev/launch/mcp/add?name=mewcp&config=%7B%22url%22%3A%22https%3A%2F%2Fgateway.mewcp.com%2Fpersonal%2Fmcp%22%7D) opens Kiro with the server filled in.

1. **Or add it by hand**

   Open the Command Palette, run **Kiro: Open user MCP config (JSON)** (`~/.kiro/settings/mcp.json`), and merge this into `mcpServers`. Saving reloads it.

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

1. **Sign in to MewCP**

   A browser window opens when Kiro connects. Sign in and click **Allow access**. No API key needed.

</Stepper>

---

## Option B: CLI

<Stepper>

1. **Add the server**

   Run this in your terminal, not inside a Kiro chat:

   ```bash
   kiro-cli mcp add --name mewcp --url https://gateway.mewcp.com/personal/mcp --scope global
   ```

1. **Sign in to MewCP**

   A browser window opens when Kiro connects. Sign in and click **Allow access**. `/mcp auth` signs in again if needed.

</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.
```

In the CLI, `/mcp` shows the connection status.

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

---

## Troubleshooting

### No tools show in the IDE

Open **Settings**, search for `MCP`, and turn on MCP support.

### Sign-in has expired or failed

In the CLI, run `/mcp auth` to sign in 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._
