A WhatsApp marketing and messaging tool MCP (Model Control Protocol) service using Titanmind. Handles free-form messages (24hr window) and template workflows automatically
This service provides all the WhatsApp marketing and messaging functionalities using Titanmind. Includes features like template creation and registration with all components header, body, CTAs.., template broadcast to phone numbers in bulk. Read and send messages in a active conversation.
This MCP utilizes Titanmind. Account on Titanmind is a dependency to use this MCP.
Get Recent Conversations
Get Conversation Messages
Send WhatsApp Message
Create Message Template
-
Register new WhatsApp message templates for approval
-
Configure template name (single word, underscores allowed only)
-
Set language (default: "en") and category (MARKETING, UTILITY, AUTHENTICATION)
-
Structure message components including:
-
BODY (required): Main text content
-
HEADER (optional): TEXT, VIDEO, IMAGE, or DOCUMENT format
-
FOOTER (optional): Footer text
-
BUTTONS (optional): QUICK_REPLY, URL, or PHONE_NUMBER actions
Get Templates
Send Bulk Messages
-
Send messages to multiple phone numbers using approved templates
-
Requires: template_id and list of contacts
-
Contact format: country code alpha (e.g., "IN"), country code (e.g., "91"), and phone number
pip install titan-mind-whatsapp-mcp
Or use uv:
uv pip install titan-mind-whatsapp-mcp
- Clone the repository:
git clone https://github.com/TitanmindAGI/titan-mind-whatsapp-mcp
cd titan-mind-whatsapp-mcp
2. Install dependencies:
pip install -e .
# Or
uv pip install -e .
3. Set the auth keys
export api-key="your-titanmind-api-key"
export bus-code="your-titanmind-business-code"
In any MCP Client like Claude or Cursor, Titanmind whatsapp MCP config can be added following ways:
Remote Titanmind MCP server config
{
"mcpServers": {
"TitanMindMCP": {
"command": "npx",
"args": [
"mcp-remote",
"http://mcp.titanmind.so/mcp/",
"--header",
"api-key:XXXXXXXXXXXXXXXXXXXXXXX",
"--header",
"bus-code:XXXXXX"
]
}
}
}
{
"mcpServers": {
"TitanMindMCP": {
"type": "stdio",
"command": "uv",
"args": [
"run",
"--directory",
"/path/titan-mind-mcp",
"python",
"main.py"
],
"env": {
"api-key": "XXXXXXXXXXXXXXXXXXXX",
"bus-code": "XXXXXX"
}
}
}
}
Python package Titanmind MCP
at https://pypi.org/project/titan-mind-whatsapp-mcp/0.1.0/
For development:
git clone https://github.com/TitanmindAGI/titan-mind-whatsapp-mcp
cd titan-mind-whatsapp-mcp
uv sync
TitanMind's WhatsApp messaging system operates under two distinct messaging modes based on timing and conversation status:
Free-Form Messaging (24-Hour Window)
-
When Available: Only after a user has sent a message within the last 24 hours
-
Content Freedom: Any content is allowed without pre-approval
-
Use Case: Ongoing conversations and immediate responses
Template Messaging (Outside 24-Hour Window)
-
When Required: For new conversations or when the 24-hour window has expired
-
Content Structure: Pre-approved, structured message templates only
-
Use Case: Initial outreach and re-engagement campaigns
Messaging Workflow Process
-
Check Messaging Window Status
-
Choose Messaging Method
-
Template Approval Process (if needed)
-
Submit template for WhatsApp approval
-
Wait for approval confirmation
-
Template becomes available for bulk messaging
-
Send Message
-
Verify Delivery
-
All tools integrate with Titanmind's WhatsApp channel messaging functionality
-
Templates require approval before they can be used for bulk messaging
-
For more help contact us through https://www.titanmind.so/
MIT License - See LICENSE file
Комментарии
Комментариев пока нет. Будьте первым.