Back to Catalog

bluesky-social-mcp

gwbischof/bluesky-social-mcp
๐Ÿ”— Latest commit:70a6c38
Python
Social Media

A Bluesky MCP

GitHub Metrics
Repository statistics and activity
โญ GitHub Stars:6
๐Ÿ‘ฅ Contributors:1
๐Ÿ“‹ Total Issues:2
๐Ÿ“ฆ Has Releases:No
๐Ÿ”ง Has CI/CD Pipeline:No
Configuration
Configuration example extracted from README.md for Claude Desktop and other clients.
{
  "bluesky-social": {
    "command": "uvx",
    "args": [
      "--from",
      "git+https://github.com/gwbischof/bluesky-social-mcp@v0.1",
      "bluesky-social-mcp"
    ],
    "env": {
      "BLUESKY_IDENTIFIER": "your-handle.bsky.social",
      "BLUESKY_APP_PASSWORD": "your-app-password"
    }
  },
  "bluesky-social-local-clone": {
    "command": "uv",
    "args": [
      "--directory",
      "/ABSOLUTE/PATH/TO/PARENT/FOLDER/bluesky-social-mcp",
      "run",
      "server.py"
    ],
    "env": {
      "BLUESKY_IDENTIFIER": "user-name.bsky.socialโ€ฌ",
      "BLUESKY_APP_PASSWORD": "app-password-here"
    }
  },
  "bluesky-social-mcp": {
    "command": "uv",
    "args": [
      "run",
      "bluesky-social-mcp"
    ],
    "env": {}
  }
}
README.md

Bluesky Social MCP

An MCP server for interacting with the Bluesky social network via the atproto client.

:wave: Leave an issue if you have any problems running this MCP. I should be able to push out fixes pretty quickly.

Quick Start

Get your Bluesky app password at: https://bsky.app/settings/app-passwords

Add the following to your MCP config file (Note that the version is pinned):

{
  "mcpServers": {
    "bluesky-social": {
      "command": "uvx",
      "args": ["--from", "git+https://github.com/gwbischof/bluesky-social-mcp@v0.1", "bluesky-social-mcp"],
      "env": {
        "BLUESKY_IDENTIFIER": "your-handle.bsky.social",
        "BLUESKY_APP_PASSWORD": "your-app-password"
      }
    }
  }
}
  • For security reasons, I think its best to keep it pinned and manually change your config to update the version.

Tool Status

All tools have been implemented and tested โœ…

Authentication & Setup

  • โœ… check_auth_status - Check if the current session is authenticated

Profile Operations

  • โœ… get_profile - Get a user profile (Client method: get_profile)
  • โœ… get_follows - Get users followed by an account (Client method: get_follows)
  • โœ… get_followers - Get users who follow an account (Client method: get_followers)
  • โœ… follow_user - Follow a user (Client method: follow)
  • โœ… unfollow_user - Unfollow a user (Client method: unfollow)
  • โœ… mute_user - Mute a user (Client method: mute)
  • โœ… unmute_user - Unmute a user (Client method: unmute)
  • โœ… resolve_handle - Resolve a handle to DID (Client method: resolve_handle)

Feed Operations

  • โœ… get_timeline - Get posts from your home timeline (Client method: get_timeline)
  • โœ… get_author_feed - Get posts from a specific user (Client method: get_author_feed)
  • โœ… get_post_thread - Get a full conversation thread (Client method: get_post_thread)

Post Interactions

  • โœ… like_post - Like a post (Client method: like)
  • โœ… unlike_post - Unlike a post (Client method: unlike)
  • โœ… get_likes - Get likes for a post (Client method: get_likes)
  • โœ… repost - Repost a post (Client method: repost)
  • โœ… unrepost - Remove a repost (Client method: unrepost)
  • โœ… get_reposted_by - Get users who reposted (Client method: get_reposted_by)

Post Creation & Management

  • โœ… send_post - Create a new text post (Client method: send_post)
  • โœ… send_image - Send a post with a single image (Client method: send_image)
  • โœ… send_images - Send a post with multiple images (Client method: send_images)
  • โœ… send_video - Send a post with a video (Client method: send_video)
  • โœ… delete_post - Delete a post (Client method: delete_post)
  • โœ… get_post - Get a specific post (Client method: get_post)
  • โœ… get_posts - Get multiple posts (Client method: get_posts)

Run from local clone of repo.

{
    "mcpServers": {
        "bluesky-social": {
            "command": "uv",
            "args": [
                "--directory",
                "/ABSOLUTE/PATH/TO/PARENT/FOLDER/bluesky-social-mcp",
                "run",
                "server.py"
            ]
            "env": {
                "BLUESKY_IDENTIFIER": "user-name.bsky.socialโ€ฌ",
                "BLUESKY_APP_PASSWORD": "app-password-here"
            }
        }
    }
}

Dev Setup

  1. Install dependencies:

    uv sync
    
  2. Run the server:

    uv run bluesky-social-mcp
    

Debug with MCP Inspector

mcp dev server.py
mcp dev server.py --with-editable .

Run the tests

  • I run the tests against the actual Bluesky server.
  • The tests will use BLUESKY_IDENTIFIER, and BLUESKY_APP_PASSWORD env vars.
uv run pytest