bluesky_get_posts
Retrieve recent posts from a BlueSky user with customizable limits and pagination support. Integrates with the BlueSky API to fetch user activity efficiently.
Instructions
Get recent posts from a user
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cursor | No | Pagination cursor for next page of results | |
| limit | No | Maximum number of posts to return (default 50, max 100) |
Implementation Reference
- src/bluesky_mcp/server.py:203-209 (handler)Handler implementation for the 'bluesky_get_posts' tool. Fetches recent posts from the authenticated user's feed using the Bluesky get_author_feed API method, supporting limit and cursor pagination parameters.elif name == "bluesky_get_posts": limit = arguments.get("limit", 50) cursor = arguments.get("cursor") response = await asyncio.to_thread( bluesky.client.app.bsky.feed.get_author_feed, {'actor': IDENTIFIER, 'limit': limit, 'cursor': cursor} )
- src/bluesky_mcp/server.py:47-64 (registration)Tool registration in list_tools(), including name, description, and input schema definition for 'bluesky_get_posts'.types.Tool( name="bluesky_get_posts", description="Get recent posts from a user", inputSchema={ "type": "object", "properties": { "limit": { "type": "integer", "description": "Maximum number of posts to return (default 50, max 100)", "default": 50, }, "cursor": { "type": "string", "description": "Pagination cursor for next page of results", }, }, }, ),