Ayrshare MCP by usefulapi

Publish and schedule posts, read history and analytics, and delete posts or comments in Ayrshare.

Should I use this

Quality & Safety

A
Description quality
97%
Schema completeness
93%
Naming quality
80%
Poisoning risk
100%
Permission match
100%
Protocol compliance
100%

Based on automated analysis of tool definitions and protocol compliance.

Context Cost

~2,406Tokens (tool definitions)
~1.5 KBTypical response size
Moderate attention impact (1.88% of 128k context)

This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.

Install

One-Click Install

Add this to your `claude_desktop_config.json` file:

{
  "mcpServers": {
    "ayrshare": {
      "url": "https://ayrshare.usefulapi.io/mcp"
    }
  }
}

Remote endpoints

https://ayrshare.usefulapi.io/mcpstreamable-http

What it can do

Tool inventory

Tools (13)

🟢 Read-only🟡 Write🔴 Delete⚪ Unknown
🟢ayrshare_get_user

Get the profile this connection uses: linked social accounts, title, and the monthly post count and quota (monthlyPostCount, monthlyPostQuota).

Input Schema

{
  "type": "object",
  "properties": {}
}
🟢ayrshare_list_profiles(limit, cursor)

List the User Profiles of the account (Business plan). Use a profile's profileKey as the Profile key to act for it.

Input Schema

