Skip to main content
Glama

Bluesky MCP Server

by brianellin

Bluesky MCP 服务器

连接到Bluesky并提供与 ATProtocol 交互的工具的模型上下文协议服务器。

您可以使用此 MCP 服务器将来自各种 Bluesky / ATProtocol API 端点的上下文直接导入基于 LLM 的应用程序的上下文窗口。例如,您可以将此服务器添加到 Claude Desktop,然后将其用作自然语言 Bluesky 客户端。

功能和工具

  • 通过自然语言与常见的 Bluesky 功能进行交互(例如“获取 David Roberts 的最新帖子”)
  • 获取并分析信息源(“找到有关西雅图的信息源并告诉我人们在谈论什么”)
  • 获取并分析关注者列表(“马克·库班关注哪些类型的账户?给我一份详细的报告”)
  • 使用法学硕士撰写帖子,然后为您发布😱(“写一首关于我所在地区今天天气的俳句并将其发布到 bluesky”)
  • 搜索提要、帖子和人物(“查找有关#teslatakedown 的帖子并提供最近事件的摘要”)
  • 分析谁关注了你?(“谁在 Bluesky 上关注我?给我一份报告”)

以下是当前提供的工具列表:

  • get-pinned-feeds :返回经过身份验证的用户偏好设置的所有“固定”项目集。
  • get-timeline-posts :返回经过身份验证的用户主页时间线的帖子
  • get-feed-posts :返回指定 feed 中的帖子
  • get-list-posts :返回指定列表中的帖子
  • get-user-posts :返回指定用户的帖子
  • get-profile :返回指定用户的个人资料详细信息
  • get-follows :返回帐户关注的用户集
  • get-followers :返回关注某个帐户的用户集合
  • get-liked-posts :返回经过身份验证的用户最近喜欢的帖子
  • get-trends :返回 Bluesky 上当前的热门话题和帖子数量
  • get-post-thread :返回特定帖子的完整对话线程,显示所有回复和上下文
  • convert-url-to-uri :将 Bluesky Web URL 转换为可与其他工具一起使用的 AT URI 格式
  • search-posts :返回给定查询的帖子。可以指定最热门或最新的
  • search-people :返回给定搜索查询的人员
  • search-feeds :返回给定查询的 feed
  • like-post :点赞具有特定 URI 的帖子
  • create-post :发布帖子
  • follow-user :关注特定用户

尖端:

  • 您可以按时间范围从搜索、时间线、列表、动态或个人资料中请求帖子。例如:“总结我时间线过去三天的帖子”或“找出本周大家讨论最有趣的文章”。
  • 变得奇怪:“在过去 24 小时内,你在我的时间线上看到的最有趣/最疯狂/最奇怪/最愚蠢的帖子是什么?”
  • 了解你自己:“分析一下我点赞的帖子,看看我的兴趣是什么。告诉我你发现的3个有趣的事实,以及它们与我在bluesky上的性格有什么关联。”或者“谁在bluesky上关注我?给我一份全面的报告。”

安装

通过 Smithery 安装

要通过Smithery自动为 Claude Desktop 安装 Bluesky MCP 服务器:

npx -y @smithery/cli install @brianellin/bsky-mcp-server --client claude

手动安装

首先克隆此 repo,然后安装依赖项并构建服务器:

# Install dependencies pnpm install # Build the project pnpm run build

使用 MCP Inspector 进行测试

你可以通过强大的MCP Inspector直接测试 Bluesky 工具,无需连接到 LLM。首先确保你已经搭建好了服务器,然后运行:

npx @modelcontextprotocol/inspector node build/src/index.js

导航到终端提供的本地 URL,然后在左侧面板中设置 BLUESKY_IDENTIFIER、BLUESKY_APP_PASSWORD 和 BLUESKY_SERVICE_URL 环境变量。尝试使用 get-timeline 工具查看主页时间线上的最新帖子。

MCP 客户端配置

按照以下步骤使用您选择的客户端设置 MCP。例如,要设置 Claude 桌面版连接到 Bluesky,请在 claude_desktop_config.json 文件的 bluesky 部分添加以下内容:

{ "mcpServers": { "bluesky": { "command": "node", "args": ["/path/to/bsky-mcp-server/build/src/index.js"], "env": { "BLUESKY_IDENTIFIER": "your-bluesky-handle", "BLUESKY_APP_PASSWORD": "your-app-password", "BLUESKY_SERVICE_URL": "https://bsky.social" } } } }

有关在 Claude 桌面版中运行 MCP 服务器的更多详细信息,请参阅https://modelcontextprotocol.io/quickstart/user

创建应用程序密码

要使用此 MCP 服务器,您需要为您的 Bluesky 帐户创建一个应用密码:

  1. 登录 Bluesky
  2. 前往“设置”>“应用密码”
  3. 专门为此集成创建新的应用密码
  4. 使用 BLUESKY_APP_PASSWORD 环境变量设置应用程序密码

安全说明

  • 该服务器仅将您的会话信息存储在内存中,并不与 MCP 客户端共享。
  • MCP 客户端只能访问工具,而不能访问您的身份验证或应用程序密码

执照

麻省理工学院

Install Server
A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

模型上下文协议服务器使 AI 助手能够与 Bluesky/ATProtocol 交互,提供身份验证、时间线访问、帖子创建以及喜欢和关注等社交功能。

  1. 功能和工具
    1. 安装
      1. 通过 Smithery 安装
      2. 手动安装
      3. 使用 MCP Inspector 进行测试
    2. MCP 客户端配置
      1. 创建应用程序密码
        1. 安全说明
          1. 执照

            Related MCP Servers

            • -
              security
              F
              license
              -
              quality
              A versatile Model Context Protocol server that enables AI assistants to manage calendars, track tasks, handle emails, search the web, and control smart home devices.
              Last updated -
              13
              Python
              • Apple
              • Linux
            • A
              security
              A
              license
              A
              quality
              A Model Context Protocol server that enables AI assistants to interact with Confluence content, supporting operations like retrieving, searching, creating, and updating pages and spaces.
              Last updated -
              9
              8
              TypeScript
              MIT License
            • -
              security
              F
              license
              -
              quality
              A comprehensive Model Context Protocol server implementation that enables AI assistants to interact with file systems, databases, GitHub repositories, web resources, and system tools while maintaining security and control.
              Last updated -
              6
              1
              TypeScript
            • -
              security
              F
              license
              -
              quality
              A Model Context Protocol server that enables AI assistants to interact with Twitter functionality using cookie-based authentication, allowing for timeline access, tweet management, user information retrieval, and search capabilities.
              Last updated -
              7
              Python

            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/brianellin/bsky-mcp-server'

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