Ayrshare MCP by usefulapi
v1.2.1io.usefulapi/ayrshare
·
Checked 1 day ago
·Published 52 minutes ago
Publish and schedule posts, read history and analytics, and delete posts or comments in Ayrshare.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
ayrshare_get_user Get profile details
Get the profile this connection uses: linked social accounts, title, and the monthly post count and quota (monthlyPostCount, monthlyPostQuota).
ayrshare_list_profiles List User Profiles
List the User Profiles of the account (Business plan). Use a profile's profileKey as the Profile key to act for it.
| Parameter | Type | Description |
|---|---|---|
cursor | string | Cursor from the previous page. |
limit | integer | Profiles per page. |
ayrshare_get_post Get post
Get one post sent through Ayrshare by its Ayrshare Post ID, with per-network status.
| Parameter | Type | Description |
|---|---|---|
id * | string | Ayrshare Post ID, or the social network's own post ID when searchPlatformId is true. |
ayrshare_list_history List post history
List posts sent through Ayrshare, newest first. Filter by date range, networks (OR logic), or status. Use lastDays for a quick window.
| Parameter | Type | Description |
|---|---|---|
endDate | string | End of the range, UTC. |
lastDays | integer | Posts from the last N days. |
limit | integer | Maximum posts to return. |
platforms | array | Return posts on any of these networks. |
startDate | string | Start of the range, UTC. |
status | string | Filter by post status, as the vendor reports it. |
ayrshare_get_history_post Get post history by ID
Get the history of one post by its Ayrshare Post ID. Set searchAllPosts to also match posts made outside Ayrshare.
| Parameter | Type | Description |
|---|---|---|
id * | string | Ayrshare Post ID, or the social network's own post ID when searchPlatformId is true. |
searchAllPosts | boolean | Also search posts not sent through Ayrshare. |
ayrshare_list_platform_history List history for one network
List posts on one social network, including posts made outside Ayrshare. Page with the next cursor from the last reply.
| Parameter | Type | Description |
|---|---|---|
platform * | string | The social network to read. |
limit | integer | Posts per page. |
next | string | Cursor from the previous page. |
since | string | Vendor date filter (start), as the vendor documents it. |
until | string | Vendor date filter (end), as the vendor documents it. |
ayrshare_get_post_analytics Get post analytics
Get real-time likes, impressions, views, and reactions for one Ayrshare post, per network.
| Parameter | Type | Description |
|---|---|---|
id * | string | Ayrshare Post ID, or the social network's own post ID when searchPlatformId is true. |
daily | boolean | Return daily values. |
endDate | string | End of the daily range (vendor format). |
platforms | array | Limit the reply to these networks. |
startDate | string | Start of the daily range (vendor format). |
ayrshare_get_social_analytics Get social account analytics
Get follower and engagement analytics for the linked social accounts on the chosen networks.
| Parameter | Type | Description |
|---|---|---|
platforms * | array | Social networks, for example ["facebook", "instagram"]. |
daily | boolean | Return daily values. |
ayrshare_list_comments List comments on a post
List comments on a post by Ayrshare Post ID (or the network's post ID with searchPlatformId true).
| Parameter | Type | Description |
|---|---|---|
id * | string | Ayrshare Post ID, or the social network's own post ID when searchPlatformId is true. |
platform | string | The network the post is on. |
searchPlatformId | boolean | Treat id as the network's own post ID. |
ayrshare_create_post Publish or schedule a post
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.
| Parameter | Type | Description |
|---|---|---|
platforms * | array | Social networks, for example ["facebook", "instagram"]. |
post * | string | Post text. May be an empty string for a media-only post. |
idempotencyKey | string | Your unique ID for this post. A repeated ID is rejected. |
mediaUrls | array | Public https image or video URLs. |
scheduleDate | string | Schedule the post at this UTC time instead of publishing now. |
shortenLinks | boolean | Shorten links in the post text. |
ayrshare_delete_post Delete a post
DELETES a post sent through Ayrshare from its social networks by Ayrshare Post ID. Deleted posts cannot be restored.
| Parameter | Type | Description |
|---|---|---|
id * | string | Ayrshare Post ID, or the social network's own post ID when searchPlatformId is true. |
ayrshare_post_comment Comment on a post
Adds a PUBLIC comment on a post on the chosen networks, as the linked account.
| Parameter | Type | Description |
|---|---|---|
comment * | string | Comment text. |
id * | string | Ayrshare Post ID, or the social network's own post ID when searchPlatformId is true. |
platforms * | array | Social networks, for example ["facebook", "instagram"]. |
searchPlatformId | boolean | Treat id as the network's own post ID. |
ayrshare_delete_comment Delete a comment
DELETES one comment by its Ayrshare Comment ID (or the network's comment ID with searchPlatformId true).
| Parameter | Type | Description |
|---|---|---|
id * | string | Ayrshare Comment ID, or the network's comment ID. |
platform | string | The network the comment is on. |
searchPlatformId | boolean | Treat id as the network's own comment ID. |