New:Microsoft Teams Notifications Are Now Available in Socket.Learn more →
Get Started

@instantreply.co/mcp

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@instantreply.co/mcp

AI agent toolkit for WhatsApp, Instagram, and Messenger automation with zero-key MCP pairing, Barq AI, inbox tools, campaigns, templates, and developer diagnostics.

latest
Source
npmnpm
Version
0.7.0
Version published
Weekly downloads
241
-1.23%
Maintainers
1
Weekly downloads
 
Created
Source

InstantReply MCP server for WhatsApp, Instagram, and Messenger AI agents

InstantReply MCP connects Claude, ChatGPT, Cursor, Codex, or any MCP-compatible agent to a real social inbox. The agent pairs a workspace through one browser link, answers questions with Barq, audits conversations, qualifies leads, validates WhatsApp templates, and operates approved workflows.

No API key is needed. Add the server, tell your agent to connect InstantReply, and open the link it gives you.

npm MCP Registry License

Set up in 60 seconds

1. Add the server to your agent (local package, nothing to install first):

ClientHow
Claude Codeclaude mcp add instantreply -- npx -y @instantreply.co/mcp
Codex CLIcodex mcp add instantreply -- npx -y @instantreply.co/mcp
Claude DesktopSettings, Developer, Edit config, paste the JSON below, restart
CursorSettings, MCP, Add server (or ~/.cursor/mcp.json), paste the JSON below
VS Code.vscode/mcp.json, use the servers JSON below
Windsurf~/.codeium/windsurf/mcp_config.json, paste the JSON below
Anything elseRun the command npx -y @instantreply.co/mcp over stdio
{
  "mcpServers": {
    "instantreply": {
      "command": "npx",
      "args": ["-y", "@instantreply.co/mcp"]
    }
  }
}

VS Code uses "servers" instead of "mcpServers" and needs "type": "stdio" next to command.

Remote (ChatGPT and other hosted clients) : add the connector URL https://api.instantreply.co/mcp. It uses OAuth 2.1 with PKCE; you approve access on an InstantReply consent page and never copy a key.

2. Tell your agent:

Connect InstantReply for my business.

3. What happens, and what the agent should say at each step

StepAgent actionSay to the user
1Call get_connection_guide"Instagram connects same-day. WhatsApp needs Meta Business Verification (usually 2-6 weeks). Which do you want first?"
2Call start_setup (platform, optional persona: creator, business, developer, agency)"Open this link, sign in or sign up, connect your account and approve the code ABCD-1234. I will wait."
3Call check_setup until approved"Waiting for your approval. Tell me when you have clicked approve."
4Ask the user to reconnect or restart the server so all tools load"Connected. Please restart this MCP server once."
5Call list_channels"These accounts are live: ... Nothing else is connected yet."
6Optional: connect_channel for another Instagram account, Messenger page or WhatsApp number"Open this second link to connect another account."
7Teach the business with propose_knowledge_entry"I drafted these facts about your business. Approve them in your dashboard or tell me to approve."

Never ask the user to paste a secret into chat. The pairing key is stored locally at ~/.instantreply/config.json (file mode 0600). Set INSTANTREPLY_API_KEY for CI, Docker or shared machines.

Skills that ship with the package

The skills/ directory holds agent skills (SKILL.md with frontmatter) for the main jobs. Copy a folder into your agent's skills directory (for example ~/.claude/skills/) or point your agent at the folder.

SkillJob
instantreply-setupPair, connect socials, verify what is live
instantreply-inbox-triageFind urgent, unanswered and high-intent conversations and draft replies
instantreply-campaignsCompliance-first outreach: opt-in, STOP, templates, the 24-hour window
instantreply-brand-voice-and-kbTeach the AI your business, voice and facts, with owner approval
instantreply-add-integrationConnect your own system through a signed reply webhook, or add more channels

Every skill references real tool names only; a test fails the build if one drifts.

Add your own integration

  • Your backend answers customers: set_channel_ai_provider with provider: custom_reply_webhook. InstantReply POSTs a signed request (X-InstantReply-Timestamp, X-InstantReply-Signature: sha256=HMAC-SHA256(secret, timestamp + "." + body)) to your HTTPS endpoint, which returns {"reply": "..."}. Replies still pass grounding checks.
  • More social accounts: connect_channel returns a link; the owner approves Meta OAuth in the browser.
  • Events pushed to your server: signed outbound webhooks are managed with the REST API (/v1/webhooks) or the dashboard; there is no MCP tool for that yet.

What the agent can do

  • Inbox work: list and inspect conversations, messages, contacts, channels, analytics, and usage.
  • Comments: list, read, and publicly reply to Instagram/Facebook post comments; toggle AI comment auto-replies.
  • Per-channel control: turn AI DM auto-replies on or off for one connected channel without touching the others.
  • Barq assistance: ask product and workspace questions with ask_barq; risky actions come back as approvals you confirm with decide_approval.
  • Lead intelligence: audit recent conversations, find buying signals, segment contacts, draft follow-ups, and estimate campaign cost.
  • WhatsApp operations: validate, create, submit, inspect, and delete templates; validate journeys; trigger individual or batch journeys; inspect delivery failures.
  • Developer operations: inspect capabilities, onboarding requirements, and limits; troubleshoot delivery.
  • Safety: state-changing tools are marked destructive so a careful client can ask for confirmation first.

The package exposes 59 workspace tools, 3 setup and guide tools, 13 reusable prompts, and conversation/contact resources. The exact tool schema is the source of truth.

Channel and Meta requirements

Instagram, Messenger, and WhatsApp availability depends on scopes, connected assets, and Meta approval state. WhatsApp Business API features can require Meta Business Verification, a connected WhatsApp Business Account, and approved templates. The agent should call get_connection_guide and inspect readiness instead of promising that every WhatsApp feature is immediately available.

InstantReply uses official Meta-connected workflows. Do not use the MCP server to send unsolicited messages, bypass consent, or evade Meta template and messaging-window rules. Honour STOP and unsubscribe requests immediately.

Environment variables

VariableDefaultPurpose
INSTANTREPLY_API_KEYnoneSkip browser pairing and authenticate directly
INSTANTREPLY_API_URLhttps://api.instantreply.coPoint the client at another environment

Development

npm install
npm run build   # compile dist/
npm test        # run the MCP test suite
npm run dev     # watch mode

Before publishing, run npm test, npm run build, npm pack --dry-run, and validate server.json with the official MCP Registry tooling. Keep package.json, package-lock.json, server.json, the README, and the vendored backend MCP copy on the same release version.

License

MIT

Keywords

mcp

FAQs

Package last updated on 05 Oct 2026

Related posts