Skip to main content
Glama

unrepost

Remove a repost from your Bluesky Social feed to manage your content and interactions.

Instructions

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repost_uriYes

Implementation Reference

  • The main handler function for the 'unrepost' tool. It takes a repost_uri, authenticates the Bluesky client, calls bluesky_client.unrepost(repost_uri), and returns success or error status.
    @mcp.tool()
    def unrepost(
        ctx: Context,
        repost_uri: str,
    ) -> Dict:
        """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
        """
        try:
            bluesky_client = get_authenticated_client(ctx)
            success = bluesky_client.unrepost(repost_uri)
    
            if success:
                return {
                    "status": "success",
                    "message": "Repost removed successfully",
                }
            else:
                return {
                    "status": "error",
                    "message": "Failed to remove repost",
                }
        except Exception as e:
            error_msg = f"Failed to unrepost: {str(e)}"
            return {"status": "error", "message": error_msg}

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/gwbischof/bluesky-social-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server