replyatlas-mcp
Enables managing Instagram comment-to-DM automations, leads, analytics, conversations, and broadcasts through ReplyAtlas, including creating automations that send DMs to users who comment specified keywords.
ReplyAtlas MCP Server
Manage your ReplyAtlas account from Claude, Cursor or any Model Context Protocol client: Instagram comment-to-DM automations, leads, analytics, conversations and broadcasts.
ReplyAtlas auto-sends an Instagram DM to anyone who comments a keyword on your posts, Reels, Lives or story replies, using Instagram's official API. This server lets an AI assistant run that account for you: "create an automation that DMs my free guide to everyone who comments GUIDE", "who were my hottest leads this week?", "export leads tagged webinar".
Requires a ReplyAtlas plan with API access. Create an API key in ReplyAtlas → Settings → API Keys.
Install
No install needed. Your MCP client runs it with npx (Node.js 18+).
Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"replyatlas": {
"command": "npx",
"args": ["-y", "replyatlas-mcp"],
"env": { "REPLYATLAS_API_KEY": "mf_live_your_key_here" }
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"replyatlas": {
"command": "npx",
"args": ["-y", "replyatlas-mcp"],
"env": { "REPLYATLAS_API_KEY": "mf_live_your_key_here" }
}
}
}Claude Code
claude mcp add replyatlas -e REPLYATLAS_API_KEY=mf_live_your_key_here -- npx -y replyatlas-mcpRelated MCP server: Instagram DM MCP server
Config
Env var | Required | Default | Notes |
| yes | — | Your |
| no |
| Override the API host. |
On start the server calls /api/v1/me to check the key and exits with a clear
message if the key is invalid or the plan has no API access.
Tools
Area | Tools |
Account |
|
Automations |
|
Leads |
|
Analytics |
|
Conversations |
|
Broadcasts |
|
Safety
Anything that messages real people is two-step. reply_to_conversation and
send_broadcast first return a preview and a confirmToken; nothing is sent
until the tool is called again with that token. The server only talks to the
ReplyAtlas REST API over HTTPS with your API key. It never sees your Instagram
password or tokens.
Development
pnpm install
pnpm test # vitest
pnpm build # tsup → dist/index.jsLinks
Product: https://replyatlas.com
MCP setup guide: https://replyatlas.com/integrations/mcp
REST API docs: https://replyatlas.com/docs
License
MIT
Available Tools
20 toolscreate_automationCreate automationB
Create a comment→DM automation. Required: name, igAccountId (from list_ig_accounts), triggerType, templateText. templateText supports {{handle}} and {{commentText}} tokens. Advanced/paid options are left at their server defaults.
Inputs: name (required), igAccountId (required), triggerType (required), templateText (required), +4 more.
create_broadcastCreate broadcast (draft)A
Create a DRAFT broadcast (does NOT send). Provide exactly one audience: segmentId (a saved segment) OR filter (an inline lead filter object, e.g. {minScore:50}). format defaults to TEXT. Use send_broadcast to send it.
Inputs: name (required), igAccountId (required), templateText (required), filter, +3 more.
delete_automationDelete automationADestructive
Permanently delete an automation by id. This cannot be undone.
Inputs: id (required).
export_leadsExport leads (CSV)BRead-only
Export all leads as CSV text.
Inputs: no named parameters.
get_accountGet accountARead-only
Return the authenticated ReplyAtlas account: profile, plan tier, DM quota/usage, and feature flags.
Inputs: no named parameters.
get_analyticsGet analyticsCRead-only
Analytics breakdowns. kind = overview | timeseries | sentiment | top-automations | by-trigger | follow-unlock. range = 7d | 30d | 90d.
Inputs: kind, range.
get_automationGet automationCRead-only
Fetch a single automation by id.
Inputs: id (required).
get_dashboardGet dashboardARead-only
Dashboard snapshot (DMs sent, leads, conversions) for a range. range = today | 7d | 30d | cycle | custom. For custom, also pass from/to (ISO dates).
Inputs: to, from, range.
get_leadGet leadARead-only
Fetch a single lead by id (includes activity).
Inputs: id (required).
list_automationsList automationsARead-only
List comment→DM automations (paginated). Pass cursor from the previous response's nextCursor to page.
Inputs: limit, cursor.
list_broadcastsList broadcastsARead-only
List the account's broadcasts (newest first). Requires the Pro plan (BROADCAST).
Inputs: no named parameters.
list_conversationsList conversationsBRead-only
List human-agent inbox conversations (paginated). Filters: igAccountId, unreadOnly. Requires a plan that includes the human-agent inbox.
Inputs: limit, cursor, unreadOnly, igAccountId.
list_dm_logsList DM logsARead-only
List sent-DM logs (paginated). Filters: automationId, status (comma-separated: QUEUED,SENT,DELIVERED,OPENED,CLICKED,FAILED), q (search). Page with cursor.
Inputs: q, limit, cursor, status, +1 more.
list_ig_accountsList Instagram accountsARead-only
List the connected Instagram accounts (id, handle, followers). Use an id as igAccountId when creating automations or broadcasts.
Inputs: no named parameters.
list_leadsList leadsARead-only
List/filter leads (paginated). Filters: minScore/maxScore (0–100), sentiment (POSITIVE|NEUTRAL|NEGATIVE), converted (true|false), q (search handle/name), tag (tag id). Page with cursor from nextCursor.
Inputs: q, tag, limit, cursor, +4 more.
list_tagsList tagsARead-only
List the account's lead tags (id + name). Use a tag id with tag_lead or the list_leads tag filter.
Inputs: no named parameters.
reply_to_conversationReply to a conversationADestructive
Send a DM reply in a conversation. SAFETY: call once with {id, text} to get a preview and a confirmToken; call again with the same id, text, AND confirmToken to actually send. Requires a plan that includes the human-agent inbox.
Inputs: id (required), text (required), confirmToken.
send_broadcastSend a broadcastADestructive
Send a DRAFT broadcast to its audience. SAFETY: call once with {broadcastId} to preview the recipient counts and get a confirmToken; call again with the same broadcastId AND confirmToken to actually send. Requires the Pro plan.
Inputs: broadcastId (required), confirmToken.
tag_leadTag a leadA
Attach an existing tag to a lead. tagId must be an id from list_tags (this does not create tags).
Inputs: id (required), tagId (required).
update_automationUpdate automationB
Update fields on an existing automation. Only provided fields change. Set active:false to pause, active:true to resume.
Inputs: id (required), name, active, dailyCap, +5 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 20 tools
Each tool maps to a distinct resource+action (automations, leads, tags, broadcasts, conversations, logs), and descriptions carefully clarify boundaries. The main risk is get_dashboard vs get_analytics, which both cover reporting and could be confused, and list_dm_logs vs list_conversations overlap slightly around messaging history.
All 20 tools follow a strict snake_case verb_noun pattern (list_*, get_*, create_*, update_*, delete_*, send_*, export_*, reply_to_*, tag_lead). Resource naming is predictable and the verb set is used consistently across resources.
20 tools is on the heavier side but justified by a broad SaaS domain spanning automations, leads, analytics, DM logs, inbox conversations, and broadcasts. Each tool maps to a real operation rather than padding, though it sits near the upper bound of reasonable.
Automations get full CRUD and leads/broadcasts/conversations cover core lifecycle flows. Minor gaps remain: no create_tag (tag_lead explicitly cannot create tags), no get_broadcast/update_broadcast/delete_broadcast, and leads are read-only, but these are workable for the primary workflows.
Maintenance
Related MCP Connectors
Instagram MCP for DM and comment automation, AI Agent and content publishing via Meta's official API
Instagram comment-to-DM automations, scheduled posts, stats and DM inbox for your accounts.
Instagram + Facebook Pages: read comments, reply, DM commenters, comment-to-DM Auto DM rules.
Schedule Instagram reels, posts and stories, run comment-to-DM automations, and read analytics.
Related MCP Servers
- FlicenseNot gradedqualityAmaintenanceEnables users to send, retrieve, search, and manage Instagram Direct Messages and related media, threads, users, stories, likes, followers, following, and posts from their Instagram account through MCP tools.-
- FlicenseNot gradedqualityAmaintenanceEnables sending direct messages and managing conversations, media, user profiles, stories, followers, and engagement from an Instagram account through MCP tools.-
- FlicenseNot gradedqualityAmaintenanceEnables sending direct messages, managing chats and media, retrieving user, story, and follower information, and performing engagement actions on Instagram through MCP tools.-
- FlicenseNot gradedqualityAmaintenanceEnables sending Instagram Direct Messages from your account and managing chats, messages, media, users, stories, followers, and related interactions through MCP tools.-