Skip to main content
Glama
Bluesky Social MCP

Bluesky Social MCP

by gwbischof

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.

Related MCP server: TDC MCP Server

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

Available Tools

25 tools
check_auth_statusA

Check if the current session is authenticated.

Authentication happens automatically using environment variables:
- BLUESKY_IDENTIFIER: Required - your Bluesky handle
- BLUESKY_APP_PASSWORD: Required - your app password
- BLUESKY_SERVICE_URL: Optional - defaults to https://bsky.social

Returns:
    Authentication status

Inputs: no named parameters.

delete_postA

Delete a post created by the authenticated user.

Args:
    ctx: MCP context
    uri: URI of the post to delete

Returns:
    Status of the delete operation

Inputs: uri (required).

follow_userC

Follow a user.

Args:
    ctx: MCP context
    handle: Handle of the user to follow

Returns:
    Status of the follow operation

Inputs: handle (required).

get_author_feedC

Get posts from a specific user.

Args:
    ctx: MCP context
    actor: Handle or DID of the user
    cursor: Optional pagination cursor
    filter: Optional filter for post types
    limit: Maximum number of results to return
    include_pins: Whether to include pinned posts

Returns:
    Feed with posts from the specified user

Inputs: actor (required), cursor, filter, limit, +1 more.

get_followersC

Get users who follow an account.

Args:
    ctx: MCP context
    handle: Optional handle to get followers for. If None, gets the authenticated user
    limit: Maximum number of results to return (1-100)
    cursor: Optional pagination cursor

Returns:
    List of follower accounts

Inputs: handle, limit, cursor.

get_followsB

Get users followed by an account.

Args:
    ctx: MCP context
    handle: Optional handle to get follows for. If None, gets the authenticated user
    limit: Maximum number of results to return (1-100)
    cursor: Optional pagination cursor

Returns:
    List of followed accounts

Inputs: handle, limit, cursor.

get_likesB

Get likes for a post.

Args:
    ctx: MCP context
    uri: URI of the post to get likes for
    cid: Optional CID of the post (not strictly required)
    limit: Maximum number of results to return (1-100)
    cursor: Optional pagination cursor

Returns:
    List of likes for the post

Inputs: uri (required), cid, limit, cursor.

get_postC

Get a specific post.

Args:
    ctx: MCP context
    post_rkey: The record key of the post
    profile_identify: Handle or DID of the post author
    cid: Optional CID of the post

Returns:
    The requested post

Inputs: post_rkey (required), profile_identify, cid.

get_postsC

Get multiple posts by their URIs.

Args:
    ctx: MCP context
    uris: List of post URIs to retrieve

Returns:
    List of requested posts

Inputs: uris (required).

get_post_threadC

Get a full conversation thread.

Args:
    ctx: MCP context
    uri: URI of the post to get thread for
    depth: How many levels of replies to include
    parent_height: How many parent posts to include

Returns:
    Thread with the post and its replies/parents

Inputs: uri (required), depth, parent_height.

get_profileB

Get a user profile.

Args:
    ctx: MCP context
    handle: Optional handle to get profile for. If None, gets the authenticated user

Returns:
    Profile data

Inputs: handle.

get_reposted_byB

Get users who reposted a post.

Args:
    ctx: MCP context
    uri: URI of the post to get reposts for
    cid: Optional CID of the post (not strictly required)
    limit: Maximum number of results to return (1-100)
    cursor: Optional pagination cursor

Returns:
    List of users who reposted the post

Inputs: uri (required), cid, limit, cursor.

get_timelineB

Get posts from your home timeline.

Args:
    ctx: MCP context
    algorithm: Optional algorithm to use for timeline
    cursor: Optional pagination cursor
    limit: Maximum number of results to return

Returns:
    Timeline feed with posts

Inputs: algorithm, cursor, limit.

like_postC

Like a post.

Args:
    ctx: MCP context
    uri: URI of the post to like
    cid: CID of the post to like

Returns:
    Status of the like operation

Inputs: uri (required), cid (required).

mute_userB

Mute a user.

Args:
    ctx: MCP context
    actor: Handle or DID of the user to mute

Returns:
    Status of the mute operation

Inputs: actor (required).

repostC

Repost another user's post.

Args:
    ctx: MCP context
    uri: URI of the post to repost
    cid: CID of the post to repost

