Skip to main content
Glama

delete_post

Remove a specific post from Bluesky Social MCP by providing its URI. This tool ensures users can delete their content when needed, maintaining control over their social media presence.

Instructions

Delete a post created by the authenticated user.

Args: ctx: MCP context uri: URI of the post to delete Returns: Status of the delete operation

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uriYes

Implementation Reference

  • The delete_post tool handler function. Registered via @mcp.tool() decorator. Retrieves authenticated Bluesky client and calls delete_post on the given URI, returning success or error status.
    @mcp.tool() def delete_post( ctx: Context, uri: str, ) -> Dict: """Delete a post created by the authenticated user. Args: ctx: MCP context uri: URI of the post to delete Returns: Status of the delete operation """ try: bluesky_client = get_authenticated_client(ctx) # Delete the post bluesky_client.delete_post(uri) return { "status": "success", "message": "Post deleted successfully", } except Exception as e: error_msg = f"Failed to delete post: {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