Ayrshare MCP integration for AI agents.

Connect AI agents to Ayrshare through 11 structured actions, including check post length, retry post, delete post, and verify media url. Review authenticatio…

ACTION CONTRACTS
11
AUTHENTICATION
API key
SOURCE STATUS
Provider-backed

CATALOG SOURCE REVIEWED AUGUST 23, 2026 / ACTION NAMES AND SCHEMAS DERIVED FROM WORKING MACHINES PROVIDER SOURCE

CAPABILITY PROFILE

What the Ayrshare integration exposes

The Ayrshare Agent App exposes 11 provider-backed actions for social and marketing work. Its current contract lets an authorized agent check weighted social post length and platform validity using ayrshare's post length validator, retry an ayrshare post whose previous publish attempt failed, returning the new pending post status, and delete one or more ayrshare posts, delete all pending scheduled posts, or mark a post as manually deleted. These operations are called through Working Machines as typed capabilities rather than through browser navigation or copied UI steps.

A connection uses API key. Before execution, the agent can inspect the selected action, its required fields, declared scopes, and expected output contract. Provider credentials remain inside the Working Machines runtime; the calling agent receives the capability and its structured result, not the underlying secret.

For reliable operation, start with the narrowest action that satisfies the task, resolve stable provider identifiers before changing state, and validate the returned object or status after execution. Availability still depends on the connected Ayrshare account, granted provider permissions, workspace policy, region, plan, and upstream API behavior.

VERIFIED ACTION SAMPLE

Real Ayrshare capabilities.

Showing 11 of 11 actions. Risk labels are conservative signals based on operation names, not substitutes for provider documentation or runtime policy.

check_post_lengthREAD

Check weighted social post length and platform validity using Ayrshare's post length validator.

INPUTS: post

retry_postWRITE

Retry an Ayrshare post whose previous publish attempt failed, returning the new pending post status.

INPUTS: id

delete_postHIGH IMPACT

Delete one or more Ayrshare posts, delete all pending scheduled posts, or mark a post as manually deleted.

INPUTS: id / bulk / deleteAllScheduled / markManualDeleted

verify_media_urlREVIEW

Verify that a media URL exists and is accessible to Ayrshare.

INPUTS: mediaUrl

get_postREAD

Get one Ayrshare post by top-level Ayrshare post ID, including status and per-platform results.

INPUTS: id

get_post_analyticsREAD

Get real-time analytics for an Ayrshare post, optionally limited to selected social platforms.

INPUTS: id / platforms

get_user_profileREAD

Get Ayrshare account or user profile details, including linked social accounts and usage metadata.

INPUTS: instagramDetails

list_post_historyREAD

List Ayrshare post history with optional filters for date range, status, type, and social platforms.

INPUTS: limit / platforms / startDate / endDate / lastDays

publish_postHIGH IMPACT

Publish or schedule a social media post through Ayrshare using a JSON-friendly first-pass field set.

INPUTS: post / platforms / mediaUrls / isVideo / scheduleDate

update_postWRITE

Update mutable Ayrshare post metadata such as scheduleDate, approval status, notes, pause state, comments, or YouTube visibility.

INPUTS: id / approved / disableComments / notes / scheduleDate

validate_postWRITE

Validate an Ayrshare post payload before publishing, including platform and media URL checks.

INPUTS: post / platforms / mediaUrls / isVideo

INPUT CONTRACTS

Know what the action needs before it runs.

check_post_length

postOPTIONAL
The post text to measure.

retry_post

idOPTIONAL
The top-level Ayrshare post ID returned by publish_post.

delete_post

idOPTIONAL
The top-level Ayrshare post ID returned by publish_post.
bulkOPTIONAL
Ayrshare post IDs to bulk delete.
deleteAllScheduledOPTIONAL
Whether to delete all pending scheduled posts for the profile.
markManualDeletedOPTIONAL
Whether to mark the Ayrshare post as deleted without deleting it from the social networks.

verify_media_url

mediaUrlOPTIONAL
The media URL Ayrshare should verify.

PROVIDER-SPECIFIC WORKFLOWS

Jobs this Agent App can support

Inspect Check Post Length

Check weighted social post length and platform validity using Ayrshare's post length validator. Use this as a bounded discovery step, retain the returned identifier, and avoid expanding the read beyond the task's stated scope.

check_post_length

Control Retry Post

Retry an Ayrshare post whose previous publish attempt failed, returning the new pending post status. Resolve the target first, present material changes for confirmation, and make retries idempotent where the provider supports it.

retry_post

Verify with Get Post

Get one Ayrshare post by top-level Ayrshare post ID, including status and per-platform results. Compare the returned provider state with the intended outcome and preserve stable IDs or canonical links in the run record.

get_post

SAFETY BOUNDARY

Operate Ayrshare with explicit limits

  • Authorize Ayrshare with API key and grant only the provider access required by the selected actions.
  • 5 actions are change-capable by name. Confirm the target identity and material parameters before allowing a write.
  • Treat `delete_post` and `publish_post` as high-impact operations and require an explicit approval boundary.
  • No provider scope string is declared on the sampled actions. Verify the connected account's actual permissions in Ayrshare rather than assuming unrestricted access.
  • After a call, inspect the structured result and execution record before reporting that the Ayrshare task completed successfully.

CONNECTION MODEL

API key

Ayrshare Primary Profile API key sent as Authorization: Bearer API_KEY. Find it in the Ayrshare dashboard API Key page: https://app.ayrshare.com/api-key.

Working Machines stores provider credentials behind the execution boundary. An agent can use an authorized connection identity, but catalog discovery alone does not reveal OAuth tokens, API keys, or provider secrets.

READ SIGNALS
5
WRITE SIGNALS
3
HIGH IMPACT
2
REVIEW SIGNALS
1

EVIDENCE AND AVAILABILITY

Provider reference

Action names, input fields, authentication types, and counts on this page are generated from the Working Machines provider catalog. Provider behavior, quotas, object semantics, account eligibility, and regional availability remain governed by Ayrshare.

Official Ayrshare website

ONE CONNECTION. REAL WORK.

Give your agent software it can use.

Connect through MCP or explore the Agent App catalog and choose only the capabilities your workflow needs.

EXPLORE AGENT APPS