Skip to main content
Glama

like_post

Like posts on Bluesky Social by providing the post URI and CID. This tool enables users to engage with content through likes within the Bluesky Social platform.

Instructions

Like a post.

Args: ctx: MCP context uri: URI of the post to like cid: CID of the post to like Returns: Status of the like operation

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uriYes
cidYes

Implementation Reference

  • The main handler function for the 'like_post' tool. It authenticates via get_authenticated_client, calls bluesky_client.like(uri, cid), and returns success or error details.
    @mcp.tool() def like_post( ctx: Context, uri: str, cid: str, ) -> Dict: """Like a post. Args: ctx: MCP context uri: URI of the post to like cid: CID of the post to like Returns: Status of the like operation """ try: bluesky_client = get_authenticated_client(ctx) like_response = bluesky_client.like(uri, cid) return { "status": "success", "message": "Post liked successfully", "like_uri": like_response.uri, "like_cid": like_response.cid, } except Exception as e: error_msg = f"Failed to like 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