In short
Claude Code connects to OmniChannels.ai with one command: claude mcp add --transport http pointing at https://mcp.broadnet.me/mcp with an Authorization: Bearer header. It can then send test messages, list WhatsApp templates and read delivery reports while it writes your integration code from our OpenAPI 3.1 spec. Teams share the server in .mcp.json, and permission rules control which tools run without a prompt.
What you can do
Write code from the real templates
Claude Code reads your approved WhatsApp templates through MCP and writes a function with exactly the variables each one needs.
Try asking
“Use the omnichannels tools to list my approved WhatsApp templates, then write a TypeScript function that sends order_update with the fields it needs.”
Build a webhook handler
Point Claude Code at the webhooks guide and it writes an endpoint that stores delivery statuses and inbound messages, tolerating fields that vary by channel.
Try asking
“Write an Express webhook handler that records SUBMITTED, SENT, DELIVERED, READ, FAILED and REJECTED statuses by message ID and logs unknown fields instead of failing.”
Generate a typed client from the spec
With the OpenAPI spec saved in your repository, Claude Code uses the exact paths and fields instead of guessing them.
Try asking
“Using docs/omnichannels-openapi.yaml, write a Python module that sends an SMS with POST /sms/sendSms and list every field you used with its type from the spec.”
Test end to end on your own number
Claude Code sends a test message after you approve the tool call, then checks the delivery report to confirm your code path works.
Try asking
“Send a test SMS from OmniDemo to my number 447700900123, then check its delivery report.”
Debug failed sends
Read tools let Claude Code compare delivery reports with your logs and trace a failure back to the request that caused it.
Try asking
“Read the delivery report for yesterday's campaign, summarise the failure reasons, and check our retry code against the errors guide.”
How it connects
Claude Code adds remote MCP servers with claude mcp add --transport http and an Authorization header. Your shell expands the token from an environment variable when you run the command; for a team, a project-scoped .mcp.json lets each developer supply their own token through ${BROADNET_TOKEN}, and Claude Code asks each person to approve the server before using it.
MCP covers acting on your account: sending test messages, reading templates and delivery reports. For writing integration code, give Claude Code our OpenAPI 3.1 spec as the source of truth for endpoints and fields, plus the webhooks guide, since webhook payloads are not in the spec. Permission rules such as mcp__omnichannels__get_* let read tools run without a prompt while send tools still ask.
- Command: claude mcp add --transport http omnichannels https://mcp.broadnet.me/mcp
- Team setup: commit .mcp.json with Bearer ${BROADNET_TOKEN}, never a key
- Permission rules name tools as mcp__omnichannels__<tool>
- OpenAPI 3.1 spec at /developers/openapi.json for exact request fields
- Single SMS is JSON; bulk and most other channel sends use multipart/form-data
Set it up
- 1
Request API access
Request test access and receive an API token. Test sends go only to your own verified numbers.
- 2
Get a temporary key
In the admin portal open Integrations, then MCP Integration, choose Get temporary key and export it as BROADNET_TOKEN.
Guide: MCP server for AI agents - 3
Add the server
Run claude mcp add --transport http omnichannels https://mcp.broadnet.me/mcp with the Authorization header, or commit a project .mcp.json for your team, then check it with /mcp.
Guide: Use the MCP server with Claude Code - 4
Set permission rules
Allow read tools such as mcp__omnichannels__get_* if you want, keep every send tool on prompt, and deny tools the project does not need.
Guide: Use the MCP server with Claude Code - 5
Add the OpenAPI spec
Download openapi.yaml into your repository and tell Claude Code to use it for endpoint paths, fields and enums.
Guide: OpenAPI 3.1 spec - 6
Test on your own number
Ask Claude Code to send a test message to your verified number, then read back the delivery report.
Vendor documentation
Claude Code is a trademark of its owner. OmniChannels.ai is not affiliated with or endorsed by Claude Code; this page describes a connection built with Claude Code's own MCP, HTTP or webhook features.

