# OpenClaw MCP: add MCP servers and connect your apps

> How OpenClaw adds MCP servers from its CLI, Control UI or config, with OAuth, what it reaches on its own, and how to add Gmail, Slack and Notion with limits.

Updated 2026-12-02 · https://upsy.ai/guides/openclaw

## Short answer

OpenClaw has its own MCP client. Run `openclaw mcp add <name> --url <address> --transport streamable-http --auth oauth`, then `openclaw mcp login <name>`, and its agents get that server's tools on the next message. You can also add servers in the Control UI under **Settings › MCP**, or under `mcp.servers` in its config. On its own, OpenClaw reaches your apps through skills that wrap command-line tools, such as `gog` for Google and `ntn` for Notion, each with its own token on your machine. Upsy is one MCP server that holds Gmail, Calendar, Drive, Slack, Notion and more, with limits OpenClaw can't change. Its plugin on ClawHub adds it in two commands: `openclaw plugins install @upstash/openclaw-upsy`, then `openclaw upsy setup`.

## What OpenClaw is

[OpenClaw](https://github.com/openclaw/openclaw) is an open-source personal agent under the MIT license, stewarded by the OpenClaw Foundation. It runs a Gateway on your Mac, a Linux box or a server, and you talk to it from WhatsApp, Telegram, Slack, iMessage, Discord and many other chat apps. It runs shell commands, browses, keeps memory and runs scheduled jobs. Everything here was checked against OpenClaw 2026.11.11, released November 28, 2026, and its [docs](https://docs.openclaw.ai). Upsy's plugin needs 2026.11.13 or later.

## What OpenClaw connects to on its own

| App | Built into OpenClaw? | Notes |
|---|---|---|
| Gmail, Google Calendar, Drive, Docs, Sheets, Contacts | Bundled `gog` skill | The `gog` CLI with your own Google Cloud OAuth client. See [Gmail](/guides/openclaw/gmail) and [Google Calendar](/guides/openclaw/google-calendar). |
| New Gmail as a trigger | Gmail Pub/Sub hook | `openclaw webhooks gmail setup` runs an agent for each new email, through Google Pub/Sub. |
| Other mailboxes | `himalaya` skill, IMAP trigger plugin | IMAP and SMTP with a mailbox password. |
| Notion | Bundled `notion` skill | Notion's official CLI, `ntn`, or an integration token. See [Notion](/guides/openclaw/notion). |
| GitHub | Bundled `github` skill | Drives the `gh` CLI. |
| Slack, WhatsApp, Telegram, iMessage, Discord, Signal, Teams and more | Channels | Ways to chat with OpenClaw. Slack can also post as you, with a Slack app you create. See [Slack](/guides/openclaw/slack). |
| Anything else | ClawHub skills, MCP servers | Skills from [ClawHub](https://clawhub.ai) are third-party code. MCP servers are below. |

Skills are instructions that tell OpenClaw which commands to run. A skill loads only when its command-line tool is installed on the Gateway's machine, and the tool holds its own token there.

## How OpenClaw adds MCP servers

An MCP server offers an agent tools, like "search email" or "create issue". OpenClaw keeps its servers under `mcp.servers` in its config, and their tools pass through the same tool policies as everything else ([OpenClaw's MCP docs](https://docs.openclaw.ai/tools/mcp)). There are four ways to add one:

- **The CLI.** `openclaw mcp add` for a new server, `openclaw mcp set <name> '<json>'` to write a whole definition, and `openclaw mcp login <name>` for OAuth.
- **The Control UI.** Open **Settings › MCP**, select **Add server**, pick **Streamable HTTP**, **SSE** or **Stdio**, and enter the URL or command. OAuth and tool filters go in the config editor on the same page.
- **A chat.** In a Control UI chat, **+ › Plugins › Add MCP server…** opens the same form.
- **The config file** directly:

```json5
{
  mcp: {
    servers: {
      upsy: {
        url: "https://upsy.ai/connect",
        transport: "streamable-http",
        auth: "oauth",
      },
    },
  },
}
```

Three things to know:

- **Set the transport.** For a URL without `transport`, OpenClaw uses the older SSE transport. Most remote servers today, Upsy included, speak Streamable HTTP.
- **OAuth is built in.** With `auth: "oauth"`, OpenClaw registers itself with the server, opens the sign-in, and keeps the tokens in `~/.openclaw/state/openclaw.sqlite` ([transports and OAuth](https://docs.openclaw.ai/cli/mcp/transports)). It signs in as "OpenClaw MCP". On OpenClaw 2026.11, `openclaw mcp login` runs only while the Gateway is stopped.
- **No mcporter needed.** Older guides use `mcporter`, a bundled skill that calls MCP servers from the shell. OpenClaw's own client doesn't read mcporter's config and doesn't need it.

OpenClaw names MCP tools `<server>__<tool>`, so Upsy's show up as `upsy__search_threads` and so on. The `coding` and `messaging` tool profiles include MCP tools; `minimal` hides them.

## What's missing

- **Google without a Cloud project.** `gog` needs your own Google Cloud project and a Desktop OAuth client. With a personal Gmail and the consent screen left in Testing, Google expires the sign-in after 7 days ([Google's OAuth docs](https://developers.google.com/identity/protocols/oauth2)).
- **Limits outside the agent's reach.** A skill's safety flags, like `gog --readonly`, are typed by the agent on each call, so they hold only while it remembers them. That's how an OpenClaw that lost its instructions trashed much of an inbox in the [February 2026 incident](/guides/openclaw/is-it-safe). Tool filters live in OpenClaw's config, on a machine where the agent can run commands.
- **Slack as you without making an app.** OpenClaw can post as you, but only through a Slack app you create, install and keep the user token for.
- **A record of what it did,** across chats and channels, and alerts when it does a lot at once.
- **The same apps in your other assistants.** OpenClaw's tokens work only in OpenClaw.

## How Upsy fills the gap

Upsy is a remote MCP server at `https://upsy.ai/connect`. You add it to OpenClaw once, and OpenClaw reaches everything you connect in Upsy:

- **Gmail, Google Calendar and Google Drive with Docs and Sheets,** with no Cloud project and no weekly sign-in.
- **Slack as you:** read channels and threads, find people, and send, with no Slack app to create.
- **Notion, Linear, Jira and Confluence, GitHub and more** through their own MCP servers, plus Zoho Mail, LinkedIn and Telegram.
- **Up to five accounts per app,** each with its own access.
- **Access per app, enforced by Upsy:** Full access, Read-only, Pick actions (only the tools you choose) or No access. A tool OpenClaw isn't allowed is refused on Upsy's server, whatever OpenClaw's config says.
- **An off switch that works from your phone.** Pause OpenClaw on upsy.ai, and its next call is refused.
- **History and alerts:** every call is listed under OpenClaw MCP, and Upsy emails you when one assistant sends 20+ messages, deletes 50+ items or reads 100+ times within 10 minutes.
- **One connection for every assistant:** the same apps in Claude, ChatGPT, Grok, Cursor or [Hermes](/guides/hermes), each with its own access.

What Upsy doesn't do: it doesn't sandbox OpenClaw's machine, watch its shell or browser, or wake it when new mail arrives. OpenClaw's own Gmail hook does that. Upsy is built by Upstash and free for personal use.

## Add Upsy to OpenClaw

1. Sign up at [upsy.ai](https://upsy.ai) with **Set up Upsy**, and connect your apps under **Apps**.
2. In a terminal on the machine where OpenClaw's Gateway runs, install Upsy's plugin from ClawHub and set it up:

   ```
   openclaw plugins install @upstash/openclaw-upsy
   openclaw upsy setup
   ```

   OpenClaw shows ClawHub's security check of the plugin and asks you to confirm. Its source is on [GitHub](https://github.com/upstash/upsy/tree/main/plugins/openclaw).
3. `setup` saves Upsy as the `upsy` MCP server and prints a link. Open it. Upsy's page says "OpenClaw MCP wants to access your Upsy". Sign in, untick what OpenClaw shouldn't use, choose **Read-only** or **All** next to each app, and click **Allow**.
4. Send OpenClaw a new message.

On OpenClaw 2026.11, signing in works only while the Gateway is stopped, so `setup` stops it and starts it again after. Run it in a terminal, not by asking OpenClaw in a chat: stopping the Gateway would end that chat. Upsy shows the same steps under **Assistants** › **Add assistant** › **OpenClaw**.

### Without the plugin

The same steps with OpenClaw's own commands:

```
openclaw mcp add upsy --url https://upsy.ai/connect --transport streamable-http --auth oauth
openclaw gateway stop
openclaw mcp login upsy
```

Open the link `mcp login` prints and sign in as in step 3. Once it's done, run `openclaw gateway start` and send OpenClaw a new message.

## Check that it works

`openclaw upsy status` says whether OpenClaw is signed in to Upsy. Without the plugin, `openclaw mcp status --verbose` shows it. Then ask OpenClaw:

> Using Upsy, list my connected apps and what you're allowed to do with each.

It calls `upsy__upsy_connectors` and lists each app and account with OpenClaw's access. In Upsy, the call shows in **History** under OpenClaw MCP.

## Troubleshooting

### The sign-in page can't reach OpenClaw

The sign-in's last page is on the computer where OpenClaw runs, at `http://127.0.0.1:8989`. If OpenClaw runs on a Mac mini or a server and your browser is elsewhere, that page fails to load. Copy its full address, paste it where `openclaw upsy setup` is waiting, and press Enter.

Without the plugin, `openclaw mcp login upsy` printed a command to finish by hand. Stop the waiting login with Ctrl+C, keep the Gateway stopped, and run that command with the `code` value from the page's address. If the address has an `iss` value, add `--issuer` with it. Then run `openclaw gateway start`.

### Upsy's tools don't show up

Check that the agent's tool profile isn't `minimal`, and that `tools.deny` doesn't list `bundle-mcp` or `upsy__*`. If you added Upsy by hand without `--transport streamable-http`, OpenClaw is trying SSE. Run `openclaw upsy setup`: it fixes the entry and signs in again. Without the plugin, fix the entry, then sign in again as above:

```
openclaw mcp set upsy '{"url":"https://upsy.ai/connect","transport":"streamable-http","auth":"oauth"}'
```

### `Probing a server needs the Gateway stopped`

`openclaw mcp probe` and `doctor --probe` only run with the Gateway stopped. Use `openclaw mcp status --verbose`, or ask OpenClaw to list Upsy's tools.

### OpenClaw hides Upsy after you removed it in Upsy

OpenClaw remembers a refused sign-in and hides that server's tools until the credentials change. Run `openclaw mcp logout upsy`, then `openclaw upsy setup`. Without the plugin, sign in again with the Gateway stopped, as above.

## FAQ

### Does OpenClaw support MCP?

Yes, natively: stdio servers, and remote servers over Streamable HTTP or SSE, with OAuth.

### Where is OpenClaw's MCP config?

Under `mcp.servers` in OpenClaw's config, usually `~/.openclaw/openclaw.json`. `openclaw mcp list` and `openclaw mcp show` print what's saved.

### Can OpenClaw be an MCP server?

Yes. `openclaw mcp serve` exposes OpenClaw's channel conversations to another MCP client. That's the reverse of adding servers to it.

### How do I limit an MCP server's tools in OpenClaw?

`openclaw mcp tools upsy --exclude 'send_message,email_trash'` hides tools by their own names. In Upsy, set each app's level on OpenClaw MCP's page, which holds even if OpenClaw's config changes.

### Is OpenClaw safe to connect to my email?

It can be, with limits. See [is OpenClaw safe?](/guides/openclaw/is-it-safe) for the real risks and settings.

## Guides

- [How to connect Gmail to OpenClaw, with limits it can't change](https://upsy.ai/guides/openclaw/gmail.md): OpenClaw reaches Gmail through the gog skill and your own Google Cloud project. How that works, how to keep it read-only, and Gmail with per-action access.
- [Is OpenClaw safe? Security risks and how to limit them](https://upsy.ai/guides/openclaw/is-it-safe.md): OpenClaw acts with your computer's and accounts' access. Its real risks, from prompt injection to malicious skills, the deleted-inbox story, and safer settings.
- [OpenClaw and Slack: chat with it, or let it act as you](https://upsy.ai/guides/openclaw/slack.md): OpenClaw in Slack as a bot you message, or reading and posting in Slack as you. The Slack app setup, its limits, and per-action access through Upsy.
- [How to connect Notion to OpenClaw](https://upsy.ai/guides/openclaw/notion.md): OpenClaw reaches Notion through its bundled skill, using Notion's CLI or an integration token, or Notion's MCP server. Setup, limits and per-action access.
- [How to connect Google Calendar to OpenClaw](https://upsy.ai/guides/openclaw/google-calendar.md): Let OpenClaw read your Google Calendar, find free time, add events and answer invites, or keep it read-only. The gog skill's limits, and a quicker way.

---

Upsy connects personal AI assistants (Muse, Grok, ChatGPT, Claude, Gemini, Cursor, Antigravity, Claude Code, Codex, OpenClaw, Devin) to your Gmail, Google Calendar, Google Drive, Slack, Notion and other apps through one MCP server, with a shared memory, files and a cloud browser signed in to your sites. You choose what each assistant may do in each app, see everything it did, and turn it off in one click. Upsy is free. To add Upsy to an assistant, add a remote MCP server (Streamable HTTP) named Upsy at https://upsy.ai/connect. It signs in with OAuth; there is no API key.
