Unipile MCP 服务器
MCP 服务器用于使用 Unipile 跨多个消息平台访问消息。
概述
模型上下文协议 (MCP) 服务器实现,提供与 Unipile 消息平台的集成。该服务器使 AI 模型能够通过标准化接口与来自各种消息平台(移动端、邮件、WhatsApp、LinkedIn、Slack、Twitter、Telegram、Instagram、Messenger)的消息进行交互。
有关模型上下文协议及其工作原理的更多信息,请参阅Anthropic 的 MCP 文档。
Unipile 订阅
要使用 Unipile 服务,需要订阅。Unipile 并未向我支付任何费用;我只是一个喜欢使用 Unipile 的用户,因为它运行高效。有关订阅和功能的更多详情,请访问Unipile 消息传递 API 页面。
通信能力
使用 Unipile,您可以在各种社交平台上无缝沟通。其中包括以下热门消息服务:
- LinkedIn :通过 Unipile 界面直接与专业联系人联系、发送消息并管理您的 LinkedIn 互动。
- WhatsApp :发送和接收消息、管理聊天并与您的联系人保持联系。
- Instagram :与关注者互动、回复直接消息以及管理您的 Instagram 通信。
- Messenger :通过 Facebook Messenger 与朋友和家人交流。
- Telegram :轻松访问您的 Telegram 聊天和消息。
Unipile 与这些平台的集成实现了统一的沟通体验,使跨不同服务之间的互动管理更加便捷。这对于依赖 LinkedIn 进行职业社交的用户尤其有益,因为他们可以利用 Claude 等人工智能功能来增强沟通策略。
成分
资源
服务器公开以下资源:
unipile://messages
:提供对来自连接的消息平台的消息的访问的动态资源
示例提示
- 获取聊天中的所有消息:
工具
该服务器提供了几种访问 Unipile 数据的工具:
消息管理工具
unipile_get_chat_messages
- 检索特定聊天中的所有消息,并支持分页
- 输入:chat_id(必填)、batch_size(可选,默认值:100)
- 返回:消息对象数组
设置
您需要 Unipile DSN 和 API 密钥。您可以从 Unipile 控制面板获取这些信息。
环境变量
UNIPILE_DSN
:您的 Unipile DSN(例如 api8.unipile.com:13851)UNIPILE_API_KEY
:您的 Unipile API 密钥
注意:请确保您的 API 密钥安全,切勿将其提交到版本控制中。
Docker 安装
您可以在本地构建镜像,也可以从 Docker Hub 拉取。该镜像是为 Linux 平台构建的。
支持的平台
- Linux/amd64
- Linux/arm64
- Linux/arm/v7
选项 1:从 Docker Hub 拉取
选项 2:本地构建
运行容器:
跨平台发布
要为多个平台发布 Docker 镜像,可以使用docker buildx
命令。请按以下步骤操作:
- 创建一个新的构建器实例(如果还没有):
- 为多个平台构建并推送图像:
- 验证该图像是否适用于指定的平台:
与 Claude Desktop 一起使用
Docker 使用
发展
设置开发环境:
执照
该项目已获得 MIT 许可。
You must be authenticated.
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
使 AI 模型能够通过标准化界面与来自各种消息平台(移动、邮件、WhatsApp、LinkedIn、Slack、Twitter、Telegram、Instagram、Messenger)的消息进行交互。
Related Resources
Related MCP Servers
- -securityAlicense-qualityA Model Context Protocol server that enables AI assistants to interact with Telegram, allowing them to search channels, list available channels, retrieve messages, and filter messages by regex patterns.Last updated -713JavaScriptMIT License
- -securityFlicense-qualityEnables AI assistants to read and send Instagram direct messages using the Model-Consumer Protocol with instagrapi.Last updated -4743JavaScript
YaVendió Toolsofficial
-security-license-qualityAn MCP-based messaging system that allows AI systems to interact with various messaging platforms through standardized tools for sending text, images, documents, buttons, and alerts.Last updated -Python- AsecurityAlicenseAqualityA server implementing Model Context Protocol that enables AI assistants to interact with Slack API through a standardized interface, providing tools for messaging, channel management, user information retrieval, and more.Last updated -927JavaScriptApache 2.0