MCP server for your
AI inbox.
One npx command. Twenty-nine tools, eleven prompts, and two resources. Claude Code, Cursor, Windsurf, Zed, and Claude Desktop can work with your Instagram DMs, WhatsApp chats, template lifecycle, journey delivery, and delivery debugging.
claude_desktop_config.json
{
"mcpServers": {
"instantreply": {
"command": "npx",
"args": [
"-y",
"@instantreply/mcp"
],
"env": {
"INSTANTREPLY_API_KEY": "ir_live_YOUR_KEY_HERE"
}
}
}
}Add the block, restart the client, then use the slash commands like /audit_template_cost or /utility_rewrite_loop.
Install · 30 seconds
Plug it in.
- 01
Generate a key
Settings → API Keys → New. Use live keys for tenant data; test keys only run documented send simulations.
bash open https://www.instantreply.co/dashboard/settings/api-keys - 02
Add the server
Drop one block in the client config. No global install required.
json "instantreply": { "command": "npx", "args": ["-y", "@instantreply/mcp"], "env": { "INSTANTREPLY_API_KEY": "ir_live_..." } } - 03
Restart, ask
Quit and reopen the client. Ask in plain English.
text "Find unanswered DMs from today, draft a reply for each, send only after I confirm."
Tools · 29
Annotated for safe agents.
Every tool advertises readOnlyHint and destructiveHint. Compliant agents ask before they write.
list_conversationslist inbox conversationsreadget_conversationfetch one conversation with last messagereadlist_messagespaginate messages in a conversationreadsend_messagedeliver an outbound replywriteassign_conversationroute to a teammatewriteclose_conversationmark resolveddestructivelist_contactsfetch contacts and lead stagereadget_contactfetch one contactreadupdate_contactpatch name, email, lead stagewritelist_channelslist connected platformsreadget_analytics_summarydashboard stats by date rangereadget_usageAPI usage and tier headroomreadlist_templatestemplate statuses, categories, componentsreadget_templatefetch one template by IDreadvalidate_templatecheck category fit and UTILITY coachingreadvalidate_template_draftpreflight new template ideasreadsubmit_templatesubmit a template to Meta for approvalwritesubmit_stored_templatesubmit an existing draftwritedelete_templateremove obsolete templates from Metadestructivesend_whatsapp_templatetrigger an approved WhatsApp sendwritetrigger_journeyenroll one phone into a journeywritetrigger_journey_batchbulk enroll up to 100 recipientswritevalidate_journey_triggerdry-run phone, journey, metadatareadcheck_journey_statuspoll enrollment delivery statereadlist_journey_historyrecent enrollment and send historyreadexplain_delivery_failureplain-English explanation of a failed sendreadget_developer_onboardingintegration checklist - what is done, what is nextreadget_developer_capabilitiescurrent API key scope mapreadget_developer_limitsrate limits and quota headroomread
Prompts · 11
Slash commands for the work you already do.
MCP clients expose these prompts as reusable commands. Pair them with the downloadable InstantReply skill packs so the agent knows the approval loop, Utility rewrite rules, owner growth plays, integration runbooks, and destructive-action guardrails.
- /draft_reply
- Draft an answer in the team voice from the last three replies.
- /summarize_conversation
- Three sentences. Customer goal, current state, what unblocks them.
- /find_urgent_unanswered
- Rank open conversations by likelihood of churn.
- /weekly_inbox_digest
- Wins, regressions, response-time deltas. Paste-ready.
- /suggest_macros
- Surface repeated answers worth turning into canned replies.
- /escalation_note
- Internal handoff note. Risk first, context second.
- /audit_template_cost
- Check every pending template - flag MARKETING phrases, estimate savings if reworded as UTILITY.
- /utility_rewrite_loop
- Rewrite, submit, poll, and report on templates that legitimately qualify as UTILITY.
- /journey_recommendation
- Turn product events into trigger names, variables, journeys, and delivery checks.
- /image_to_whatsapp_template_brief
- Use an image or product asset to propose compliant WhatsApp template briefs.
- /debug_last_failure
- Explain the last delivery failure in plain English and suggest the next step.
Agent skills
Download the operating playbooks.
Install the MCP server for live tools, then add these skills to teach the agent how to run the business workflows: growth audits, WhatsApp policy, template creative, and developer integration.
- WhatsApp OperatorRun template approval, Utility rewrites, polling, cleanup, sends, and delivery debugging.Download →
- Business Owner GrowthFind missed leads, no-shows, support leaks, review loops, and the next useful automation.Download →
- WhatsApp Best PracticesReview templates, opt-ins, journeys, categories, quality risks, and approval loops.Download →
- API IntegrationGuide developers through scopes, webhooks, retries, idempotency, journeys, and delivery tracking.Download →
- Creative StudioTurn offers, customer events, and images into category-safe WhatsApp template briefs.Download →
Clients
Drop the block. Pick your editor.
- Claude Code
~/.claude/mcp.jsonSetup guide → - Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.jsonSetup guide → - Cursor
~/.cursor/mcp_servers.jsonSetup guide → - Windsurf
~/.codeium/windsurf/mcp_config.jsonSetup guide → - Zed
Zed → Settings → Assistant → Context ServersSetup guide → - ChatGPT Actions
Custom GPT → Actions → Import OpenAPISetup guide → - Any MCP host
stdio transport · npm i -g @instantreply/mcp
WhatsApp workflows · conversational
Ask instead of clicking.
The MCP server exposes the same template-lifecycle and delivery-debug APIs as conversational tools. You can drive the full workflow - validate, reword, submit, debug - without opening Meta Business Manager or reading error codes.
- Template UTILITY coaching
- Ask: "Check my pending templates and tell me which ones qualify as UTILITY." The validate_template tool returns flagged marketing phrases and category-safe rewrites. Utility templates are often cheaper than Marketing when the message is truly transactional.
- Submit to Meta
- Once the coaching is clear, ask: "Fix the flagged phrases and submit." The submit_template tool routes the corrected template to Meta and returns the approval status.
- Explain a delivery failure
- Ask: "Why did the last campaign message fail for contact X?" The explain_delivery_failure tool returns what happened, whether the fault is ours or Meta's, and whether a retry is safe.
- Developer onboarding checklist
- Ask: "What integration steps are still incomplete?" The get_developer_onboarding tool returns a checklist of which steps are done and which are not - connect channel, validate first template, register webhook.
Permissions · scopes
The key controls what the agent can do.
Every MCP tool maps to an API key scope. Read tools require conversations:read. Write tools require messages:send. Template tools require templates:write to validate and templates:submit to submit.
Use a read-only key for agent sessions that should only observe. Use a full-scope key for agents that send messages or submit templates. Both key types work with the same server config - just swap the key value.
Every tool advertises readOnlyHint and destructiveHint so compliant MCP clients ask for confirmation before any write action.
# Read-only agent: observe and debug
IR_API_KEY=ir_live_... # scopes: conversations:read
# Full agent: validate, submit, send
IR_API_KEY=ir_live_... # scopes: conversations:read,
# messages:send,
# templates:write,
# templates:submitThe model is ready. The tools are wired.