# Ayrshare

> Ayrshare provides a Social Media API that enables developers to programmatically manage and automate social media posts, analytics, and interactions acros…

Ayrshare provides a Social Media API that enables developers to programmatically manage and automate social media posts, analytics, and interactions across multiple platforms.

This is a first-class FlyMyAI MCP. Agents **discover it automatically** via tool search and call the actions below on demand - you never wire it up by hand. See the [Composio catalog](https://docs.flymy.ai/mcp/composio.md) for how discovery works.

## Connect

**Ayrshare** authenticates with an API key. Generate the credential in your Ayrshare account, then paste it into FlyMyAI the first time an agent uses an Ayrshare action.

[Get your Ayrshare credential →](https://app.ayrshare.com/api)

### Fields to fill in FlyMyAI

| Field | Details |
| --- | --- |
| `API Key` | The primary API Key for authenticating requests, found in the Ayrshare Dashboard under the API Key page. _(required)_ |
| `Profile Key` | The Profile Key used to interact on behalf of a User Profile, available for Business or Enterprise plans, found in the Ayrshare Dashboard under the Profile Key page. |

## Actions

Every action this integration exposes. Agents pick the right one from the task; you do not call them by name.

| Action | What it does | Required inputs |
| --- | --- | --- |
| `AYRSHARE_CREATE_AUTO_SCHEDULE` | Tool to create a new auto-post schedule with specified times and optional weekday filters. use when setting up recurring posting plans. | `schedule` |
| `AYRSHARE_DELETE_DELETE_POST` | Tool to delete an ayrshare post. use when you need to remove a published or scheduled post by its ayrshare post id, after confirming the correct id. note: instagram and tiktok published posts cannot be deleted via api; set 'mark manual deleted=true' or remove… | - |
| `AYRSHARE_GET_POST_HISTORY` | Tool to retrieve ayrshare post history with metrics. use when you need to fetch and filter past posts by date, status, or record count. | - |
| `AYRSHARE_POST_SET_AUTO_SCHEDULE` | Tool to set up an auto-post schedule with specified times and optional weekday filters. use when scheduling posts around a recurring pattern. | `schedule` |

## Links

- [Ayrshare website](https://www.ayrshare.com/)
- [Get API key / credential](https://app.ayrshare.com/api)
- [Browse the full Composio catalog](https://docs.flymy.ai/mcp/composio.md)
