# 8x8 MCP MCP

> 8x8 MCP gives your AI agent full control over cloud communications—SMS, chat, voice calls, and user verification. Send texts globally, message via WhatsApp or Viber, initiate automated phone calls with text-to-speech, and check real-time delivery status for every message. It's the API layer that lets you build complex communication workflows right inside your agent.

## Overview
- **Category:** communication-messaging
- **Price:** Free
- **Tags:** cloud-communications, sms-api, voice-calls, telephony, contact-center, messaging

## Description

This MCP connects your AI agent to 8x8 Connect, giving it hands-on control over every aspect of cloud communications. You can manage everything from initial account checks—like confirming the current balance or listing sub-accounts—to executing a full customer lifecycle flow in minutes. For instance, an agent can check if a user needs verification using `send_verification`, then initiate a callback via text-to-speech voice calls, and follow up by sending confirmation texts. This is where the real power lies: you don't need to build separate connections for chat, SMS, or phone systems. Because Vinkius hosts this MCP, your agent can combine multiple services—like chaining an 8x8 messaging MCP with a CRM MCP—to create automated processes that span several platforms, all from one single connection point.

This connectivity means you handle all message types (SMS, WhatsApp, Viber) and communication statuses (delivery tracking, call status) through natural conversation. Your agent handles the complexity so you don't have to.

## Tools

### check_8x8_status
Verifies that the API connection is working correctly and ready for use.

### check_verification
Validates a specific One-Time Passcode (OTP) code provided by a user.

### get_account_balance
Retrieves the current spending balance for your 8x8 Connect account.

### get_call_status
Checks the status of a voice call that was recently initiated or is in progress.

### get_sms_status
Gets real-time delivery confirmation for an SMS message you sent.

### list_sub_accounts
Lists all active sub-accounts associated with your main 8x8 Connect dashboard.

### send_chat_message
Sends a chat message through popular platforms like WhatsApp, Viber, or LINE.

### send_sms
Transmits a standard text message to any phone number in the world.

### send_verification
Sends a dedicated, temporary verification code (OTP) to a user's phone number.

### send_voice_message
Makes an automated outbound call using text-to-speech voice synthesis.

## Prompt Examples

**Prompt:** 
```
Send an SMS to +14155551234 saying 'Your appointment is confirmed for tomorrow at 3PM'.
```

**Response:** 
```
SMS sent! Message ID msg_29384 was queued for delivery to +14155551234. Would you like me to check the delivery status?
```

**Prompt:** 
```
Send a verification code to +5511999887766.
```

**Response:** 
```
Verification code sent to +5511999887766. The request ID is ver_82910. When the user provides the code, I can validate it with `check_verification`.
```

**Prompt:** 
```
Check my 8x8 account balance.
```

**Response:** 
```
Your 8x8 Connect account has a balance of .50. You have 2 active sub-accounts. Would you like to see the sub-account details?
```

## Capabilities

### Send messages across multiple channels
Your agent sends text messages via SMS or chats using platforms like WhatsApp and Viber.

### Initiate automated voice calls
The agent starts a phone call that uses text-to-speech, perfect for automated callbacks or confirmations.

### Verify user identities
The system sends one-time passcodes (OTP) via SMS and then validates them when the user replies with the code.

### Monitor communication status
You check the delivery status of both sent SMS messages and active voice calls in real time.

### Manage account resources
The agent checks your overall 8x8 Connect balance or lists all available sub-accounts.

## Use Cases

### Onboarding new high-value clients
A product team needs to verify a user's identity. The agent first uses `send_verification` to push an OTP code, then waits for the user input, and finally confirms the account is legit with `check_verification`. This eliminates manual phone calls.

### Handling abandoned cart sequences
An e-commerce bot runs a sequence: it first sends an SMS reminder using `send_sms`, then, if no response after four hours, it initiates a follow-up voice call with `send_voice_message` to try and recapture the sale.

### Internal operations auditing
The ops engineer needs to check account usage. They prompt their agent to list all active sub-accounts using `list_sub_accounts`, then ask for a balance update via `get_account_balance` before approving new spending.

### Customer support follow-up
A customer's initial query is handled via chat. Later, the agent uses `send_chat_message` to confirm resolution details on WhatsApp and then sets up a reminder to check delivery status with `get_sms_status`.

## Benefits

- Stop manually checking delivery receipts. You can use `get_sms_status` to monitor if every text message actually reached the intended recipient, giving you full visibility into campaign success.
- Build secure onboarding by automating user identity checks. The agent can send a code using `send_verification` and immediately confirm legitimacy using `check_verification`, all in one conversational turn.
- Handle complex support flows without jumping between apps. You can initiate an automated callback with `send_voice_message` and track its progress with `get_call_status`—all managed by your agent.
- Gain immediate financial oversight. Quickly check the account's spending limits using `get_account_balance` before running any large-scale communication campaign, preventing unexpected costs.
- Streamline cross-platform messaging. Instead of separate tools for every channel, you can use `send_chat_message` to reach users on WhatsApp or LINE directly from your agent's workflow.

## How It Works

The bottom line is that you talk to your AI client using plain English; it handles all the API calls and status tracking behind the scenes.

1. First, connect your API Key and Sub Account ID from the 8x8 Connect dashboard to your AI client.
2. Next, tell your agent what needs to happen—for example, 'Send a welcome SMS code.'
3. The MCP executes the communication flow, returning confirmation details like message IDs or call statuses.

## Frequently Asked Questions

**Can my AI send SMS and track delivery status?**
Yes. Use `send_sms` to deliver a text message, then `get_sms_status` with the returned message ID to check delivery confirmation in real time.

**How does phone verification work through the AI?**
Two steps: first, `send_verification` sends an OTP code to the user's phone. Then, `check_verification` validates the code the user submits. Both operations run through the 8x8 Verify API.

**Can I send messages through WhatsApp and other chat channels?**
Yes. The `send_chat_message` tool supports WhatsApp, Viber, and LINE. Just specify the channel, recipient identifier, and message text.

**How do I check my available credits or sub-accounts using the `get_account_balance` tool?**
The `get_account_balance` tool tells you your current balance and lists how many active sub-accounts you have. It's useful for making sure your AI agent doesn't run out of calling credit mid-workflow.

**If a voice call fails or drops, what does `get_call_status` show me?**
This tool retrieves the status of previous calls, helping you diagnose why they failed. You can see if the issue was connectivity-related, if the recipient didn't answer, or if the call timed out.

**What should I do first to make sure my credentials are valid using `check_8x8_status`?**
You run `check_8x8_status` immediately. This verifies that your API key and sub-account ID connect properly to the 8x8 system, preventing errors before any actual communication attempts.

**How do I see all the departments or teams I manage using `list_sub_accounts`?**
The `list_sub_accounts` tool gives you a clear inventory of every sub-account associated with your main connection. This is critical if your AI needs to perform actions across different internal groups.

**What's the difference between sending an SMS via `send_sms` and making a call using `send_voice_message`?**
SMS sends text messages, keeping communication purely written. Sending a voice message initiates a full, interactive text-to-speech phone call.