# CM.com MCP for AI Agents MCP

> CM.com MCP connects your AI agents directly to a unified messaging platform for conversational commerce. It lets you manage customer outreach across WhatsApp, SMS, RCS, and voice channels using natural conversation. Handle everything from sending bulk alerts and verifying two-factor authentication codes to distributing complex HTML emails—all without writing dedicated integration code.

## Overview
- **Category:** communication-messaging
- **Price:** Free
- **Tags:** sms-notifications, omnichannel-messaging, whatsapp-business, otp-verification, conversational-commerce, voice-api

## Description

This MCP connects your AI agent to CM.com's robust communication system, giving it control over all your customer outreach channels. You can manage communications across WhatsApp, SMS, RCS, voice calls, and email from a single conversational flow. For example, an automated workflow can first use the capability to send an OTP via SMS, and if verification is needed, the agent handles that entire loop using the `verify_otp` tool. Beyond security, you'll handle bulk campaigns by sending multiple SMS messages or running comprehensive marketing blasts. The system also supports rich messaging formats for platforms like WhatsApp and Viber, meaning your messages look professional, not just like plain text alerts. Since Vinkius hosts this MCP, you don't need to worry about complex API setups; you just connect your preferred AI client and start sending messages.

## Tools

### get_balance
Checks the current credit balance of your CM.com account.

### list_numbers
Retrieves a list of all virtual phone numbers associated with your CM.com account.

### send_bulk_sms
Sends text messages to multiple recipients in a single request for mass communication.

### send_email
Sends an HTML formatted email using the CM.com delivery infrastructure.

### send_otp_sms
Triggers the sending of a One-Time Password code via SMS to a specified phone number.

### send_rich_message
Sends a message using rich media formats available on platforms like WhatsApp or Viber.

### send_sms
Sends a standard text message to a single recipient.

### send_voice_message
Initiates an automated call to deliver a voice notification or alert.

### send_voice_otp
Sends an audio recording containing a One-Time Password code.

### send_whatsapp
Dispatches a pre-approved WhatsApp Business template message to a recipient.

### verify_otp
Confirms and validates a user-provided One-Time Password code.

## Prompt Examples

**Prompt:** 
```
Send a bulk SMS notification to all customers in the 'Bronze Tier' group about our sale today.
```

**Response:** 
```
**SMS Campaign Report**

*   **Target Group:** Bronze Tier (1,240 contacts)
*   **Message Body:** Don't miss out! 💸 30% off everything until midnight. Use code SALE30.
*   **Status:** ✅ Bulk SMS initiated successfully.
*   **Details:** 1,240 messages queued for sending. Estimated credit usage: 1,240 credits.
```

**Prompt:** 
```
We need to authenticate a new user. Send an OTP code to +1555987654 and then wait for them to confirm the code is 482910.
```

**Response:** 
```
**Authentication Flow Log**

*   **Step 1: Code Sent:** SMS sent to +1555987654. (ID: ver_xyz)
*   **Step 2: Verification Attempt:** Input code 482910.
*   **Result:** ✅ SUCCESS. The user account is now authenticated. Flow complete.
```

**Prompt:** 
```
Email our partners a weekly summary of sales and the current credit balance.
```

**Response:** 
```
**Weekly Summary Email Report**

*   **Recipient:** partners@company.com
*   **Subject:** Weekly Sales Performance & Account Update
*   **Body Sent:** (HTML format applied)
*   **Attachment Status:** Attached PDF report.
*   **Account Check:** Current Credit Balance: 4,231 credits remaining.
```

## Capabilities

### Send multi-channel notifications
Dispatch personalized or bulk alerts using SMS, rich WhatsApp messages, RCS, or automated voice calls.

### Manage authentication flows
Automate security protocols by sending temporary OTP codes via SMS and verifying the correct code against your account.

### Broadcast marketing campaigns
Send large batches of personalized text messages to multiple recipients simultaneously for promotions or updates.

### Deliver complex emails
Send professional HTML formatted emails using CM.com's dedicated email delivery infrastructure.

### Handle voice communications
Place automated calls or send voice notifications, useful for delivering audio codes or reminders.

## Use Cases

### Handling Post-Login Security Checks
A user attempts to log in. The agent detects no session, triggering the flow: first using `send_otp_sms` to send a code, then waiting for the user input, and finally confirming success with `verify_otp`. This completes the authentication cycle automatically.

### Running International Sales Campaigns
The marketing agent needs to contact 500 leads. Instead of writing a loop in code, it uses `send_bulk_sms` to hit every number instantly and checks the current credit balance first using `get_balance`.

### Confirming Appointment Details
A user books an appointment. The agent automatically sends a rich WhatsApp message (`send_rich_message`) confirming details, ensuring all required formatting and namespaces are correct for the platform.

### Dispatching System Alerts to Employees
The operations team needs to notify multiple departments about an outage. They use `list_numbers` to pull all necessary contacts and then execute a series of targeted alerts using standard SMS messages (`send_sms`).

## Benefits

- You can run full authentication flows, from sending an OTP via SMS to verifying the code using `verify_otp`, all within a single agent workflow.
- The platform handles multi-channel delivery. You don't have to write separate logic for WhatsApp rich messages (`send_rich_message`) versus standard text alerts (`send_sms`).
- Marketing teams gain efficiency by executing massive, simultaneous broadcasts using the `send_bulk_sms` tool, updating customer records instantly.
- Security workflows become simpler. You can mandate two-factor authentication steps that use both `send_otp_sms` and the subsequent verification step.
- The agent manages diverse media types. Whether you need a formal HTML email (`send_email`) or an automated voice alert (`send_voice_message`), it’s covered.

## How It Works

The bottom line is you use natural language prompts to trigger complex, multi-step messaging and delivery processes across multiple communication channels.

1. First, subscribe to this MCP and enter your CM.com Product Token from your Channels dashboard.
2. Next, instruct your AI agent on the communication goal, specifying the channel (e.g., SMS or WhatsApp) and recipient details.
3. Finally, your agent executes the required action—whether that's sending a single message, initiating an OTP flow, or checking your credit balance—and reports the outcome.

## Frequently Asked Questions

**How do I send different types of alerts (SMS, WhatsApp, email) using the CM.com MCP for AI Agents?**
You tell your agent what you need to communicate; it handles which channel is best. You can trigger SMS text messages, rich media updates on WhatsApp, or formal HTML emails all from the same prompt.

**Can I use CM.com MCP for AI Agents to build a secure login process?**
Yes. You can automate two-factor authentication by having your agent send an OTP code via SMS and then waiting until you confirm that the code is correct.

**What if I need to reach many people for marketing? Does CM.com MCP support this?**
It does. You can use bulk messaging tools to send out thousands of SMS alerts or rich campaign messages simultaneously, making large-scale campaigns easy.

**Does the CM.com MCP for AI Agents handle voice notifications?**
Yes, you can trigger automated calls or send audio alerts using the MCP. This is useful when a simple text message won't cut it, like delivering an important reminder.

**Do I need to write custom code for every channel? Is CM.com MCP for AI Agents helpful?**
No. By using this MCP, you interact with the platform through natural conversation. You don't write separate integration code; you just tell your agent what needs to happen.

**How do I check if my messaging account has enough credits before a big campaign?**
You can start any workflow by asking the MCP to retrieve your current credit balance. This ensures you know exactly how many messages you can send before running a bulk blast.