Skip to main content
Glama

unmute_user

Restore visibility of posts from a muted Bluesky user by removing mute restrictions to see their content again.

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
NameRequiredDescriptionDefault
actorYes

Implementation Reference

  • The unmute_user tool handler. Decorated with @mcp.tool() for registration. Calls bluesky_client.unmute(actor) after getting authenticated client, returns success/error dict.
    @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}

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