Ayrshare MCP by usefulapi

v1.2.1
io.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.

ParameterTypeDescription
cursorstringCursor from the previous page.
limitintegerProfiles per page.

ayrshare_get_post Get post

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

ParameterTypeDescription
id *stringAyrshare 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.

ParameterTypeDescription
endDatestringEnd of the range, UTC.
lastDaysintegerPosts from the last N days.
limitintegerMaximum posts to return.
platformsarrayReturn posts on any of these networks.
startDatestringStart of the range, UTC.
statusstringFilter 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.

ParameterTypeDescription
id *stringAyrshare Post ID, or the social network's own post ID when searchPlatformId is true.
searchAllPostsbooleanAlso 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.

ParameterTypeDescription
platform *stringThe social network to read.
limitintegerPosts per page.
nextstringCursor from the previous page.
sincestringVendor date filter (start), as the vendor documents it.
untilstringVendor 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.

ParameterTypeDescription
id *stringAyrshare Post ID, or the social network's own post ID when searchPlatformId is true.
dailybooleanReturn daily values.
endDatestringEnd of the daily range (vendor format).
platformsarrayLimit the reply to these networks.
startDatestringStart 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.

ParameterTypeDescription
platforms *arraySocial networks, for example ["facebook", "instagram"].
dailybooleanReturn 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).

ParameterTypeDescription
id *stringAyrshare Post ID, or the social network's own post ID when searchPlatformId is true.
platformstringThe network the post is on.
searchPlatformIdbooleanTreat 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.

ParameterTypeDescription
platforms *arraySocial networks, for example ["facebook", "instagram"].
post *stringPost text. May be an empty string for a media-only post.
idempotencyKeystringYour unique ID for this post. A repeated ID is rejected.
mediaUrlsarrayPublic https image or video URLs.
scheduleDatestringSchedule the post at this UTC time instead of publishing now.
shortenLinksbooleanShorten 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.

ParameterTypeDescription
id *stringAyrshare 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.

ParameterTypeDescription
comment *stringComment text.
id *stringAyrshare Post ID, or the social network's own post ID when searchPlatformId is true.
platforms *arraySocial networks, for example ["facebook", "instagram"].
searchPlatformIdbooleanTreat 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).

ParameterTypeDescription
id *stringAyrshare Comment ID, or the network's comment ID.
platformstringThe network the comment is on.
searchPlatformIdbooleanTreat id as the network's own comment ID.