Run WhatsApp, SMS and RCS messaging from any AI agent: analytics, templates and campaigns through one secure Model Context Protocol endpoint.
Website · Connect a client · Tools · Security · Troubleshooting
Gupshup MCP lets Claude, ChatGPT, Cursor, VS Code and any MCP-compatible agent work with your Gupshup account. Ask in plain language to check delivery and failures, draft and localize templates and submit them for approval, build audiences, run A/B tests, and launch or optimize campaigns. Anything that sends messages or deletes data waits for your confirmation.
This repository is the public home for the hosted Gupshup MCP server: setup guides, the tool reference, marketplace manifests and examples. There's nothing to install or run; you connect to Gupshup's endpoint.
📊 Analytics & reporting
- Delivery, read and click rates across WhatsApp, SMS and RCS, compared with the previous period
- Failure analysis: reasons ranked by lost volume, each with a plain-English cause and fix
- Per-template deep dives (daily trend, button clicks, errors) and template leaderboards
- Campaign results, spend by billing bucket, account and channel health, raw report export
📝 Template management
- Draft WhatsApp, RCS and SMS templates from a description and preview them as they look on the phone (including 2–6 A/B copy options)
- Multilingual templates: one family in English plus 10 Indian languages, previewed side by side and submitted together
- Submit for approval, track status and rejection reasons, and fix rejected templates
- Register DLT-approved SMS templates. Visual template gallery and multi-step flow timelines.
🚀 Campaigns
- Build audiences from CSV/XLSX uploads, CRM pulls or customer-data segments (masked previews)
- Interactive review panel before every launch: per-template audiences, scheduling, one-click Launch
- A/B tests on a sample with automatic winner roll-out (click or read rate)
- Multilingual campaigns: each recipient gets their language
- Scheduling, follow-up nudges, pause, live health checks and auto-pause or reschedule
- Channel fallback: retry WhatsApp failures on SMS per campaign, or account-wide Smart CPaaS failover
🔐 Built for enterprises
- OAuth 2.1 sign-in with per-channel credentials and 2FA; no API keys in config files
- Least privilege: one scope per app, so the agent only sees tools you granted
- Human-in-the-loop for every send and delete; masked customer data
- 38 ready-made prompts (slash commands) and interactive MCP App panels
- Works with Claude, ChatGPT, Cursor, VS Code, Codex, Windsurf and any MCP client
Enterprise server (mcp.gupshup.ai)
- A Gupshup Enterprise account, with the account ID and password for each channel you want to use (WhatsApp, SMS, RCS). No account? Email sales@gupshup.ai.
- An MCP client that supports remote servers over Streamable HTTP with OAuth. See supported clients.
- A browser on the same machine for the one-time sign-in.
Self-serve server (docs.gupshup.io/mcp)
- A Gupshup account with an API key for the messaging API.
- An MCP client that lets you set request headers. See docs/self-serve.md.
Nothing to install: both servers are hosted by Gupshup.
| Status | What you get | |
|---|---|---|
| Enterprise customers | ✅ Available | Sign in with your existing Gupshup Enterprise credentials. Analytics, templates and campaigns across WhatsApp, SMS and RCS. |
| Self-serve (Gupshup messaging API) | ✅ Available | Connect the Gupshup API MCP at https://docs.gupshup.io/mcp with your API key. See Self-serve. |
| CX platform (journeys, AI agents, handoff, agent assist) | 🔜 Coming soon | Build journeys, configure AI agents, manage human handoff and agent assist. |
No Gupshup account yet, or want early access to the CX server? Email sales@gupshup.ai. See the roadmap.
1. Server URL
https://mcp.gupshup.ai/enterprise-auth/mcp
2. One-click install. If the app is on your computer, the button opens it with Gupshup pre-filled:
Claude Code (or share a .mcp.json with your team):
claude mcp add --transport http --scope user gupshup https://mcp.gupshup.ai/enterprise-auth/mcpMost other clients (mcp.json):
{
"mcpServers": {
"gupshup": {
"type": "http",
"url": "https://mcp.gupshup.ai/enterprise-auth/mcp"
}
}
}Step-by-step guides: Claude · Claude Code · Cursor · VS Code · ChatGPT · Codex · Windsurf / Devin · Other
3. Sign in. Your client opens a Gupshup login page. Enter your Enterprise account ID and password for each channel you want (WhatsApp, SMS, RCS; 2FA if enabled) and pick the apps the agent may use. There are no API keys to copy into config files.
4. Ask. For example:
"Compare WhatsApp and SMS delivery this month vs last, and tell me the top 3 failure reasons." "Draft a festive offer template in English and Hindi with a Shop now button, show previews, then submit it." "A/B test two messages on 10% of my at-risk customers, then send the winner to everyone else."
More in examples/prompts.md and the prompt catalog.
On the Gupshup messaging API? Use the Gupshup API MCP, hosted on the docs portal and authenticated with your Gupshup API key:
claude mcp add --transport http --scope user gupshup-api https://docs.gupshup.io/mcp --header "apikey: $GUPSHUP_API_KEY"Guides for Cursor, VS Code, Codex, Windsurf and Claude Desktop: docs/self-serve.md.
| Client | Enterprise (OAuth) | Self-serve (API key) | Guide |
|---|---|---|---|
| Claude (web & desktop) | ✅ Custom connector | ⚠️ Desktop via mcp-remote |
claude.md |
| Claude Code | ✅ | ✅ | claude-code.md |
| ChatGPT | ✅ Developer mode | ❌ No custom headers | chatgpt.md |
| Cursor | ✅ | ✅ | cursor.md |
| VS Code (GitHub Copilot) | ✅ | ✅ | vscode.md |
| OpenAI Codex CLI | ✅ | ✅ | codex.md |
| Windsurf / Devin Desktop | ✅ | ✅ | windsurf.md |
| Any Streamable HTTP MCP client / SDK | ✅ | ✅ | other.md |
Interactive review panels need a client with MCP Apps support. Other clients get the same review as text.
- Marketing teams: go from idea to approved, localized WhatsApp template to A/B-tested campaign in one conversation.
- CRM & lifecycle: win-back and nudge sequences, CDP segment targeting, cross-channel fallback.
- Operations & NOC: monitor live campaigns, diagnose delivery drops, pause or reschedule on breach.
- Analysts & leadership: channel comparisons, failure root causes, spend breakdowns, without writing SQL.
- Developers: build and debug integrations with the Gupshup messaging API from your IDE.
Your AI client ──OAuth 2.1──▶ Gupshup MCP gateway ──▶ Analytics (analytics:read)
(Claude, ChatGPT, sign-in per channel Templates (templates:manage)
Cursor, VS Code…) scope-checked routing Campaigns (campaigns:send, campaigns:read)
│
WhatsApp · SMS · RCS
A single remote endpoint (Streamable HTTP). The gateway only offers the agent tools for the apps you granted, and every call runs as your own Gupshup account. Details: Authentication & scopes.
| App | What your agent can do | OAuth scope | Tools | Context cost |
|---|---|---|---|---|
| Analytics | Delivery, engagement, failures, spend and account health across WhatsApp, SMS and RCS. | analytics:read |
7 | ~1.6k tokens |
| Templates | Draft, preview, localize, submit and track WhatsApp, RCS and SMS (DLT) templates. | templates:manage |
10 | ~18.0k tokens |
| Campaigns | Build audiences, review and launch campaigns (A/B, multilingual, scheduled), and optimize them live. | campaigns:send campaigns:read |
14 | ~10.3k tokens |
Context cost is roughly how many tokens the app's tool definitions take in the model's context. Grant only the apps you need to keep it lean.
31 tools your agent can call, 38 prompts and 4 interactive review panels, generated from the server code (catalog be3a7e5, 2026-09-30).
Analytics
| Tool | What it does | Action |
|---|---|---|
get_performance |
Delivery and engagement KPIs across WhatsApp, SMS and RCS, optionally by template and compared with the previous period. | Read-only |
get_failures |
Why messages failed, ranked by lost volume, with a plain-English cause and suggested fix for each. | Read-only |
get_template_detail |
Deep dive into one template: daily trend, button clicks and errors. | Read-only |
get_campaigns |
WhatsApp campaign results ranked by impact, or one campaign's day-by-day detail. | Read-only |
get_spend |
Where your messaging volume goes, by billing bucket and channel. | Read-only |
get_account_health |
Per-channel account status: connection, identity, billing type and active senders. | Read-only |
get_report |
Raw rows from a named report, paginated, for when you need the exact underlying data. | Read-only |
Templates
| Tool | What it does | Action |
|---|---|---|
open_template_gallery |
Browse your templates in a visual gallery, filterable by channel, status, language and type. | Read-only |
preview_template |
Draft new template copy (including 2-6 A/B options) or preview an existing template, rendered as it appears on the phone. | Read-only |
preview_flow |
Preview a timed multi-step message sequence on a visual timeline. | Read-only |
save_template |
Create or update a WhatsApp or RCS template and submit it for approval, after you confirm the preview. | Writes |
preview_multilingual_templates |
Preview one WhatsApp template in several languages side by side (11 Indian languages plus English). | Read-only |
create_multilingual_templates |
Submit the exact multilingual family you previewed for Meta approval, after your explicit yes. | Writes |
save_sms_dlt_template |
Register an already DLT-approved SMS template with Gupshup (asks for confirmation first). | Writes |
get_template |
The full structure of one template as data: body, variables, header, footer and buttons. | Read-only |
get_template_status |
Approval status of a WhatsApp or RCS template, with the rejection reason if rejected. | Read-only |
delete_template |
Delete an SMS template (asks for confirmation first). WhatsApp and RCS templates are deleted from the Gupshup console. | Deletes data |
Campaigns
| Tool | What it does | Action |
|---|---|---|
preview_audience |
Quick look at an audience: count, columns and a masked sample. Nothing is saved. | Read-only |
get_cdp_summary |
Size of your customer data and the fields you can segment on, with value counts. | Read-only |
clear_cdp_data |
Permanently delete all customer-data profiles for the account. Irreversible; requires explicit confirmation. | Deletes data |
resolve_audience |
Save an audience server-side and get a handle for advanced sends and re-sends. | Writes |
launch_campaign |
Send or schedule a campaign on WhatsApp, RCS or SMS, for clones, re-sends and advanced flows. New campaigns go through the review panel. | Sends messages |
pause_campaign |
Pause a running campaign so queued messages stop. Already-submitted messages cannot be recalled. | Writes |
get_campaign_status |
Where a campaign is: scheduled, queued, submitted, failed (with reason), cancelled or completed. | Read-only |
optimize_running_campaign |
Health-check a live campaign and pause or reschedule it when delivery or failure thresholds are breached. Dry run first. | Writes |
auto_fallback_channel |
Retry failed messages on the next channel in the campaign's policy (e.g. WhatsApp to SMS), respecting consent. | Writes |
register_channel_fallback |
Set up account-wide channel failover for a template (Smart CPaaS), covering API traffic too. | Writes |
get_channel_fallback |
Check whether channel failover is registered for a template. | Read-only |
open_campaign_review |
Open the campaign review panel: preview each template, attach audiences, schedule, and launch after your confirmation. | Read-only |
open_ab_test_review |
Open the A/B test review panel: variants side by side, test on a sample, then send the winner to everyone else automatically. | Read-only |
open_language_review |
Open the multilingual campaign panel: one card per language, and each recipient gets their language. | Read-only |
Full parameters: Analytics · Templates · Campaigns · Prompts & panels · catalog.json (machine-readable)
Campaign launches, A/B tests and multilingual sends open an interactive review panel (an MCP App). There you preview each message, attach audiences, schedule, and click Launch yourself. Clients that don't render MCP Apps show the same review as text, and still require your confirmation.
- OAuth 2.1 + PKCE, short-lived tokens, rotating refresh tokens. No secrets in client config.
- Least privilege: a scope per app, credentials per channel. The agent never sees tools you didn't grant.
- Human in the loop: sends go through the review panel; deletes need explicit confirmation.
- Encrypted at rest: channel credentials. Audience samples are masked.
- Only pair with MCP servers you trust. Another server in the same session could try to instruct your agent.
Read docs/security.md. To report a vulnerability, see SECURITY.md.
| Where | How |
|---|---|
| Claude (web, desktop, mobile) | Add to Claude button above (prefilled custom connector); directory listing in progress |
| Claude Code plugin marketplace | /plugin marketplace add GupshupSuperAgent/mcp then /plugin install gupshup-mcp@gupshup |
| Official MCP Registry | server.json |
| Cursor Marketplace | Plugin gupshup in this repo (manifest), with listing submitted for review. Until it's approved, use the Add to Cursor button. |
| VS Code | One-click button above |
| ChatGPT, Smithery, Glama and Claude directories | See docs/marketplace-submission.md · listing copy · data handling |
What is the Gupshup MCP server?
A hosted Model Context Protocol server. AI assistants such as Claude, ChatGPT, Cursor and VS Code Copilot use it to work with Gupshup's WhatsApp, SMS and RCS messaging: analytics, message templates and campaigns.
Do I need a Gupshup account?
Yes. The Enterprise server needs a Gupshup Enterprise account. The self-serve server needs a Gupshup API key. To get started, email sales@gupshup.ai.
Is it free?
Connecting is free. Messages you send are billed under your Gupshup plan, exactly as if sent from the console or API.
Can the AI send WhatsApp messages without my approval?
No. New campaigns, A/B tests and multilingual sends open a review panel and only go out when you click Launch. Deletes need an explicit confirmation.
Which WhatsApp, SMS and RCS features are supported?
- WhatsApp template creation, approval tracking and multilingual templates; campaigns with A/B tests and fallback
- SMS DLT templates and SMS campaigns
- RCS templates and campaigns
- Delivery, failure and spend analytics across all three
See the tool reference.
Is there a local / npm / Docker version?
No. Gupshup MCP is a hosted remote server, so there's nothing to install. Clients that only support local servers can use the mcp-remote bridge (guide).
- Something broken or unclear? Open an issue. Don't include credentials or customer data.
- Account, billing or access: your Gupshup account manager, or sales@gupshup.ai.
- Docs: docs.gupshup.io
See SUPPORT.md and CONTRIBUTING.md.
The contents of this repository (docs, manifests, examples) are MIT licensed. Use of the hosted Gupshup MCP service is subject to your Gupshup agreement and the Gupshup terms.