# Ayrshare — MCP server on mcp.ai > Connect your Ayrshare account and use 3 tools for social media marketing straight from your AI agent. Connect with your own API key. Ayrshare provides a Social Media API that enables developers to programmatically manage and automate social media posts, analytics, and interactions across multiple platforms. By: mcp.ai · official Page: https://mcp.ai/ayrshare ## Connect (MCP protocol) Remote MCP endpoint (HTTP, streamable): https://api.mcp.ai/p_ayrshare?ms=1787293560000 Add it as a custom/remote MCP connector, then authenticate when prompted. ## REST API (no MCP client required) Every tool is also a REST endpoint, authed with a workspace API key. Discover: GET https://api.mcp.ai/api/ayrshare/_endpoints # public; lists every endpoint Call: POST https://api.mcp.ai/api/ayrshare/ Authorization: Bearer sk_live_… # create one at https://mcp.ai/settings/api-keys Content-Type: application/json Body: { …args } → { "ok": true, "tool": "", "result": { … } } ## Developer docs How to use (MCP or REST), markdown: https://mcp.ai/ayrshare/skill.md Postman collection (v2.1): https://mcp.ai/ayrshare/postman.json ## Tools - ayrshare_create_auto_schedule(title?: string, schedule: string[], daysOfWeek?: integer[]) — Tool to create a new auto-post schedule with specified times and optional weekday filters. Use when setting up recurring posting plans. - ayrshare_delete_delete_post(id?: string, bulk?: string[], markManualDeleted?: boolean, deleteAllScheduled?: boolean) — 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 b - ayrshare_get_post_history(limit?: integer, status?: string, endDate?: string, lastDays?: integer, startDate?: string, Profile-Key?: string, lastRecords?: integer) — Tool to retrieve Ayrshare post history with metrics. Use when you need to fetch and filter past posts by date, status, or record count. ## Example prompts - "What can I do in Ayrshare?" - "Show me a summary of my Ayrshare account" ## Links Docs: https://mcp.ai/docs/mcps/ayrshare Website: https://mcp.ai/mcps/ayrshare