Integrate with AI (MCP)
Hello runs a Model Context Protocol (MCP) server in front of the Integration API. Connect an AI assistant to it and the assistant can list your numbers, send WhatsApp messages, check delivery and manage templates for you. You ask in plain language, and it calls the API.
It also helps when you write an integration: the assistant can read the exact request formats from the server and test calls against your real account while it writes your code.
How it works
Section titled “How it works”- You ask your assistant, for example: “Send the
order_updatetemplate to +91 98xxxxxx10.” - The assistant picks a Hello tool, such as
list_templatesand thensend_message. - Each tool call runs as the matching
/v1request, with your API key. The same validation, plan limits and billing apply, and the call appears in that key’s request log on the Integrations page. - The assistant reads the result (for example the message
hello_id) and answers you.
What you need
Section titled “What you need”- An API key (
hello_live_…) from Integrations in the Hello dashboard. See Authentication. - The MCP server URL: your API base URL followed by
/mcp. Integrations shows it ready to copy, under Connect an AI agent (MCP).
The server uses the Streamable HTTP transport and authenticates with the API key as a Bearer
token, exactly like the REST API. The examples below use $HELLO_API_URL/mcp for the URL:
replace it with your own.
1. Add the MCP server to your assistant
Section titled “1. Add the MCP server to your assistant”Run this once. Add --scope project to share the server with your team through
.mcp.json (without the key):
claude mcp add --transport http hello "$HELLO_API_URL/mcp" \ --header "Authorization: Bearer $HELLO_API_KEY"Check it with claude mcp list, or /mcp inside a session.
Add the server to .cursor/mcp.json in your project, or to ~/.cursor/mcp.json for every
project. Cursor reads HELLO_API_KEY from your environment:
{ "mcpServers": { "hello": { "url": "https://<your API base URL>/mcp", "headers": { "Authorization": "Bearer ${env:HELLO_API_KEY}" } } }}Add the server to .vscode/mcp.json in your project. VS Code asks for the key the first time
and stores it securely:
{ "inputs": [ { "type": "promptString", "id": "hello-api-key", "description": "Hello API key", "password": true } ], "servers": { "hello": { "type": "http", "url": "https://<your API base URL>/mcp", "headers": { "Authorization": "Bearer ${input:hello-api-key}" } } }}Add the server to ~/.codeium/windsurf/mcp_config.json. Windsurf uses serverUrl instead of
url:
{ "mcpServers": { "hello": { "serverUrl": "https://<your API base URL>/mcp", "headers": { "Authorization": "Bearer ${env:HELLO_API_KEY}" } } }}Add the server to ~/.codex/config.toml. Codex sends the key from the HELLO_API_KEY
environment variable as the Bearer token:
[mcp_servers.hello]url = "https://<your API base URL>/mcp"bearer_token_env_var = "HELLO_API_KEY"Custom connectors can’t send an Authorization header, so put the key in the URL with the
Authentication query parameter. In Settings → Connectors, choose Add custom
connector and enter:
https://<your API base URL>/mcp?Authentication=hello_live_xxxxxxxxxxxxxxxxThen reload or restart the assistant. It should list the Hello WhatsApp server and its
tools. Ask it to “ping Hello” to check the key: the ping tool answers {"status": "ok"}.
2. Ask the assistant
Section titled “2. Ask the assistant”A few prompts to start with:
- “List my WhatsApp numbers and the approved templates on each.”
- “Send the
appointment_remindertemplate inento +91 98xxxxxx10, with Asha as the name and 4 pm as the time. Then tell me whether it was delivered.” - “Create a UTILITY template called
order_shippedwith a body that has the customer’s name and a tracking link button, and submit it for review.” - “Write a Node.js function that sends a WhatsApp text message through Hello, and test it on my number +91 98xxxxxx10.”
Available tools
Section titled “Available tools”Every tool mirrors one /v1 route, so the API reference describes
what each one does.
| Tool | What it does | API route |
|---|---|---|
ping |
Checks that the API key works | GET /v1/ping |
list_phone_numbers |
Lists your numbers with their phone_number_id and WABA ID |
GET /v1/phone_numbers |
send_message |
Sends any message type, or marks a message as read | POST /v1/{phone_number_id}/messages |
get_message_status |
Follows a sent message: queued, sent, delivered, read or failed | GET /v1/messages/{id} |
upload_media |
Uploads a file and returns a media id to send |
Upload media |
list_templates, get_template |
Reads templates and their variables | List templates, Get template |
create_template, create_templates_bulk, edit_template |
Creates and edits templates for Meta review | Create, Bulk, Edit |
sync_templates |
Re-reads templates from Meta | Sync templates |
delete_template, delete_templates_by_name |
Deletes one language, or every language, of a template | Delete template |
get_webhook_override, set_webhook_override, reapply_webhook_override, remove_webhook_override |
Manages a number’s direct webhook | Direct webhook |
get_guide |
Gives the assistant usage notes: message formats, templates, errors, direct webhook | — |
Tips for better results
Section titled “Tips for better results”- Name the number. If you have more than one, say which one to send from, or ask the assistant to list them first.
- Name the template and language. Templates are per WhatsApp Business Account, and each language is approved separately.
- Ask it to check delivery. Sends are queued: the assistant should follow up with
get_message_status, not assume the message arrived. - Name your stack when it writes code (for example “Python with
requests”), and ask it to read the request format withget_guidebefore it writes the request.
Troubleshooting
Section titled “Troubleshooting”| What you see | What to do |
|---|---|
401 UNAUTHORIZED |
The key is missing, wrong, deleted or disabled. Check the header or query parameter, or create a new key. |
| The assistant shows no Hello tools | Check that the URL ends in /mcp, then restart the assistant. Some clients only load servers at startup. |
403 OUTSIDE_24H_WINDOW or error 131047 |
Free-form messages need an open 24-hour window. Send a template instead. |
| A call is refused because of your plan | The tool runs with your plan’s limits, as the REST API does. See Errors. |