Returns:
    Status of the repost operation

Inputs: uri (required), cid (required).

resolve_handleC

Resolve a handle to a DID.

Args:
    ctx: MCP context
    handle: User handle to resolve (e.g. "user.bsky.social")

Returns:
    Resolved DID information

Inputs: handle (required).

send_imageB

Send a post with a single image.

Args:
    ctx: MCP context
    text: Text content of the post
    image_data: Base64-encoded image data
    image_alt: Alternative text description for the image
    profile_identify: Optional handle or DID for the post author
    reply_to: Optional reply information dict with keys uri and cid
    langs: Optional list of language codes
    facets: Optional list of facets (mentions, links, etc.)

Returns:
    Status of the post creation

Inputs: text (required), image_data (required), image_alt (required), profile_identify, +3 more.

send_imagesA

Send a post with multiple images (up to 4).

Args:
    ctx: MCP context
    text: Text content of the post
    images_data: List of base64-encoded image data (max 4)
    image_alts: Optional list of alt text for each image
    profile_identify: Optional handle or DID for the post author
    reply_to: Optional reply information dict with keys uri and cid
    langs: Optional list of language codes
    facets: Optional list of facets (mentions, links, etc.)

Returns:
    Status of the post creation

Inputs: text (required), images_data (required), image_alts, profile_identify, +3 more.

send_postA

Send a post to Bluesky.

Args:
    ctx: MCP context
    text: Text content of the post
    profile_identify: Optional handle or DID. Where to send post. If not provided, sends to current profile
    reply_to: Optional reply reference with 'root' and 'parent' containing 'uri' and 'cid'
    embed: Optional embed object (images, external links, records, or video)
    langs: Optional list of language codes used in the post (defaults to ['en'])
    facets: Optional list of rich text facets (mentions, links, etc.)

Returns:
    Status of the post creation with uri and cid of the created post

Inputs: text (required), profile_identify, reply_to, embed, +2 more.

send_videoB

Send a post with a video.

Args:
    ctx: MCP context
    text: Text content of the post
    video_data: Base64-encoded video data
    video_alt: Optional alternative text description for the video
    profile_identify: Optional handle or DID for the post author
    reply_to: Optional reply information dict with keys uri and cid
    langs: Optional list of language codes
    facets: Optional list of facets (mentions, links, etc.)

Returns:
    Status of the post creation

Inputs: text (required), video_data (required), video_alt, profile_identify, +3 more.

unfollow_userC

Unfollow a user.

Args:
    ctx: MCP context
    follow_uri: URI of the follow record to delete

Returns:
    Status of the unfollow operation

Inputs: follow_uri (required).

unlike_postC

Unlike a previously liked post.

Args:
    ctx: MCP context
    like_uri: URI of the like.

Returns:
    Status of the unlike operation

Inputs: like_uri (required).

unmute_userB

Unmute a previously muted user.

Args:
    ctx: MCP context
    actor: Handle or DID of the user to unmute

Returns:
    Status of the unmute operation

Inputs: actor (required).

unrepostB

Remove a repost of another user's post.

Args:
    ctx: MCP context
    repost_uri: URI of the repost to remove

Returns:
    Status of the unrepost operation

Inputs: repost_uri (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 25 tools

    Disambiguation4/5

    Most tools have distinct purposes targeting specific Bluesky operations like posting, following, or fetching feeds, with clear boundaries. However, send_post, send_image, send_images, and send_video overlap in posting functionality, which could cause confusion about when to use each, though their descriptions clarify media-specific roles.

    Naming Consistency5/5

    All tools follow a consistent snake_case verb_noun pattern, such as get_post, like_post, and delete_post. This uniformity makes the tool set predictable and easy to navigate, with no deviations in naming style across the 25 tools.

    Tool Count3/5

    With 25 tools, the count is borderline high for a social media server, as it may feel heavy and complex for agents to manage. While it covers many Bluesky features, a more streamlined set could improve usability without sacrificing functionality.

    Completeness5/5

    The tool set provides comprehensive coverage of Bluesky's core operations, including CRUD for posts (create, get, delete), social interactions (follow/unfollow, like/unlike, mute/unmute), and data retrieval (feeds, profiles, likes, reposts). No obvious gaps exist for typical agent workflows in this domain.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers