# Gambot - Official WhatsApp Business API

> Gambot - Official WhatsApp Business API is an MCP server for communication. Send WhatsApp messages and manage CRM records through the Gambot WhatsApp Business API. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Platforms:** WhatsApp, API, CLI
- **Repository:** https://github.com/gambot-ai/gambot-mcp
- **MCP Registry name:** io.github.gambot-ai/gambot-mcp
- **Categories:** [communication](https://ai-powered.com/categories/communication), [sales and CRM](https://ai-powered.com/categories/sales-and-crm)
- **Listing updated:** 2026-11-23

## About

The server wraps Gambot's REST API, authenticated with an organization token (`gmbt_...`). Gambot describes itself as an official, Meta-approved WhatsApp Business Solution Provider, and you keep your own number and account. The README argues the value is the plumbing it handles: template approval status, managed webhooks, and the 24-hour conversation window, where the API returns `CONVERSATION_WINDOW_CLOSED` with a `canSendTemplate` flag so an agent knows to switch from free text to a template.

The tool groups cover messages, conversations and media links, templates, contacts, leads, and more, including bulk contact updates that preview first, ask for confirmation and stamp an audit note. A transcript tool reads message content across conversations for a period, for questions such as which customers sounded upset.

Without a token it starts in onboarding mode, where an agent can create a new Gambot account, open the Meta Embedded Signup link and poll `gambot_get_onboarding_status` until WhatsApp is connected. There is also a hosted Streamable HTTP endpoint with OAuth or bearer token. Node.js 18 or newer is needed for the local package.

## Features

- **Messages and templates:** Send free text or approved template messages.
- **24-hour window check:** Tells an agent whether free text is allowed or a template is needed.
- **Contacts and leads:** List, create and update contacts and leads, including bulk updates.
- **Token-less onboarding:** Create an account from scratch without an existing token.
- **Conversation transcripts:** Read message history or content across conversations.
- **Hosted endpoint:** Connect through a remote server with OAuth or bearer token.

## Good for

- Send a template message to a customer from an assistant
- Check whether a conversation window is still open
- Review how the team replied to customers today
- Update tags or owners for many contacts at once
- Set up a WhatsApp Business account through an agent

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add gambot-mcp --env GAMBOT_TOKEN='<GAMBOT_TOKEN>' -- npx -y gambot-mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "gambot-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "gambot-mcp"
      ],
      "env": {
        "GAMBOT_TOKEN": "<GAMBOT_TOKEN>"
      }
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "gambot-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "gambot-mcp"
      ],
      "env": {
        "GAMBOT_TOKEN": "<GAMBOT_TOKEN>"
      }
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "gambot-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "gambot-mcp"
      ],
      "env": {
        "GAMBOT_TOKEN": "<GAMBOT_TOKEN>"
      }
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "gambot-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "gambot-mcp"
      ],
      "env": {
        "GAMBOT_TOKEN": "<GAMBOT_TOKEN>"
      }
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add gambot-mcp --env GAMBOT_TOKEN='<GAMBOT_TOKEN>' -- npx -y gambot-mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.gambot-mcp]
command = "npx"
args = ["-y", "gambot-mcp"]
env = { GAMBOT_TOKEN = "<GAMBOT_TOKEN>" }
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "gambot-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "gambot-mcp"
      ],
      "env": {
        "GAMBOT_TOKEN": "<GAMBOT_TOKEN>"
      }
    }
  }
}
```

Or run: gemini mcp add -s user -e GAMBOT_TOKEN='<GAMBOT_TOKEN>' gambot-mcp npx -- -y gambot-mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "gambot-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "gambot-mcp"
      ],
      "env": {
        "GAMBOT_TOKEN": "<GAMBOT_TOKEN>"
      }
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "gambot-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "gambot-mcp"
      ],
      "env": {
        "GAMBOT_TOKEN": "<GAMBOT_TOKEN>"
      }
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "gambot-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "gambot-mcp"
      ],
      "env": {
        "GAMBOT_TOKEN": "<GAMBOT_TOKEN>"
      }
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "gambot-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "gambot-mcp"
      ],
      "env": {
        "GAMBOT_TOKEN": "<GAMBOT_TOKEN>"
      }
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "gambot-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "gambot-mcp"
      ],
      "env": {
        "GAMBOT_TOKEN": "<GAMBOT_TOKEN>"
      }
    }
  }
}
```

