unmute_user
Restore access to a muted user on Bluesky Social MCP by unmuting their account. This tool accepts the user's handle or DID to process the request and provides the operation status.
Instructions
Unmute a previously muted user.
Args:
ctx: MCP context
actor: Handle or DID of the user to unmute
Returns:
Status of the unmute operation
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actor | Yes |
Implementation Reference
- server.py:736-769 (handler)The unmute_user tool handler: decorated with @mcp.tool(), authenticates via get_authenticated_client, calls bluesky_client.unmute(actor), and returns success or error status.@mcp.tool() def unmute_user( ctx: Context, actor: str, ) -> Dict: """Unmute a previously muted user. Args: ctx: MCP context actor: Handle or DID of the user to unmute Returns: Status of the unmute operation """ try: bluesky_client = get_authenticated_client(ctx) # The unmute method returns a boolean success = bluesky_client.unmute(actor) if success: return { "status": "success", "message": f"Unmuted user {actor}", } else: return { "status": "error", "message": "Failed to unmute user", } except Exception as e: error_msg = f"Failed to unmute user: {str(e)}" return {"status": "error", "message": error_msg}