unlike_post
Remove a like from a post on Bluesky Social by providing the like URI to undo previous engagement.
Instructions
Unlike a previously liked post.
Args:
ctx: MCP context
like_uri: URI of the like.
Returns:
Status of the unlike operation
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| like_uri | Yes |
Implementation Reference
- server.py:267-290 (handler)Full implementation of the unlike_post tool handler. The @mcp.tool() decorator registers it with FastMCP. Takes a like_uri parameter and calls the Bluesky client's unlike method, returning success or error status.@mcp.tool() def unlike_post( ctx: Context, like_uri: str, ) -> Dict: """Unlike a previously liked post. Args: ctx: MCP context like_uri: URI of the like. Returns: Status of the unlike operation """ try: bluesky_client = get_authenticated_client(ctx) bluesky_client.unlike(like_uri) return { "status": "success", "message": "Post unliked successfully", } except Exception as e: error_msg = f"Failed to unlike post: {str(e)}" return {"status": "error", "message": error_msg}