Unipile MCP Server
Servidor Unipile MCP
Servidor MCP para utilizar Unipile para acceder a mensajes en múltiples plataformas de mensajería.
Descripción general
Una implementación de servidor del Protocolo de Contexto de Modelo (MCP) que proporciona integración con la plataforma de mensajería Unipile. Este servidor permite que los modelos de IA interactúen con mensajes de diversas plataformas de mensajería (móvil, correo electrónico, WhatsApp, LinkedIn, Slack, Twitter, Telegram, Instagram, Messenger) a través de una interfaz estandarizada.
Para obtener más información sobre el Protocolo de contexto de modelo y cómo funciona, consulte la documentación MCP de Anthropic .
Related MCP server: iMessage Max
Suscripción a Unipile
Para usar los servicios de Unipile, se requiere una suscripción. Unipile no me paga por ello; simplemente soy un usuario que disfruta de Unipile porque funciona de maravilla. Para más detalles sobre la suscripción y las funciones, visite la página de la API de mensajería de Unipile .
Capacidades de comunicación
Con Unipile, puedes comunicarte sin problemas a través de una amplia gama de plataformas sociales. Esto incluye servicios de mensajería populares como:
LinkedIn : interactúe con contactos profesionales, envíe mensajes y administre sus interacciones de LinkedIn directamente a través de la interfaz de Unipile.
WhatsApp : envía y recibe mensajes, administra chats y mantente conectado con tus contactos.
Instagram : interactúa con tus seguidores, responde mensajes directos y administra tus comunicaciones de Instagram.
Messenger : Comunícate con amigos y familiares a través de Facebook Messenger.
Telegram : accede a tus chats y mensajes de Telegram sin esfuerzo.
La integración de Unipile con estas plataformas permite una experiencia de comunicación unificada, lo que facilita la gestión de las interacciones entre diferentes servicios. Esto resulta especialmente beneficioso para los usuarios que utilizan LinkedIn para establecer contactos profesionales, ya que les permite aprovechar las capacidades de IA, como Claude, para optimizar sus estrategias de comunicación.
Componentes
Recursos
El servidor expone los siguientes recursos:
unipile://messages: Un recurso dinámico que proporciona acceso a mensajes de plataformas de mensajería conectadas
Ejemplos de indicaciones
Obtener todos los mensajes de un chat:
Get all messages from chat ID "chat_123"
Herramientas
El servidor ofrece varias herramientas para acceder a los datos de Unipile:
Herramientas de gestión de mensajes
unipile_get_chat_messagesRecuperar todos los mensajes de un chat específico con soporte de paginación
Entrada: chat_id (obligatorio), batch_size (opcional, predeterminado: 100)
Devuelve: Matriz de objetos de mensaje
Configuración
Necesitará un DSN y una clave API de Unipile. Puede obtenerlos desde su panel de Unipile.
Variables de entorno
UNIPILE_DSN: Su DSN de Unipile (por ejemplo, api8.unipile.com:13851)UNIPILE_API_KEY: Su clave API de Unipile
Nota: Mantenga su clave API segura y nunca la envíe al control de versiones.
Instalación de Docker
Puedes crear la imagen localmente o descargarla de Docker Hub. La imagen está diseñada para la plataforma Linux.
Plataformas compatibles
Linux/amd64
Linux/arm64
Linux/arm/v7
Opción 1: Extraer desde Docker Hub
docker pull buryhuang/mcp-unipile:latestOpción 2: Construir localmente
docker build -t mcp-unipile .Ejecute el contenedor:
docker run \
-e UNIPILE_DSN=your_dsn_here \
-e UNIPILE_API_KEY=your_api_key_here \
buryhuang/mcp-unipile:latestPublicación multiplataforma
Para publicar la imagen de Docker en varias plataformas, puede usar el comando docker buildx . Siga estos pasos:
Cree una nueva instancia de constructor (si aún no lo ha hecho):
docker buildx create --useConstruya y envíe la imagen para múltiples plataformas :
docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t buryhuang/mcp-unipile:latest --push .Verifique que la imagen esté disponible para las plataformas especificadas :
docker buildx imagetools inspect buryhuang/mcp-unipile:latest
Uso con Claude Desktop
Uso de Docker
{
"mcpServers": {
"unipile": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"UNIPILE_DSN=your_dsn_here",
"-e",
"UNIPILE_API_KEY=your_api_key_here",
"buryhuang/mcp-unipile:latest"
]
}
}
}Desarrollo
Para configurar el entorno de desarrollo:
pip install -e .Licencia
Este proyecto está licenciado bajo la licencia MIT.
Available Tools
3 toolsunipile_get_accountsA
Get all connected messaging accounts from supported platforms: Mobile, Mail, WhatsApp, LinkedIn, Slack, Twitter, Telegram, Instagram, Messenger. Returns account details including connection parameters, ID, name, creation date, signatures, groups, and sources.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries full burden. It indicates a read operation and lists return fields, but does not mention authentication, rate limits, or how 'all' accounts are determined (e.g., pagination or scope). The behavioral transparency is adequate but incomplete.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence that front-loads the main action and includes a list of platforms and return fields. It is concise but could be slightly more streamlined; however, it is not overly verbose.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given no parameters and no output schema, the description adequately explains what the tool does and what it returns. It does not mention limits or behavior under different conditions, but for a simple read-only list operation, it is fairly complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
There are no parameters (schema coverage 100%), so the baseline is 4. The description adds meaning by explaining the return value in detail, which compensates for the lack of parameter information.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb 'Get' and the resource 'all connected messaging accounts', listing specific platforms. It distinguishes itself from sibling tools like unipile_get_emails and unipile_get_recent_messages by focusing on accounts rather than emails or messages.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description does not explicitly state when to use this tool vs alternatives, but the sibling tools' names imply different resources (emails vs messages vs accounts). The context is clear enough for an agent to infer appropriate usage, though explicit guidance would improve the score.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
unipile_get_emailsA
Get recent emails from a specific account. Returns email details including subject, body, sender, recipients, attachments, and metadata.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of emails to return (default: 10) | |
| account_id | Yes | The ID of the account to get emails from |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations provided, so the description carries full burden. It lists returned fields (subject, body, sender, recipients, attachments, metadata) and mentions 'recent'. This adds value beyond the schema, but does not cover pagination, rate limits, or permissions.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Single sentence with clear verb and resource, front-loaded, no wasted words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple list tool with 2 parameters and no output schema, the description covers purpose and return fields adequately. Could mention pagination or error handling, but not essential.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% (both parameters have descriptions). The description only adds 'recent' and 'specific account' context, which is marginal. Baseline 3 is appropriate since schema already documents parameters.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states 'Get recent emails from a specific account' with a specific verb and resource, and it distinguishes from siblings like unipile_get_accounts and unipile_get_recent_messages.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No explicit guidance on when to use this tool versus alternatives, nor any exclusions or prerequisites. It is implied to use when needing emails from an account, but lacks direct comparison.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
unipile_get_recent_messagesA
Get recent messages from all chats associated with a specific account. Supports messages from: Mobile, Mail, WhatsApp, LinkedIn, Slack, Twitter, Telegram, Instagram, Messenger. Returns message details including text content, sender info, timestamps, attachments, reactions, quoted messages, and metadata.
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | Yes | The one source ID of of the account to get messages from. It is the id of the source objects in the account's sources array. | |
| batch_size | No | Number of messages to fetch per chat (default: 20) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries full burden. It details return fields (text, sender, timestamps, attachments, etc.), but lacks disclosure on side effects, rate limits, idempotency, or reading permissions. The 'get' action implies read-only but is not stated.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences with no superfluous text. First sentence states core action, second enumerates supported platforms and return details. Front-loaded and efficient.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a tool with no output schema, the description explains return details adequately. However, it omits pagination behavior, ordering of messages, and does not mention the default batch size (schema covers it). Minor gap in complete context.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema covers both parameters with descriptions (100% coverage), so baseline is 3. The description adds context about supported platforms but does not elaborate on parameter usage beyond schema. No new semantic value for parameters.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool retrieves recent messages from all chats for a specific account, listing supported platforms. It distinguishes itself from sibling tools (unipile_get_accounts, unipile_get_emails) by focusing on messages across chat platforms.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage for fetching recent messages but does not explicitly specify when to use versus alternatives or provide any exclusions. No guidance on prerequisite actions or when not to use.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
3 tool updates
v1.0.1- First observed
unipile_get_accounts - First observed
unipile_get_emails - First observed
unipile_get_recent_messages
TDQS
Scored across 3 tools
Each tool targets a distinct resource: accounts, emails, and messages. The descriptions clearly separate emails (from a specific account) from recent messages (from all chats), so no ambiguity.
All tool names follow the consistent pattern 'unipile_get_<resource>', using snake_case and the same verb prefix, making them predictable.
With 3 tools, the server is focused on read operations for accounts, emails, and messages. This is appropriate for a read-only interface, though it is slightly minimal.
The server covers basic read operations but lacks common features like searching, filtering, or fetching specific messages by ID. For a messaging platform, missing send/delete is acceptable if intended as read-only, but the surface is still limited.
Maintenance
Related MCP Connectors
Unified inbox MCP for WhatsApp, Telegram, Email, voice — read/send messages, search, AI agents.
Unified messaging MCP server: WhatsApp, Instagram, Telegram, SMS, Messenger & email support inbox
Pass messages between AI agents with cleaning, metadata enrichment, and metered billing.
Instagram, WhatsApp and Messenger DMs through official Meta Business APIs.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables Large Language Models to connect to various real-world applications through a modular framework with pluggable service connectors. Supports messaging platforms like WhatsApp and Telegram with secure authentication and includes a React control panel for testing.-
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to read, search, and send iMessages with features like contact name resolution, session grouping, and attachment listing. It provides intent-aligned tools to efficiently navigate conversation history and manage messages through natural language queries.6MIT
- AlicenseAqualityDmaintenanceConnects AI assistants to the official Meta WhatsApp Cloud API for managing conversations and sending various message types through natural language. It provides tools for media management, template messages, and real-time webhook processing without the risk of account bans.181124MIT

SendAPI MCP Serverofficial
AlicenseAqualityBmaintenanceEnables any MCP-compatible AI agent to send WhatsApp messages, SMS, OTP codes, and email through a single REST API.18MIT