Skip to main content
Glama
bluesky-mcp

bluesky-mcp

by coilyco

bluesky-mcp

bluesky-mcp is Kai's authenticated, strictly read-only Bluesky MCP. It uses the official AT Protocol SDK to create and refresh an internal app-password session, and the official MCP SDK streamable-HTTP transport to serve a small, reviewed tool surface.

Transport and configuration

The process serves GET /healthz and MCP streamable HTTP at POST /mcp. Defaults are HOST=0.0.0.0 and PORT=9113. Set these runtime variables:

  • BSKY_APP_PASSWORD (required): app password supplied only at runtime.

  • BSKY_HANDLE (optional): authenticated account handle; defaults to coilysiren.me.

  • MCP_ALLOWED_HOSTS (optional): comma-separated hosts accepted by the MCP transport's DNS-rebinding defense. It defaults to local development hosts.

Run locally with an app password supplied out of band:

just install
BSKY_APP_PASSWORD=... just run

Related MCP server: bluesky-mcp

Exact tool inventory

  1. get_profile

  2. search_profiles

  3. search_posts

  4. get_author_feed

  5. get_posts

  6. get_post_thread

  7. list_followers

  8. list_follows

  9. get_home_timeline

  10. list_notifications

  11. get_kai_liked_posts

All page sizes are bounded to 50 or below. Post batches are capped at 25 and thread depth plus parent height at 6.

Threat model

The configured app password can authorize account writes, so the adapter must never expose that authority. It has no post, reply, follow, like, repost, delete, mute, block, report, moderation, chat, account mutation, login, generic URL, arbitrary XRPC, or raw HTTP tool. Inputs accept only bounded, validated actors, post AT URIs, cursors, queries, and limits. The app password and session tokens remain in process memory and credential-shaped result fields are stripped before an MCP response is created. SDK failures are deliberately logged without their values.

The source image runs as the non-root node user. Deployment access control, secret injection, and network exposure are intentionally outside this source repository.

Development

just lint, just typecheck, just test, just audit, and just precommit are the supported validation verbs. A main-branch workflow tests and publishes the image ghcr.io/coilyco/bluesky-mcp:<full-source-sha>. Rollout is Flux from coilyco/deploy (COI-3042).

See also

Tool Schema Changelog

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

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      An 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.
      36
      2
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      A Model Context Protocol (MCP) server for Bluesky that can post on your behalf by using the AT Protocol.
      11 npm
      7
      MIT
    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      MCP server for Bluesky/AT Protocol enabling LLM clients and agents to authenticate, search, post, like, follow, and manage chat on Bluesky.
      3 npm
      MIT
    • A
      license
      A
      quality
      F
      maintenance
      An MCP server for interacting with the AT Protocol (ATProto) ecosystem, including Bluesky, providing tools for identity, profiles, and social discovery.
      6
      1
      AGPL 3.0