mute_user
Block unwanted content by muting specific users on Bluesky Social. This tool allows you to hide posts from selected accounts to customize your feed experience.
Instructions
Mute a user.
Args:
ctx: MCP context
actor: Handle or DID of the user to mute
Returns:
Status of the mute operation
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actor | Yes |
Implementation Reference
- server.py:701-734 (handler)The main handler function for the 'mute_user' tool. It is decorated with @mcp.tool() for registration in the MCP framework. The function takes a context and actor (handle or DID), authenticates a Bluesky client, calls the client's mute method, and returns success or error status.@mcp.tool() def mute_user( ctx: Context, actor: str, ) -> Dict: """Mute a user. Args: ctx: MCP context actor: Handle or DID of the user to mute Returns: Status of the mute operation """ try: bluesky_client = get_authenticated_client(ctx) # The mute method returns a boolean success = bluesky_client.mute(actor) if success: return { "status": "success", "message": f"Muted user {actor}", } else: return { "status": "error", "message": "Failed to mute user", } except Exception as e: error_msg = f"Failed to mute user: {str(e)}" return {"status": "error", "message": error_msg}