Skip to main content
Glama

Unipile MCP Server

by honeybluesky

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 :提供对来自连接的消息平台的消息的访问的动态资源

示例提示

  • 获取聊天中的所有消息:
    Get all messages from chat ID "chat_123"

工具

该服务器提供了几种访问 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 拉取
docker pull buryhuang/mcp-unipile:latest
选项 2:本地构建
docker build -t mcp-unipile .

运行容器:

docker run \ -e UNIPILE_DSN=your_dsn_here \ -e UNIPILE_API_KEY=your_api_key_here \ buryhuang/mcp-unipile:latest

跨平台发布

要为多个平台发布 Docker 镜像,可以使用docker buildx命令。请按以下步骤操作:

  1. 创建一个新的构建器实例(如果还没有):
    docker buildx create --use
  2. 为多个平台构建并推送图像
    docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t buryhuang/mcp-unipile:latest --push .
  3. 验证该图像是否适用于指定的平台
    docker buildx imagetools inspect buryhuang/mcp-unipile:latest

与 Claude Desktop 一起使用

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" ] } } }

发展

设置开发环境:

pip install -e .

执照

该项目已获得 MIT 许可。

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

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)的消息进行交互。

  1. 概述
    1. Unipile 订阅
      1. 通信能力
        1. 成分
          1. 资源
          2. 示例提示
          3. 工具
        2. 设置
          1. 环境变量
          2. Docker 安装
        3. 跨平台发布
          1. 与 Claude Desktop 一起使用
            1. Docker 使用
          2. 发展
            1. 执照

              Related MCP Servers

              • -
                security
                A
                license
                -
                quality
                A 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 -
                7
                13
                JavaScript
                MIT License
                • Apple
              • -
                security
                F
                license
                -
                quality
                Enables AI assistants to read and send Instagram direct messages using the Model-Consumer Protocol with instagrapi.
                Last updated -
                474
                3
                JavaScript
              • -
                security
                -
                license
                -
                quality
                An 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
              • A
                security
                A
                license
                A
                quality
                A 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 -
                9
                27
                JavaScript
                Apache 2.0

              View all related MCP servers

              MCP directory API

              We provide all the information about MCP servers via our MCP API.

              curl -X GET 'https://glama.ai/api/mcp/v1/servers/honeybluesky/mcp-unipile'

              If you have feedback or need assistance with the MCP directory API, please join our Discord server