Skip to main content
Glama
berlinbra

BlueSky MCP Server

bluesky_get_follows

Retrieve a list of accounts you follow on BlueSky with pagination support to manage large following lists efficiently.

Instructions

Get a list of accounts the user follows

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of follows to return (default 50, max 100)
cursorNoPagination cursor for next page of results

Implementation Reference

  • Handler logic for executing the bluesky_get_follows tool. Calls the Bluesky graph.get_follows API to fetch the list of followed accounts for the authenticated user, using provided limit and cursor parameters.
    elif name == "bluesky_get_follows":
        limit = arguments.get("limit", 50)
        cursor = arguments.get("cursor")
        response = await asyncio.to_thread(
            bluesky.client.app.bsky.graph.get_follows,
            {'actor': IDENTIFIER, 'limit': limit, 'cursor': cursor}
        )
  • Tool registration in the list_tools() function, defining the name, description, and input schema for bluesky_get_follows.
    types.Tool(
        name="bluesky_get_follows",
        description="Get a list of accounts the user follows",
        inputSchema={
            "type": "object",
            "properties": {
                "limit": {
                    "type": "integer",
                    "description": "Maximum number of follows to return (default 50, max 100)",
                    "default": 50,
                },
                "cursor": {
                    "type": "string",
                    "description": "Pagination cursor for next page of results",
                },
            },
        },
    ),
  • Input schema definition for the bluesky_get_follows tool, specifying optional limit and cursor parameters.
    inputSchema={
        "type": "object",
        "properties": {
            "limit": {
                "type": "integer",
                "description": "Maximum number of follows to return (default 50, max 100)",
                "default": 50,
            },
            "cursor": {
                "type": "string",
                "description": "Pagination cursor for next page of results",
            },
        },
    },

Latest Blog Posts

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