The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "gambot-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "gambot-mcp"
      ],
      "env": {
        "GAMBOT_TOKEN": "<GAMBOT_TOKEN>"
      }
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "gambot-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "gambot-mcp"
      ],
      "env": {
        "GAMBOT_TOKEN": "<GAMBOT_TOKEN>"
      }
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "gambot-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "gambot-mcp"
      ],
      "env": {
        "GAMBOT_TOKEN": "<GAMBOT_TOKEN>"
      }
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 7 of 18 tools change data; 1 name doesn't say. From the server's own tool labels and tool names; not verified by us.

- `gambot_send_text` (name suggests: changes): Send a WhatsApp text message
- `gambot_send_template` (name suggests: changes): Send a WhatsApp template message
- `gambot_list_conversations` (name suggests: reads): List conversations with last-message metadata
- `gambot_get_conversation_messages` (name suggests: reads): Full message history of one conversation
- `gambot_analytics_transcript`: Message content across all conversations for a period
- `gambot_get_media_url` (name suggests: reads): Download link for a message's media
- `gambot_check_window` (name suggests: reads): Check whether the 24-hour window is open
- `gambot_list_numbers` (name suggests: reads): List sender numbers
- `gambot_list_templates` (name suggests: reads): List templates
- `gambot_get_template` (name suggests: reads): Get one template
- `gambot_create_template` (name suggests: changes): Create a template
- `gambot_list_contacts` (name suggests: reads): List or search contacts
- `gambot_create_contact` (name suggests: changes): Create a contact
- `gambot_update_contact` (name suggests: changes): Update a contact
- `gambot_bulk_update_contacts` (name suggests: changes): Update many contacts with preview and confirm
- `gambot_list_leads` (name suggests: reads): List leads
- `gambot_create_lead` (name suggests: changes): Create a lead
- `gambot_get_onboarding_status` (name suggests: reads): Poll onboarding until WhatsApp is connected

## FAQ

### Do I need a Gambot account first?

No. Start without a token and the server runs in onboarding mode to create one.

### Is Gambot - Official WhatsApp Business API the official WhatsApp Business API?

The README says Gambot is an authorized Meta Business Solution Provider and not an unofficial workaround.

### Which clients are documented?

Cursor, Claude, ChatGPT and Gemini.

### How long does onboarding take?

The README says guided onboarding is live in about 24 to 48 hours.

### How do I add Gambot - Official WhatsApp Business API to Claude Code?

Run this command in your terminal: claude mcp add gambot-mcp --env GAMBOT_TOKEN='<GAMBOT_TOKEN>' -- npx -y gambot-mcp

### What are the best alternatives to Gambot - Official WhatsApp Business API?

The closest alternatives to Gambot - Official WhatsApp Business API are TrendRadar, TryPost, Discord MCP, Gmail MCP and Maildignity.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [TrendRadar](https://ai-powered.com/mcp/trendradar): TrendRadar is an open-source MCP server for communication.
- [TryPost](https://ai-powered.com/mcp/trypost): TryPost is a paid MCP server for marketing and seo.
- [Discord MCP](https://ai-powered.com/mcp/discord-mcp): Discord MCP is an open-source MCP server for communication.
- [Gmail MCP](https://ai-powered.com/mcp/gmail-mcp-3): Gmail MCP is an open-source MCP server for communication.
- [Maildignity](https://ai-powered.com/mcp/maildignity-2): Maildignity is a freemium MCP server for sales and crm.
- [Getmitra](https://ai-powered.com/mcp/getmitra): Getmitra is an MCP server for communication.
- [Calven](https://ai-powered.com/mcp/calven): Calven is an MCP server for marketing and seo.
- [CompanyData](https://ai-powered.com/mcp/companydata): CompanyData is a paid MCP server for analytics and data.

---
Source: https://ai-powered.com/mcp/gambot-official-whatsapp-business-api
