LB

laulauland/bluesky-context-server

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

35 stars 10 forks Качество 66 Тренд 0MIT

laulauland/bluesky-context-server - кандидат на сервер MCP, импортированный из https://github.com/laulauland/bluesky-context-server.

Обзор

laulauland/bluesky-context-server - кандидат на сервер MCP, импортированный из https://github.com/laulauland/bluesky-context-server.

Обзор (машинный перевод)

Сервер Model Context Protocol (MCP), который позволяет клиентам MCP, таким как Claude Desktop, взаимодействовать с Bluesky. Запросите свой профиль, поисковые сообщения, получите свою временную шкалу и более непосредственно у своего помощника по ИИ.

Предпосылки

Runtime: Bun или Node.js v22.6.0+

  • Счет Блюски.

Настройка

###1 Получите свои синие документы

Вам понадобится две части информации из вашего аккаунта:

####Идентификатор Это ваш синий ручка (имя пользователя). Он может быть в любом формате:

  • [[Т0]] (например, [[Т1]])
  • [[Т2]] (например, [[Т3]])

Голубой APP KEY

Это пароль приложения, который отличается от обычного пароля Bluesky. Чтобы создать один:

1.Перейти в Bluesky Settings 2. Навигация на «Конфиденциальность и безопасность» → «Пароли приложений» 3. Нажмите «Добавить пароль приложения» 4. дать ему имя (например, “MCP Server”) 5. скопировать сгенерированный пароль (он выглядит как xxxx-xxxx-xxxx-xxxx)

Важно: Используйте пароль приложения, а не обычный пароль учетной записи!

###2 Установка

Вариант А: Установка через Smithery (рекомендуется)

Установить Bluesky Context Server для Claude Desktop автоматически через Smithery

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

README

Показан фрагмент оригинального README. Открыть оригинал.

Bluesky Context Server

A Model Context Protocol (MCP) server that enables MCP clients like Claude Desktop to interact with Bluesky. Query your profile, search posts, get your timeline, and more directly from your AI assistant.

Prerequisites

  • Runtime: Either Bun or Node.js v22.6.0+
  • A Bluesky account

Setup

1. Get Your Bluesky Credentials

You’ll need two pieces of information from your Bluesky account:

BLUESKY_IDENTIFIER

This is your Bluesky handle (username). It can be in either format:

  • username.bsky.social (e.g., alice.bsky.social)
  • @username.bsky.social (e.g., @alice.bsky.social)

BLUESKY_APP_KEY

This is an App Password, which is different from your regular Bluesky password. To create one:

  1. Go to Bluesky Settings
  2. Navigate to “Privacy and Security” → “App Passwords”
  3. Click “Add App Password”
  4. Give it a name (e.g., “MCP Server”)
  5. Copy the generated password (it looks like xxxx-xxxx-xxxx-xxxx)

⚠️ Important: Use the App Password, not your regular account password!

2. Installation

To install Bluesky Context Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @laulauland/bluesky-context-server --client claude

Then add your credentials to the generated configuration.

Option B: Manual Installation

  1. Clone or download this repository
  2. Configure your Claude Desktop app to use the MCP server:

Using Bun:

// ~/Library/Application Support/Claude/config.json (macOS)
// %APPDATA%/Claude/config.json (Windows)
{
	"mcpServers": {
		"bluesky": {
			"command": "/Users/your-username/.bun/bin/bun",
			"args": [
				"/path/to/bluesky-context-server/packages/server/bin/index.ts"
			],
			"env": {
				"BLUESKY_APP_KEY": "your-app-password-here",
				"BLUESKY_IDENTIFIER": "your-handle.bsky.social"
			}
		}
	}
}

Using Node.js:

// ~/Library/Application Support/Claude/config.json (macOS)
// %APPDATA%/Claude/config.json (Windows)
{
	"mcpServers": {
		"bluesky": {
			"command": "node",
			"args": [
				"--experimental-strip-types",
				"/path/to/bluesky-context-server/packages/server/bin/index.ts"
			],
			"env": {
				"BLUESKY_APP_KEY": "your-app-password-here",
				"BLUESKY_IDENTIFIER": "your-handle.bsky.social"
			}
		}
	}
}
  1. Restart Claude Desktop

3. Testing the Connection

After setup, you can test the connection by asking Claude something like:

  • “Can you get my Bluesky profile?”
  • “Show me my recent posts on Bluesky”
  • “Search for posts about AI on Bluesky”

Available MCP Tools

This server provides the following tools that Claude can use:

Profile & Account Tools

bluesky_get_profile

Открыть полный README на GitHub

Установка

npx -y @smithery/cli install @laulauland/bluesky-context-server --client claude
Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

// ~/Library/Application Support/Claude/config.json (macOS) // %APPDATA%/Claude/config.json (Windows) { "mcpServers": { "bluesky": { "command": "/Users/your-username/.bun/bin/bun", "args": [ "/path/to/bluesky-context-server/packages/server/bin/index.ts" ], "env": { "BLUESKY_APP_KEY": "your-app-password-here", "BLUESKY_IDENTIFIER": "your-handle.bsky.social" } } } }