Gupshup MCP server for AI agents

Live

API KEY

WHATSAPP MESSAGING

Communication

Gupshup gives your agent WhatsApp messaging through your Gupshup app: send template and session messages, read templates and the business profile, and block or unblock users.

  • Per-user credentials: each call uses the actual user's API key, never a shared bot.
  • Encrypted per-tenant vault: AES-256, resolved at request time, never in LLM context.
  • Scoped before every call: pre-call scope check, 90-day SIEM-exportable audit chain.
Gupshup
agent · Acme Q3
Run
Send the order_shipped template to +14155550123.
S
gupshup_template_message_send
240ms
Messaging agent
Sent the order_shipped template to +14155550123. Gupshup accepted the message.
Sources: Gupshup template message
gupshup
1 message
18:29
Message Claude...

Tools your WhatsApp messaging agent reaches for on Gupshup, scoped per user.

CALL ANY TOOL
15 tools for WhatsApp messaging in Gupshup: send template, session, and marketing messages, read templates and business details, update the business profile, and block or unblock users.
gupshup_blocked_users_list
List blocked users
List the WhatsApp users your Gupshup app's business number has blocked, one page at a time. Returns blocked users with their wa_id and a paging cursor for the next page. Use this to audit blocks. Use gupshup_users_unblock to unblock someone.
Parameters
Name
Type
Required
Description
app_id
string
Required
Gupshup app ID of the WhatsApp app, shown on the app's dashboard in the Gupshup console (Dashboard > WhatsApp > your app) and in the app settings. Example: cebxx8x1-xxf6-406c-901x-3f78xxxx5ea
after
string
Optional
Cursor for the next page, from the paging.cursors.after value of the previous response. Example: QVFIUmFfZA2ZAW
limit
integer
Optional
Users per page, up to 100. Defaults to 100. Example: 100
gupshup_business_details_get
Get business details
gupshup_business_profile_about_get
Get business profile about
gupshup_business_profile_about_update
Update business profile about
gupshup_business_profile_get
Get business profile
gupshup_business_profile_photo_get
Get business profile photo
gupshup_business_profile_update
Update business profile
gupshup_marketing_message_send
Send marketing message
gupshup_product_template_message_send
Send product template message
gupshup_session_message_send
Send session message
gupshup_template_get
Get template
gupshup_template_message_send
Send template message
gupshup_templates_list
List templates
gupshup_users_block
Users block
gupshup_users_unblock
Users unblock
Build your Agent
Same auth pattern across LangChain, OpenAI, Anthropic, and Google ADK.
Python · LlamaIndex
import { ScalekitClient } from "@scalekit-sdk/node";
import { createReactAgent } from "@langchain/langgraph/prebuilt";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

// Gupshup tools scoped to this user
const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["gupshup"], toolNames: [
    "gupshup_templates_list",
    "gupshup_template_get",
    "gupshup_template_message_send"] },
  pageSize: 100,
});

const agent = createReactAgent({ llm, tools });
await agent.invoke({ messages: [{ role: "user", content: "Find my order_shipped template and send it to this customer on WhatsApp" }] });
import OpenAI from "openai";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const openai = new OpenAI();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["gupshup"] }, pageSize: 100,
});

const res = await openai.chat.completions.create({
  model: "gpt-5",
  messages: [{ role: "user", content: "Find my order_shipped template and send it to this customer on WhatsApp" }],
  tools,
});

// Execute the tool call with the user's vaulted Gupshup API key
await sk.tools.executeTool(res.choices[0].message.tool_calls[0], "user_123");
import Anthropic from "@anthropic-ai/sdk";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const anthropic = new Anthropic();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["gupshup"] }, pageSize: 100,
});

const msg = await anthropic.messages.create({
  model: "claude-sonnet-5",
  max_tokens: 1024,
  messages: [{ role: "user", content: "Find my order_shipped template and send it to this customer on WhatsApp" }],
  tools,
});

// Tool call runs with the user's vaulted Gupshup API key
await sk.tools.executeTool(msg.content, "user_123");
import { Agent } from "@google/adk/agents";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["gupshup"] }, pageSize: 100,
});

const agent = new Agent({
  name: "messaging_agent",
  model: "gemini-2.5-pro",
  instruction: "Gupshup tools scoped to this user",
  tools,
});

