In short
rcs-mcp is the Model Context Protocol (MCP) server in the @rcs-campaigns/agent-toolkit package on npm. You give it an RCS Campaigns agent key and register it with Claude. Claude then has tools that call the RCS Campaigns agent gateway: list and search templates, preview them, submit them for approval, send them, and read campaign results. The server runs on your computer, talks to the hosted production gateway by default, and is listed in the MCP Registry as com.rcs-campaigns/campaigns (toolkit README).
Before you start
- An RCS Campaigns account, and the Admin role or above to create the key (or an admin who creates it for you) (API keys).
- Node.js 22 or later. The package requires it, and the setup below runs the server with
npx, which comes with Node.js. - Claude Code or Claude Desktop. Other MCP hosts that run local (stdio) servers work the same way (toolkit README).
- A phone you own for the test send.
Set up rcs-mcp, step by step
Do step 3 or step 4, depending on which Claude app you use. For how MCP configuration works in general, see Anthropic's Claude Code MCP docs and the MCP guide to connecting local servers.
- 1
Create an agent key
In the RCS Campaigns app (app.rcs-campaigns.com), open Settings → API keys and click Create key. Creating keys needs the Admin role or above. Give the key a name you'll recognize and choose its scopes. Copy the key straight away: it starts with
rcsk_live_, it's shown once, and it can't be read back (API keys).For everything in this tutorial, the key needs
campaigns:read,marketplace:clone,campaigns:submit,messages:send, andusage:read. Leave outmessages:sendif Claude should only browse and preview. Scopes are fixed when the key is created, so adding one later means creating a new key (toolkit README). - 2
Check the key from a terminal (optional)
Before you connect Claude, the toolkit's CLI can confirm that the key works:
export RCS_AGENT_KEY=rcsk_live_… npx -y -p @rcs-campaigns/agent-toolkit rcs capabilitiesA working key returns
grantedScopesand the tool catalog.Gateway 401means the key is wrong, rotated, or from a different environment. You don't need a gateway URL: the toolkit uses the hosted production gateway by default, andRCS_GATEWAY_URLis only for dev or a local gateway (toolkit README). - 3
Add rcs-mcp to Claude Code
Run this once, with your key in place of the placeholder:
claude mcp add rcs-campaigns \ --env RCS_AGENT_KEY=rcsk_live_… \ -- npx -y -p @rcs-campaigns/agent-toolkit rcs-mcpThen run
claude mcp list; it should showrcs-campaigns(toolkit README). In this command, everything after--is the command that starts the server, and--envpasses the key to it. Without a--scopeoption, Claude Code saves the server for the current project only, in~/.claude.json;/mcpinside Claude Code shows its status (Connect Claude Code to tools via MCP). - 4
Or add it to Claude Desktop
In Claude Desktop, open Settings → Developer and click Edit Config. That opens
claude_desktop_config.json, which lives at~/Library/Application Support/Claude/on macOS and%APPDATA%\Claude\on Windows (Connect to local MCP servers). Add the server, with your key in theenvblock (toolkit README):{ "mcpServers": { "rcs-campaigns": { "command": "npx", "args": ["-y", "-p", "@rcs-campaigns/agent-toolkit", "rcs-mcp"], "env": { "RCS_AGENT_KEY": "rcsk_live_…" } } } }If the file already has an
mcpServersobject, add thercs-campaignsentry inside it. Quit Claude Desktop completely and open it again; it reads the file at startup. To check the connection, click the + button below the message box and open Connectors (Connect to local MCP servers, Claude Help Center). - 5
Confirm that Claude sees the tools
Ask Claude to “list the RCS Campaigns tools” (toolkit README), or to call
capabilities, which also reports the scopes your key holds. If Claude can't find the tools, see Troubleshooting.
Prompts to try
You talk to Claude in plain language and it picks the tools. When it connects, the server tells Claude to call capabilities first and describes the usual order: find or clone a template, preview it, submit it for approval, then send it (toolkit). Replace <id> with a template id from an earlier answer.
“Which RCS Campaigns scopes does my key have?”
Tool:
capabilities. Start here, so Claude only plans steps your key allows.“List my RCS templates and show which ones are approved.”
Tool:
list_templates. Your org's templates with their approval status and any rejection reason. It can filter by channel and by approval status.“Find an appointment reminder template in the marketplace and clone the best-rated one into my org.”
Tools:
search_templates,clone_template. The clone is a private draft in your org. It needs approval before it sends as rich RCS.“Preview template <id> with firstName set to Ada, and show me the SMS fallback.”
Tool:
render_template. Nothing is sent. You get the validated RCS payload and the SMS/MMS fallback with the variables filled in.“Submit template <id> for approval.”
Tool:
submit_template. Sends the template to the provider (Twilio) for review. Ask Claude to list your templates again later to see whether it was approved.“Send template <id> to my phone, <your number in E.164 format>, with firstName set to Ada. This is a test.”
Tool:
send_message. A real, billed send to one number. The result includes the campaign id (broadcastId), the send funnel with its fellBackToSms count, and skippedOptedOut.“How did that send do? Show the campaign's status and delivery funnel.”
Tools:
list_campaigns,get_campaign_analytics. list_campaigns shows each campaign's status and funnel. get_campaign_analytics with the campaign id adds rates and failure classes by provider error code.“How many messages have we used this month?”
Tool:
get_usage. Your org's month-to-date metered usage.
Tools used in this tutorial
Each tool is one call to the gateway and needs the scope shown. The server has more tools, for surveys, audiences, contacts, the inbox, webhooks, and campaign groups; capabilities lists them all, and the MCP server docs describe them.
| Tool | Scope | What it does |
|---|---|---|
| capabilities | none | Describes the gateway: the tool catalog and the scopes your key holds. |
| list_templates | campaigns:read | Lists your org's own templates with channel and approval status (APPROVED, PENDING, REJECTED, NOT_SUBMITTED) and any rejection reason. |
| search_templates | campaigns:read | Searches the published template marketplace (templates you can clone). |
| clone_template | marketplace:clone | Clones a marketplace template into your org as a private draft. |
| render_template | campaigns:read | Validates a template and returns the rendered RCS payload and the SMS/MMS fallback, without sending. |
| submit_template | campaigns:submit | Submits a template your org owns to the provider (Twilio) for approval. |
| send_message | messages:send | Sends a template your org owns to a list of E.164 phone numbers (up to 500 per call). Bills your org. |
| list_campaigns | campaigns:read | Lists your campaigns with status and delivery funnel (delivered, read, failed, fell back to SMS, clicked). |
| get_campaign_analytics | campaigns:read | Returns delivery and engagement figures; pass a campaign's id to narrow them to one campaign. |
| get_usage | usage:read | Reads your org's month-to-date metered message usage. |
Before you send: safety notes
Sends are real and billed
send_message reaches real phones and bills your org. The instructions the server gives Claude say sends can't be undone (toolkit).
Test on your own phone first
There's no separate test tool for templates: a test is a send_message call to one number you own, and it's billed like any other send. Each call takes up to 500 E.164 numbers.
Approval decides RCS or SMS
A template you haven't submitted is delivered as its SMS/MMS fallback, and fellBackToSms in the result counts those recipients. A template that was submitted but isn't approved yet can't be sent until it is: the gateway refuses the send. Check the status with list_templates first, or in the app, where a template's badge moves from Not submitted to Pending approval to Approved or Rejected (Submit a template for approval).
Only message people who opted in
Google's RCS policy says to “only communicate with users who have explicitly opted into receiving your messages” and to honor opt-out requests (Acceptable Use Policy). The gateway holds back numbers that have opted out and reports them as skippedOptedOut.
Give the key only the scopes it needs
A key works only in the environment it was created in, and a tool fails with Gateway 403 if the key lacks its scope (toolkit README). A browse-only key without messages:send can't send anything.
Keep the key out of shared files
Treat the key like a password. Don't add the server with --scope project and the key inline: that scope writes .mcp.json, which is meant to be shared through version control (Claude Code docs). If a key leaks, revoke it under Settings → API keys; a revoked key stops working for good (API keys).
Read each send before you approve it
Claude runs MCP tools with your approval (Connect to local MCP servers). Before you allow a send_message call, check the template id and every number in it.
Troubleshooting
No agent key configured- The key isn't reaching the server. Put it in the server's
envblock (Claude Desktop) or pass it with--env(Claude Code); exporting it in your shell isn't enough. Gateway 401- The key is wrong or revoked, or it was created in a different environment from the gateway you're calling (production unless RCS_GATEWAY_URL says otherwise).
Gateway 403- The key lacks the tool's scope. Scopes are fixed when a key is created, so create a new key that has it.
- npx: “could not determine executable to run”
- The package ships more than one command, so npx needs
-p @rcs-campaigns/agent-toolkitfollowed by the command name (rcs-mcp), as in the snippets above. - Claude Desktop shows no tools
- Check the JSON syntax, quit and reopen Claude Desktop, and read the MCP logs in
~/Library/Logs/Claude(macOS) or%APPDATA%\Claude\logs(Windows) (Connect to local MCP servers). - Empty template list
- Your org has no templates yet. Ask Claude to search the marketplace and clone one first.
Troubleshooting entries follow the toolkit README unless another source is linked.
Need an account and a key? Sign up, then create the key under Settings → API keys.
Sign up to get startedSending RCS from Claude: common questions
- What is rcs-mcp?
- rcs-mcp is the Model Context Protocol (MCP) server in the @rcs-campaigns/agent-toolkit npm package. It runs on your computer over stdio, authenticates to the RCS Campaigns agent gateway with one agent key, and gives Claude Code, Claude Desktop, or another MCP host tools to search, read, preview, create, clone, submit, and send RCS templates.
- Where do I get an API key for rcs-mcp?
- In the RCS Campaigns app, open Settings → API keys and click Create key. Creating keys needs the Admin role or above. Choose the scopes the agent needs and copy the key straight away: it starts with rcsk_live_ and is shown only once.
- Do I have to install the package?
- No. The configuration runs it with npx -y -p @rcs-campaigns/agent-toolkit rcs-mcp, which needs Node.js 22 or later. You can also install it globally with npm i -g @rcs-campaigns/agent-toolkit and run the rcs-mcp command.
- Why did my message arrive as SMS instead of RCS?
- A template sends as rich RCS only after it has been submitted with submit_template and approved by the provider. Until then it is delivered as its SMS/MMS fallback, and the fellBackToSms count that send_message returns shows how many recipients got SMS. A template that was submitted but isn't approved yet can't be sent until it is, so check its status with list_templates first.
- Does sending from Claude cost money?
- Yes. send_message bills your organization like any other send, and a send can't be undone. Test on your own phone first, and ask Claude to call get_usage to see month-to-date usage.
Sources
Checked on November 10, 2026 against version 0.1.11 of the toolkit. Tool names and scopes can change between versions; capabilities always reports the current list.
- @rcs-campaigns/agent-toolkit (README) · npm
- API keys · Business Messaging help center
- Submit a template for approval · Business Messaging help center
- Connect Claude Code to tools via MCP · Claude Code docs (Anthropic)
- Connect to local MCP servers · Model Context Protocol docs
- Getting started with local MCP servers on Claude Desktop · Claude Help Center (Anthropic)
- RCS Business Messaging Acceptable Use Policy · Google for Developers
More on this site: MCP server reference, API keys, and the rcs CLI.