Ayrshare MCP by usefulapi
Publish and schedule posts, read history and analytics, and delete posts or comments in Ayrshare.
¿Debería usar esto?
Calidad y seguridad
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"ayrshare": {
"url": "https://ayrshare.usefulapi.io/mcp"
}
}
}Puntos de conexión remotos
https://ayrshare.usefulapi.io/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (13)
🟢ayrshare_get_user
Get the profile this connection uses: linked social accounts, title, and the monthly post count and quota (monthlyPostCount, monthlyPostQuota).
Esquema de entrada
{
"type": "object",
"properties": {}
}🟢ayrshare_list_profiles(limit, cursor)
List the User Profiles of the account (Business plan). Use a profile's profileKey as the Profile key to act for it.
Esquema de entrada
{
"type": "object",
"properties": {
"limit": {
"description": "Profiles per page.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"cursor": {
"description": "Cursor from the previous page.",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢ayrshare_get_post(id)
Get one post sent through Ayrshare by its Ayrshare Post ID, with per-network status.
Esquema de entrada
{
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"description": "Ayrshare Post ID, or the social network's own post ID when searchPlatformId is true."
}
},
"required": [
"id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢ayrshare_list_history(platforms, startDate, endDate, lastDays, status, ...)
List posts sent through Ayrshare, newest first. Filter by date range, networks (OR logic), or status. Use lastDays for a quick window.
Esquema de entrada
{
"type": "object",
"properties": {
"platforms": {
"description": "Return posts on any of these networks.",
"type": "array",
"items": {
"type": "string",
"enum": [
"bluesky",
"facebook",
"gmb",
"instagram",
"linkedin",
"pinterest",
"reddit",
"snapchat",
"telegram",
"threads",
"tiktok",
"twitter",
"youtube"
]
}
},
"startDate": {
"description": "Start of the range, UTC.",
"type": "string",
"minLength": 1
},
"endDate": {
"description": "End of the range, UTC.",
"type": "string",
"minLength": 1
},
"lastDays": {
"description": "Posts from the last N days.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"status": {
"description": "Filter by post status, as the vendor reports it.",
"type": "string"
},
"limit": {
"description": "Maximum posts to return.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢ayrshare_get_history_post(id, searchAllPosts)
Get the history of one post by its Ayrshare Post ID. Set searchAllPosts to also match posts made outside Ayrshare.
Esquema de entrada
{
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"description": "Ayrshare Post ID, or the social network's own post ID when searchPlatformId is true."
},
"searchAllPosts": {
"description": "Also search posts not sent through Ayrshare.",
"type": "boolean"
}
},
"required": [
"id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢ayrshare_list_platform_history(platform, limit, since, until, next)
List posts on one social network, including posts made outside Ayrshare. Page with the next cursor from the last reply.
Esquema de entrada
{
"type": "object",
"properties": {
"platform": {
"type": "string",
"enum": [
"bluesky",
"facebook",
"gmb",
"instagram",
"linkedin",
"pinterest",
"reddit",
"snapchat",
"telegram",
"threads",
"tiktok",
"twitter",
"youtube"
],
"description": "The social network to read."
},
"limit": {
"description": "Posts per page.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"since": {
"description": "Vendor date filter (start), as the vendor documents it.",
"type": "string"
},
"until": {
"description": "Vendor date filter (end), as the vendor documents it.",
"type": "string"
},
"next": {
"description": "Cursor from the previous page.",
"type": "string"
}
},
"required": [
"platform"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢ayrshare_get_post_analytics(id, platforms, daily, startDate, endDate)
Get real-time likes, impressions, views, and reactions for one Ayrshare post, per network.
Esquema de entrada
{
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"description": "Ayrshare Post ID, or the social network's own post ID when searchPlatformId is true."
},
"platforms": {
"description": "Limit the reply to these networks.",
"type": "array",
"items": {
"type": "string",
"enum": [
"bluesky",
"facebook",
"gmb",
"instagram",
"linkedin",
"pinterest",
"reddit",
"snapchat",
"telegram",
"threads",
"tiktok",
"twitter",
"youtube"
]
}
},
"daily": {
"description": "Return daily values.",
"type": "boolean"
},
"startDate": {
"description": "Start of the daily range (vendor format).",
"type": "string"
},
"endDate": {
"description": "End of the daily range (vendor format).",
"type": "string"
}
},
"required": [
"id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢ayrshare_get_social_analytics(platforms, daily)
Get follower and engagement analytics for the linked social accounts on the chosen networks.
Esquema de entrada
{
"type": "object",
"properties": {
"platforms": {
"minItems": 1,
"type": "array",
"items": {
"type": "string",
"enum": [
"bluesky",
"facebook",
"gmb",
"instagram",
"linkedin",
"pinterest",
"reddit",
"snapchat",
"telegram",
"threads",
"tiktok",
"twitter",
"youtube"
]
},
"description": "Social networks, for example [\"facebook\", \"instagram\"]."
},
"daily": {
"description": "Return daily values.",
"type": "boolean"
}
},
"required": [
"platforms"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢ayrshare_list_comments(id, platform, searchPlatformId)
List comments on a post by Ayrshare Post ID (or the network's post ID with searchPlatformId true).
Esquema de entrada
{
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"description": "Ayrshare Post ID, or the social network's own post ID when searchPlatformId is true."
},
"platform": {
"description": "The network the post is on.",
"type": "string",
"enum": [
"bluesky",
"facebook",
"gmb",
"instagram",
"linkedin",
"pinterest",
"reddit",
"snapchat",
"telegram",
"threads",
"tiktok",
"twitter",
"youtube"
]
},
"searchPlatformId": {
"description": "Treat id as the network's own post ID.",
"type": "boolean"
}
},
"required": [
"id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴ayrshare_create_post(post, platforms, mediaUrls, scheduleDate, shortenLinks, ...)
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.
Esquema de entrada
{
"type": "object",
"properties": {
"post": {
"type": "string",
"description": "Post text. May be an empty string for a media-only post."
},
"platforms": {
"minItems": 1,
"type": "array",
"items": {
"type": "string",
"enum": [
"bluesky",
"facebook",
"gmb",
"instagram",
"linkedin",
"pinterest",
"reddit",
"snapchat",
"telegram",
"threads",
"tiktok",
"twitter",
"youtube"
]
},
"description": "Social networks, for example [\"facebook\", \"instagram\"]."
},
"mediaUrls": {
"description": "Public https image or video URLs.",
"type": "array",
"items": {
"type": "string",
"pattern": "^https:\\/\\/"
}
},
"scheduleDate": {
"description": "Schedule the post at this UTC time instead of publishing now.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"
},
"shortenLinks": {
"description": "Shorten links in the post text.",
"type": "boolean"
},
"idempotencyKey": {
"description": "Your unique ID for this post. A repeated ID is rejected.",
"type": "string",
"minLength": 1
}
},
"required": [
"post",
"platforms"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴ayrshare_delete_post(id)
DELETES a post sent through Ayrshare from its social networks by Ayrshare Post ID. Deleted posts cannot be restored.
Esquema de entrada
{
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"description": "Ayrshare Post ID, or the social network's own post ID when searchPlatformId is true."
}
},
"required": [
"id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴ayrshare_post_comment(id, comment, platforms, searchPlatformId)
Adds a PUBLIC comment on a post on the chosen networks, as the linked account.
Esquema de entrada
{
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"description": "Ayrshare Post ID, or the social network's own post ID when searchPlatformId is true."
},
"comment": {
"type": "string",
"minLength": 1,
"description": "Comment text."
},
"platforms": {
"minItems": 1,
"type": "array",
"items": {
"type": "string",
"enum": [
"bluesky",
"facebook",
"gmb",
"instagram",
"linkedin",
"pinterest",
"reddit",
"snapchat",
"telegram",
"threads",
"tiktok",
"twitter",
"youtube"
]
},
"description": "Social networks, for example [\"facebook\", \"instagram\"]."
},
"searchPlatformId": {
"description": "Treat id as the network's own post ID.",
"type": "boolean"
}
},
"required": [
"id",
"comment",
"platforms"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴ayrshare_delete_comment(id, platform, searchPlatformId)
DELETES one comment by its Ayrshare Comment ID (or the network's comment ID with searchPlatformId true).
Esquema de entrada
{
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"description": "Ayrshare Comment ID, or the network's comment ID."
},
"platform": {
"description": "The network the comment is on.",
"type": "string",
"enum": [
"bluesky",
"facebook",
"gmb",
"instagram",
"linkedin",
"pinterest",
"reddit",
"snapchat",
"telegram",
"threads",
"tiktok",
"twitter",
"youtube"
]
},
"searchPlatformId": {
"description": "Treat id as the network's own comment ID.",
"type": "boolean"
}
},
"required": [
"id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Comunidad
Evidencia