await agent.run("Find my order_shipped template and send it to this customer on WhatsApp");
Try these prompts
Copy any prompt into your agent. Each maps directly to a Gupshup tool. Click to copy, paste into your agent, done.
Send messages
Copy the prompt
Copied
Send the order_shipped template to +14155550123.
Copy the prompt
Copied
Reply to this customer with a free-form session message.
Copy the prompt
Copied
Send an approved marketing template to this customer.
Templates
Copy the prompt
Copied
List my approved WhatsApp templates.
Copy the prompt
Copied
Show the details of the order_shipped template.
Copy the prompt
Copied
List the templates that are still pending approval.
Business profile
Copy the prompt
Copied
Show my WhatsApp business profile.
Copy the prompt
Copied
Update the About text of my business profile.
Copy the prompt
Copied
Block this number from messaging us.
SEE HOW AUTH WORKS
Each user connects their own Gupshup API key once, and Scalekit sends it with every call. Keys stay vaulted, every call is scope checked, and every action is logged.
1
Authorize
Your user connects
Gupshup
once. We tie it to their identity and the access they approved, with no shared bot account and no org-wide access
Who:
user ‘A’
when:
Once per user
access:
Limited to user
2
Store
Their
Gupshup
credential lives in a vault scoped to them. User A's data is never reachable by an agent acting for user B, even on the same connection
vault:
encrypted
scope:
per-user
tenants:
isolated
3
Resolve
When your agent calls a
Gupshup
tool, we fetch the right credential server-side. It never touches your agent, never appears in the LLM context, never shows up in your logs
speed:
~40ms
check:
before every call
seen by:
nobody
4
Audit
Every
Gupshup
tool call is logged: who triggered it, which tool ran, what came back. 90 days of history, tied to the user who authorized it
history:
90 days
export:
SIEM-ready
logged:
every call
Test other agents
See the same per-user auth pattern across other communication and marketing connectors.
GTM and RevOps Teams
Outbound prospecting agent
Searches Apollo for prospects matching your ICP, scores and ranks them, drafts personalized outreach in Gmail, and logs every send to Google Sheets. Mail goes out as the rep, not from a shared inbox.
Test other agents
See the same per-user auth pattern across other communication and marketing connectors.
SALES
Outbound prospecting agent
Search Apollo for ICP matches, rank them, draft personalised Gmail outreach, and log every send to Google Sheets.
Why Scalekit
Secure your agent's access. Connectors ship in minutes
01.
Shared tokens break per-user analytics
A shared Gupshup API key looks fine in a demo. In production every WhatsApp message looks like one service account, and you cannot tell which user triggered it. Scalekit resolves the credential of the actual user who triggered the agent, never a shared bot.
// shared key
audit → bot_service_account

// scalekit
audit → user_abc ✓
02.
Authentication is not authorization
03.
Multi-tenancy is architectural
04.
Gupshup today. Ten connectors tomorrow.
“Our agents act across Salesforce, Gong, Google Drive, and more, on behalf of every customer. Scalekit behind the scenes meant we can keep adding tools without ever rebuilding how credentials or tool calling work.”
Venu Madhav Kattagoni
Head of Engineering / Von
FAQs
Frequently Asked Questions
Does the agent access Gupshup as the user or through a shared key?
As the user. Each user connects their own Gupshup API key once, and Scalekit sends it with every call. Audit logs attribute every message and profile change to that user, not a shared service account.
Where is the Gupshup API key stored?
In Scalekit's managed AES-256 token vault, namespaced per tenant. To rotate it, the user reconnects with a new API key. Revocation is a single dashboard action. Credentials never appear in prompts, logs, or LLM context.
Can I limit what the agent does in Gupshup?
Yes. Filter by tool name in listScopedTools to expose only what you want, for example the template and profile read tools without gupshup_template_message_send or gupshup_session_message_send, which send WhatsApp messages. None of the 15 tools is destructive. Scalekit also enforces scope checks before every API call.
What happens when a user revokes Gupshup access?
The connection is invalidated on the next tool call. Subsequent requests for that user fail closed with a clear error. Other users in the tenant remain unaffected. The event is logged for audit.
What is the difference between template and session messages?
gupshup_template_message_send sends an approved WhatsApp template message, while gupshup_session_message_send sends a free-form session message such as text, media, location, a reaction, a list, or quick replies. gupshup_templates_list shows which templates are available.
Start in your coding agent
Up and running in one command
Install the Scalekit skill in your editor of choice. Connector, auth, tools, prompt, all wired up
Claude Code REPL
/plugin marketplace add scalekit-inc/claude-code-authstack
/plugin install agentkit@scalekit-auth-stack
Cursor Code REPL
# ~/.cursor/mcp.json
{
""mcpServers"": {
""gupshup"": {
""url"": ""https://mcp.scalekit.com/gupshup"",
""headers"": { ""Authorization"": ""Bearer $SCALEKIT_TOKEN"" }
}
}
}
Codex Code REPL
# ~/.codex/config.toml
[mcp_servers.gupshup]
url = ""https://mcp.scalekit.com/gupshup""
auth_env = ""SCALEKIT_TOKEN""
Copilot Code REPL
# .vscode/mcp.json
{
""servers"": {
""gupshup"": {
""url"": ""https://mcp.scalekit.com/gupshup"",
""type"": ""http""
}
}
}