{
  "type": "object",
  "properties": {
    "limit": {
      "description": "Profiles per page.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "cursor": {
      "description": "Cursor from the previous page.",
      "type": "string"
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢ayrshare_get_post(id)

Get one post sent through Ayrshare by its Ayrshare Post ID, with per-network status.

Input Schema

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "minLength": 1,
      "description": "Ayrshare Post ID, or the social network's own post ID when searchPlatformId is true."
    }
  },
  "required": [
    "id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢ayrshare_list_history(platforms, startDate, endDate, lastDays, status, ...)

List posts sent through Ayrshare, newest first. Filter by date range, networks (OR logic), or status. Use lastDays for a quick window.

Input Schema

{
  "type": "object",
  "properties": {
    "platforms": {
      "description": "Return posts on any of these networks.",
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "bluesky",
          "facebook",
          "gmb",
          "instagram",
          "linkedin",
          "pinterest",
          "reddit",
          "snapchat",
          "telegram",
          "threads",
          "tiktok",
          "twitter",
          "youtube"
        ]
      }
    },
    "startDate": {
      "description": "Start of the range, UTC.",
      "type": "string",
      "minLength": 1
    },
    "endDate": {
      "description": "End of the range, UTC.",
      "type": "string",
      "minLength": 1
    },
    "lastDays": {
      "description": "Posts from the last N days.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "status": {
      "description": "Filter by post status, as the vendor reports it.",
      "type": "string"
    },
    "limit": {
      "description": "Maximum posts to return.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢ayrshare_get_history_post(id, searchAllPosts)

Get the history of one post by its Ayrshare Post ID. Set searchAllPosts to also match posts made outside Ayrshare.

Input Schema

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "minLength": 1,
      "description": "Ayrshare Post ID, or the social network's own post ID when searchPlatformId is true."
    },
    "searchAllPosts": {
      "description": "Also search posts not sent through Ayrshare.",
      "type": "boolean"
    }
  },
  "required": [
    "id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢ayrshare_list_platform_history(platform, limit, since, until, next)

List posts on one social network, including posts made outside Ayrshare. Page with the next cursor from the last reply.

Input Schema

{
  "type": "object",
  "properties": {
    "platform": {
      "type": "string",
      "enum": [
        "bluesky",
        "facebook",
        "gmb",
        "instagram",
        "linkedin",
        "pinterest",
        "reddit",
        "snapchat",
        "telegram",
        "threads",
        "tiktok",
        "twitter",
        "youtube"
      ],
      "description": "The social network to read."
    },
    "limit": {
      "description": "Posts per page.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "since": {
      "description": "Vendor date filter (start), as the vendor documents it.",
      "type": "string"
    },
    "until": {
      "description": "Vendor date filter (end), as the vendor documents it.",
      "type": "string"
    },
    "next": {
      "description": "Cursor from the previous page.",
      "type": "string"
    }
  },
  "required": [
    "platform"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢ayrshare_get_post_analytics(id, platforms, daily, startDate, endDate)

Get real-time likes, impressions, views, and reactions for one Ayrshare post, per network.

Input Schema

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "minLength": 1,
      "description": "Ayrshare Post ID, or the social network's own post ID when searchPlatformId is true."
    },
    "platforms": {
      "description": "Limit the reply to these networks.",
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "bluesky",
          "facebook",
          "gmb",
          "instagram",
          "linkedin",
          "pinterest",
          "reddit",
          "snapchat",
          "telegram",
          "threads",
          "tiktok",
          "twitter",
          "youtube"
        ]
      }
    },
    "daily": {
      "description": "Return daily values.",
      "type": "boolean"
    },
    "startDate": {
      "description": "Start of the daily range (vendor format).",
      "type": "string"
    },
    "endDate": {
      "description": "End of the daily range (vendor format).",
      "type": "string"
    }
  },
  "required": [
    "id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢ayrshare_get_social_analytics(platforms, daily)

Get follower and engagement analytics for the linked social accounts on the chosen networks.

Input Schema

{
  "type": "object",
  "properties": {
    "platforms": {
      "minItems": 1,
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "bluesky",
          "facebook",
          "gmb",
          "instagram",
          "linkedin",
          "pinterest",
          "reddit",
          "snapchat",
          "telegram",
          "threads",
          "tiktok",
          "twitter",
          "youtube"
        ]
      },
      "description": "Social networks, for example [\"facebook\", \"instagram\"]."
    },
    "daily": {
      "description": "Return daily values.",
      "type": "boolean"
    }
  },
  "required": [
    "platforms"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢ayrshare_list_comments(id, platform, searchPlatformId)

List comments on a post by Ayrshare Post ID (or the network's post ID with searchPlatformId true).

Input Schema

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "minLength": 1,
      "description": "Ayrshare Post ID, or the social network's own post ID when searchPlatformId is true."
    },
    "platform": {
      "description": "The network the post is on.",
      "type": "string",
      "enum": [
        "bluesky",
        "facebook",
        "gmb",
        "instagram",
        "linkedin",
        "pinterest",
        "reddit",
        "snapchat",
        "telegram",
        "threads",
        "tiktok",
        "twitter",
        "youtube"
      ]
    },
    "searchPlatformId": {
      "description": "Treat id as the network's own post ID.",
      "type": "boolean"
    }
  },
  "required": [
    "id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴ayrshare_create_post(post, platforms, mediaUrls, scheduleDate, shortenLinks, ...)

PUBLISHES to the chosen social accounts now, or schedules it when scheduleDate is set (UTC). Not undoable from here: use ayrshare_delete_post to remove it. Pass idempotencyKey so a repeated call is rejected as a duplicate instead of posting twice.

Input Schema

{
  "type": "object",
  "properties": {
    "post": {
      "type": "string",
      "description": "Post text. May be an empty string for a media-only post."
    },
    "platforms": {
      "minItems": 1,
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "bluesky",
          "facebook",
          "gmb",
          "instagram",
          "linkedin",
          "pinterest",
          "reddit",
          "snapchat",
          "telegram",
          "threads",
          "tiktok",
          "twitter",
          "youtube"
        ]
      },
      "description": "Social networks, for example [\"facebook\", \"instagram\"]."
    },
    "mediaUrls": {
      "description": "Public https image or video URLs.",
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^https:\\/\\/"
      }
    },
    "scheduleDate": {
      "description": "Schedule the post at this UTC time instead of publishing now.",
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"
    },
    "shortenLinks": {
      "description": "Shorten links in the post text.",
      "type": "boolean"
    },
    "idempotencyKey": {
      "description": "Your unique ID for this post. A repeated ID is rejected.",
      "type": "string",
      "minLength": 1
    }
  },
  "required": [
    "post",
    "platforms"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴ayrshare_delete_post(id)

DELETES a post sent through Ayrshare from its social networks by Ayrshare Post ID. Deleted posts cannot be restored.

Input Schema

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "minLength": 1,
      "description": "Ayrshare Post ID, or the social network's own post ID when searchPlatformId is true."
    }
  },
  "required": [
    "id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴ayrshare_post_comment(id, comment, platforms, searchPlatformId)

Adds a PUBLIC comment on a post on the chosen networks, as the linked account.

Input Schema

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "minLength": 1,
      "description": "Ayrshare Post ID, or the social network's own post ID when searchPlatformId is true."
    },
    "comment": {
      "type": "string",
      "minLength": 1,
      "description": "Comment text."
    },
    "platforms": {
      "minItems": 1,
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "bluesky",
          "facebook",
          "gmb",
          "instagram",
          "linkedin",
          "pinterest",
          "reddit",
          "snapchat",
          "telegram",
          "threads",
          "tiktok",
          "twitter",
          "youtube"
        ]
      },
      "description": "Social networks, for example [\"facebook\", \"instagram\"]."
    },
    "searchPlatformId": {
      "description": "Treat id as the network's own post ID.",
      "type": "boolean"
    }
  },
  "required": [
    "id",
    "comment",
    "platforms"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴ayrshare_delete_comment(id, platform, searchPlatformId)

DELETES one comment by its Ayrshare Comment ID (or the network's comment ID with searchPlatformId true).

Input Schema

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "minLength": 1,
      "description": "Ayrshare Comment ID, or the network's comment ID."
    },
    "platform": {
      "description": "The network the comment is on.",
      "type": "string",
      "enum": [
        "bluesky",
        "facebook",
        "gmb",
        "instagram",
        "linkedin",
        "pinterest",
        "reddit",
        "snapchat",
        "telegram",
        "threads",
        "tiktok",
        "twitter",
        "youtube"
      ]
    },
    "searchPlatformId": {
      "description": "Treat id as the network's own comment ID.",
      "type": "boolean"
    }
  },
  "required": [
    "id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

Community

Rate this Server

Evidence

Recent observations

verifiedversion not recorded13 tools