repost
Share another user's Bluesky post to your own feed using the post's URI and CID identifiers.
Instructions
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
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uri | Yes | ||
| cid | Yes |
Implementation Reference
- server.py:353-381 (handler)Implementation of the 'repost' tool handler. Uses the atproto Client's repost method to repost a post given its URI and CID, returning success with repost_uri and repost_cid or error.@mcp.tool() def repost( ctx: Context, uri: str, cid: str, ) -> Dict: """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 """ try: bluesky_client = get_authenticated_client(ctx) repost_response = bluesky_client.repost(uri, cid) return { "status": "success", "message": "Post reposted successfully", "repost_uri": repost_response.uri, "repost_cid": repost_response.cid, } except Exception as e: error_msg = f"Failed to repost: {str(e)}" return {"status": "error", "message": error_msg}