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

# MCP client setup

> Sign in to the GreenTick MCP server from Claude, ChatGPT, Claude Code, Cursor, Gemini CLI, OpenClaw, or VS Code.

Add `https://api.greentick.ai/mcp` as a remote MCP server. The client opens a GreenTick sign-in. Sign in as the account owner and choose the default WhatsApp Business account. One connection covers every WhatsApp Business account that owner owns.

> [!WARNING]
>
> Do not paste a `gt_live_` Developer API key into the MCP client. That key is rejected on this server. It still works for the Developer API and for Sheets, n8n, and Zapier.

> [!WARNING]
>
> Connect `https://api.greentick.ai/mcp`. The `/mcp` address on this docs site only searches the documentation. It cannot send WhatsApp messages.

## Claude

In Claude, add the GreenTick connector from the directory, or add a custom connector with the server URL `https://api.greentick.ai/mcp` and choose sign-in. Claude opens the GreenTick consent screen. After you allow it, the connector is ready.

Install the GreenTick plugin as well when you want the workflows for templates, broadcasts, contacts, and the other jobs. The plugin points at the same server. Someone who has both sees one set of tools.

## ChatGPT

In ChatGPT, add the GreenTick plugin from the directory, or add a custom MCP server with the URL `https://api.greentick.ai/mcp` and sign in. ChatGPT opens the GreenTick consent screen. After you allow it, the plugin is ready.

The plugin includes the workflows for templates, broadcasts, contacts, and the other jobs. It uses the same server.

## Claude Code

From a terminal:

```bash theme={null}
claude mcp add --transport http greentick https://api.greentick.ai/mcp
```

Start a new session. Claude Code opens a browser sign-in on localhost. Finish it as the account owner.

## Cursor

Install the GreenTick plugin from the Cursor marketplace. The plugin points at `https://api.greentick.ai/mcp` and includes the workflows for templates, broadcasts, contacts, and the other jobs. Cursor opens the GreenTick consent screen. After you allow it, the plugin is ready.

To add the server without the plugin, open **Settings → MCP** and add:

```json theme={null}
{
  "mcpServers": {
    "greentick": {
      "url": "https://api.greentick.ai/mcp",
      "auth": {
        "CLIENT_ID": "https://cursor.com/oauth/mcp-client.json",
        "scopes": ["mcp", "offline_access"]
      }
    }
  }
}
```

Do not set an `Authorization` header and do not paste a client secret. The client id is Cursor's public metadata document. Cursor starts the GreenTick sign-in when it connects.

## Gemini CLI

Clone the plugins repository and install the Gemini folder. Gemini CLI looks for `gemini-extension.json` in the folder you pass it.

```bash theme={null}
git clone https://github.com/AkshayAgrawal1997/greentick-plugins.git
gemini extensions install ./greentick-plugins/gemini
```

Leave port 7777 free. Start Gemini CLI and run `/mcp auth greentick`. Sign in as the account owner. The extension includes the workflows for templates, broadcasts, contacts, and the other jobs.

## OpenClaw

Clone the plugins repository and install the OpenClaw folder. OpenClaw looks for `openclaw.plugin.json` in the folder you pass it.

```bash theme={null}
git clone https://github.com/AkshayAgrawal1997/greentick-plugins.git
openclaw plugins install ./greentick-plugins/openclaw
```

Start the Gateway and run `openclaw mcp login greentick`. Sign in as the account owner. The plugin includes the workflows for templates, broadcasts, contacts, and the other jobs.

## VS Code

Create `.vscode/mcp.json`:

```json theme={null}
{
  "servers": {
    "greentick": {
      "type": "http",
      "url": "https://api.greentick.ai/mcp"
    }
  }
}
```

Sign in when VS Code asks. Do not put an API key in this file.

## Which account a tool uses

After sign-in, the assistant calls `list_wabas`.

* If you name a WhatsApp Business account, it passes that `waba_id`.
* If you do not, it uses the default you chose on the consent screen.
* If the request could match more than one account and the default is not the one you mean, it asks.
* A read can pass `waba_id` as `all` to cover every account you own. A send, publish, schedule, enroll, delete, or other change must name one account.
* The consent screen does not ask for a phone line. The first time a change needs a line and the account has more than one, the assistant asks which line and saves it with `set_default_phone`.

Change the default account later by asking the assistant to call `set_default_waba`.

## Confirm the connection

Ask the assistant to list your WhatsApp Business accounts and not to send anything. A working sign-in returns the accounts you own and the saved default.


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