> ## Documentation Index
> Fetch the complete documentation index at: https://docs.whappy.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Codex

> Add Whappy to the Codex CLI

The Codex CLI connects to Whappy as a remote MCP server over HTTP, and signs in with OAuth in your browser.

For what a connection can do, its limits and the data it sees, read [MCP connectors](https://docs.whappy.ai/integrations/mcp.md).

## Add Whappy

**1. Add the server**

```bash theme={null}
codex mcp add whappy --url https://mcp.whappy.ai/mcp
```

**2. Sign in**

```bash theme={null}
codex mcp login whappy
```

Your browser opens on Whappy: sign in and click **Allow**.

On a machine without a browser, run `codex mcp login whappy --no-browser`, open the address it prints on another device, sign in, and paste the full address you are sent back to into the terminal.

**3. Check it**

`codex mcp list` shows Whappy among your servers.

Then ask Codex, for example: "Read my Whappy campaign for the dental clinic and suggest three better qualifying questions." More ideas in [Example prompts](https://docs.whappy.ai/integrations/ai-prompts.md).

> [!WARNING]
>
> We have not yet tested this flow end to end in Codex. If a step fails, [tell us](https://docs.whappy.ai/support/contact-support.md) what Codex printed.

> [!NOTE]
>
> Coming soon: a Whappy plugin for Codex in the OpenAI plugin directory.

## Turn it off or remove it

To stop Codex using Whappy without deleting the entry, set `enabled = false` in the `[mcp_servers.whappy]` table of your Codex `config.toml`. Run `codex mcp --help` to see the commands your version has for removing a server.

Removing the server from Codex does not by itself revoke the access on Whappy's side. To cut it off, click **Revoke** next to it in **Connected apps** on the [MCP connectors](https://app.whappy.ai/integrations/ai-assistants) page.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.