BlueSky MCP Server
BlueSky MCP サーバー
BlueSkyソーシャルネットワークデータへのアクセスを公式APIを通じて提供するモデルコンテキストプロトコル(MCP)サーバー。ユーザープロファイルとソーシャルグラフ情報を取得するための標準化されたインターフェースを実装しています。
特徴
詳細なユーザープロフィール情報を取得する
ページ区切りでユーザーのフォローリストを取得する
組み込みの認証処理とセッション管理
包括的なエラー処理
Related MCP server: ETHID MCP Server
インストール
クロードデスクトップ
MacOSの場合:
~/Library/Application\ Support/Claude/claude_desktop_config.jsonWindows の場合:
%APPDATA%/Claude/claude_desktop_config.json
"mcpServers": {
"bluesky-mcp": {
"command": "uv",
"args": [
"--directory",
"C:\\Users\\{INSERT_USER}\\YOUR\\PATH\\TO\\bluesky-mcp\\bluesky-mcp",
"run",
"src/bluesky_mcp/server.py"
],
"env": {
"BLUESKY_IDENTIFIER": "your.handle.bsky.social",
"BLUESKY_APP_PASSWORD": "your-app-password"
}
}
}ローカルで実行
ライブラリをインストールする
uv pip install -e .ランニング
json ファイル経由で Claude クライアントを MCP ツールに接続し、パッケージをインストールすると、Claude はサーバーの mcp ツールを確認できるようになります。
以下のコマンドでサーバーを自分で実行できます: bluesky_mcp リポジトリ内:
uv run src/bluesky_mcp/server.py*サーバーと一緒にサーバーインスペクターを実行する場合:
npx @modelcontextprotocol/inspector uv --directory C:\\Users\\{INSERT_USER}\\YOUR\\PATH\\TO\\bluesky-mcp run src/bluesky_mcp/server.py利用可能なツール
サーバーは次の 2 つのツールを実装します。
get-profile: BlueSky ユーザーの詳細なプロフィール情報を取得するget-follows: 指定されたユーザーがフォローしているアカウントのリストを取得する
プロファイル取得
指定された BlueSky ユーザーの詳細なプロフィール情報を取得します。
入力スキーマ:
{
"handle": {
"type": "string",
"description": "The user's handle (e.g., 'alice.bsky.social')"
}
}応答例:
Profile information for alice.bsky.social:
Handle: alice.bsky.social
Display Name: Alice
Description: Just a BlueSky user sharing thoughts
Followers: 1234
Following: 567
Posts: 789フォローを獲得する
ページ区切りをサポートし、指定されたユーザーがフォローしているアカウントのリストを取得します。
入力スキーマ:
{
"actor": {
"type": "string",
"description": "The user's handle (e.g., 'alice.bsky.social')"
},
"limit": {
"type": "integer",
"description": "Maximum number of results to return",
"default": 50,
"minimum": 1,
"maximum": 100
},
"cursor": {
"type": "string",
"description": "Pagination cursor",
"optional": true
}
}応答例:
Follows for alice.bsky.social:
Follows:
Handle: bob.bsky.social
Display Name: Bob
---
Handle: carol.bsky.social
Display Name: Carol
---
Handle: dave.bsky.social
Display Name: Dave
---
More results available. Use cursor: bafygeia...エラー処理
サーバーには、さまざまなシナリオに対応する包括的なエラー処理機能が含まれています。
認証失敗
レート制限
ネットワーク接続の問題
無効なパラメータ
タイムアウト処理
不正な応答
エラー メッセージは、明確で人間が読める形式で返されます。
前提条件
Python 3.12以上
httpx
マクピー
認証
この MCP サーバーを使用するには、次のことが必要です。
BlueSkyアカウントをお持ちでない場合は作成してください
BlueSkyアカウント設定でアプリパスワードを生成する
次の環境変数を設定します。
BLUESKY_IDENTIFIER: BlueSky ハンドル (例: "username.bsky.social")BLUESKY_APP_PASSWORD: 生成されたアプリパスワード
貢献
貢献を歓迎します!お気軽にプルリクエストを送信してください。
ライセンス
このMCPサーバーはMITライセンスに基づいてライセンスされています。つまり、MITライセンスの条件に従って、ソフトウェアを自由に使用、改変、配布することができます。詳細については、プロジェクトリポジトリのLICENSEファイルをご覧ください。
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseBqualityDmaintenanceEnables users to interact with X (Twitter) through the X API. Supports posting tweets, retrieving user timelines, searching tweets, and replying to tweets with comprehensive error handling.316
- AlicenseNot gradedqualityFmaintenanceProvides comprehensive access to the Ethereum Follow Protocol (EFP) API, enabling social graph queries, follower/following management, ENS resolution, and profile data retrieval for Ethereum addresses and ENS names.3MIT
- AlicenseBqualityDmaintenanceAn MCP server that enables users to interact with the Bluesky social network through comprehensive read and write API tools, including session management and timeline navigation. It also features a Jetstream-powered local SQLite database for indexing and searching Japanese posts.362MIT
- AlicenseAqualityAmaintenanceEnables LLMs to interact with the AT Protocol ecosystem, including Bluesky, through natural language. Supports public data access without authentication and full write operations with authentication.51518MIT
Related MCP Connectors
Bluesky MCP — wraps the AT Protocol API
X (Twitter) profiles, tweets and single-tweet lookup by handle or URL. No login. Pay per result.
Public Instagram profiles and post feeds by handle, with hashtags and mentions parsed.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/berlinbra/BlueSky-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server