Ayrshare for AI agents

Ayrshare is a social media API that lets apps schedule and publish posts, pull analytics, and manage accounts across platforms like Instagram, LinkedIn, and X on a client's behalf. Connect it once through Arc0, and your agent, or Claude, ChatGPT and Cursor, can use it through one MCP endpoint, limited to what each user approved.

Social mediaAPI keyMCP + RESTayrshare.com
AUDIT LOG · AYRSHAREPOLICY: acme-support
09:41:07 · claude · u_8f2read
ayrshare.get_post_history
Get Post History✓ allowed · 212ms
09:41:09 · claude · u_8f2write
ayrshare.create_auto_schedule
Create Auto Schedule✓ approved · approved by user
09:41:12 · claude · u_8f2destructive
ayrshare.delete_delete_post
Delete a previously published Ayrshare post✕ blocked · policy: deny
EVERY AYRSHARE CALL, ON THE RECORD
01 · USE CASES

What agents do in Ayrshare.

01

Schedule a batch of posts

Create an auto-schedule so a set of posts publishes across connected accounts at the planned times.

02

Check a post's history

Pull the post history for an account to confirm what has already gone out before scheduling more.

03

Take down a published post

Delete a previously published post only after the user confirms it's the right one, since removing it is irreversible.

02 · ACTIONS

3 Ayrshare actions, graded by risk.

Every Ayrshare action is tagged read, write or destructive, so one policy covers the whole app and new actions inherit the right default.

read

1

Look things up. Allowed by default.

  • ayrshare.get_post_history
    Get Post History

write

1

Create and change things. Allow, or ask the user first.

  • ayrshare.create_auto_schedule
    Create Auto Schedule

destructive

1

Delete, cancel or archive. Ask first, or deny outright.

  • ayrshare.delete_delete_post
    Delete a previously published Ayrshare post
03 · HOW IT WORKS

Ayrshare in three steps.

  1. 01Your users connect AyrshareThey add their Ayrshare api key on Arc0 Connect, under your brand. It goes straight into the vault.
  2. 02You set the rulesReads run, writes like “create Auto Schedule” can wait for the user, and “delete a previously published Ayrshare post” can be denied outright.
  3. 03Any agent can actYour agent calls Ayrshare through the Arc0 SDK or MCP, and so can Claude, ChatGPT and Cursor. Every call lands on the audit log.
POLICY.TS
await arc0.policies.set('ayrshare', {
  read: 'allow',
  write: 'ask',        // create_auto_schedule
  destructive: 'deny',  // delete_delete_post
})

# Claude Code: the same connection, one URL
$ claude mcp add --transport http arc0 \
    https://mcp.arc0.ai/u/u_8f2
04 · AUTH AND DATA

How Ayrshare connects.

Users add their Ayrshare api key on Arc0 Connect. It is encrypted in the vault, never shown to the model, and each user can rotate or revoke it at any time.

The same Ayrshare connection serves your agent over MCP and your own backend over REST and the proxy, so a user connects once. How Arc0 handles credentials →

AUTH
API key
CREDENTIALS
Per-tenant encrypted vault
MODEL SEES
Results only, never credentials
AUDIT LOG
Every call, on every plan
05 · WORKS WITH

Use Ayrshare from any agent.

Claude
ChatGPT
Cursor
Codex
VS Code
OpenAI Agents SDK
Claude Agent SDK
Vercel AI SDK
Mastra
LangGraph
07 · FAQ

Ayrshare and Arc0, answered.

Q01

Can I use Ayrshare with Claude, ChatGPT or Cursor?

Yes. Connect Ayrshare to Arc0 once, then add your Arc0 MCP URL to Claude, ChatGPT, Cursor, Claude Code or any other remote-MCP client. Each assistant only gets the Ayrshare actions you allow.

Q02

How do users connect Ayrshare?

Users add their Ayrshare api key on Arc0 Connect. It is encrypted in the vault, never shown to the model, and each user can rotate or revoke it at any time.

Q03

Which Ayrshare actions can my agent take?

3 in total: 1 read, 1 write and 1 destructive, such as “create Auto Schedule”. Your policies decide which of them each agent may call.

Q04

Can I stop my agent from deleting things in Ayrshare?

Yes. Actions like “delete a previously published Ayrshare post” are graded destructive. Set destructive actions to deny, or to ask so the user approves each one, and blocked calls still show up on the audit log.

Q05

Can my own backend call Ayrshare too?

Yes. The same Ayrshare connection is available over REST and through the Arc0 proxy, so your product and your agent share one connection per user.

Get started

Plug Ayrshare into your agent.

Your users connect Ayrshare once, under your brand. Your agent gets 3 actions behind your policies, with every call on the record.

Free to build · MCP + REST · Audit log on every plan