Titanmind WhatsApp MCP
A WhatsApp marketing and messaging service that handles both free-form messages (within 24-hour window) and template workflows for bulk messaging, supporting conversation management and template creation/registration.
README
Titanmind WhatsApp MCP
A WhatsApp marketing and messaging tool MCP (Model Control Protocol) service using Titanmind. Handles free-form messages (24hr window) and template workflows automatically
Overview
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. Titanmind Account is a requirement to use this MCP.
Features
Conversation Management
Get Recent Conversations
-
Retrieve all conversations with messages sent or received in the last 24 hours
-
Returns conversation data with recent activity
Get Conversation Messages
-
Fetch all messages from a specific conversation
-
Requires:
conversation_id(alphanumeric conversation identifier)
Send WhatsApp Message
-
Send a message to an existing WhatsApp conversation
-
Requires:
conversation_idandmessagecontent
Template Management
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
-
Retrieve all created templates with approval status
-
Optional filtering by template name
Send Bulk Messages
-
Send messages to multiple phone numbers using approved templates
-
Requires:
template_idand list of contacts -
Contact format: country code alpha (e.g., "IN"), country code (e.g., "91"), and phone number
Installation
Prerequisites
-
Python 3.10 or higher
-
API Key and Business Code from Titanmind
Install from PyPI
pip install titan-mind-whatsapp-mcp
Or use uv:
uv pip install titan-mind-whatsapp-mcp
Manual Installation
- 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"
Usage
Run the service
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"
]
}
}
}
Local MCP project config
{
"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/
Development
For development:
git clone https://github.com/TitanmindAGI/titan-mind-whatsapp-mcp
cd titan-mind-whatsapp-mcp
uv sync
How it Works
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
-
Verify if receiver's phone number is within the free-form messaging window
-
A receiver is eligible for free-form messaging if:
-
A conversation with their phone number already exists AND
-
The receiver has sent a message within the last 24 hours
-
-
-
Choose Messaging Method
-
Free-Form: Send directly if within 24-hour window
-
Template: Register and use approved template if outside window
-
-
Template Approval Process (if needed)
-
Submit template for WhatsApp approval
-
Wait for approval confirmation
-
Template becomes available for bulk messaging
-
-
Send Message
-
Execute message delivery using appropriate method
-
Monitor delivery status
-
-
Verify Delivery
-
Check conversation to confirm receiver successfully received the message
-
Track message status and engagement
-
Usage Notes
-
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/
License
MIT License - See LICENSE file
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。