Developers
Reply in DM MCP server for Claude
Let Claude or ChatGPT read your comment-to-DM results, explain why a DM did not go out, export your subscribers and tune your keyword rules. Connect in one click from claude.ai or ChatGPT, or with an API key from Claude Code and Cursor.
What you can ask
- “Which of my posts sent the most DMs this month, and what keyword did they use?”
- “Why did 20 DMs fail on my latest reel?”
- “Export everyone who joined my PDF list this week as CSV.”
- “Change the DM text on post X to include the new link, and pause post Y.”
- “Write my weekly report.” (built-in prompt)
Option A — Connect Claude or ChatGPT (OAuth, no key)
Both products discover our OAuth server from the URL below. You will be asked to sign in to Reply in DM, pick a workspace and press Allow. In the dashboard the Connect to your AI button in the sidebar has the same steps with a copy button.
https://replyindm.com/api/mcp/- Claude (claude.ai, Claude Desktop, Claude mobile): Settings → Connectors → Add custom connector → paste the URL → Connect.
- ChatGPT: Settings → Apps & connectors → Advanced → turn on Developer mode → Create → paste the URL and choose OAuth. Developer mode is required for custom MCP connectors in ChatGPT.
Access lasts until you disconnect the app in Claude/ChatGPT or leave the workspace. Tokens are scoped to one workspace and expire hourly (refreshed automatically).
Option B — API key (Claude Code, Cursor, scripts)
1. Create an API key
In the dashboard open Settings → API & MCP, give the key a name and copy it. The key is shown once. Workspace owners and admins can create keys; every plan includes API access.
2. Connect your client
Claude Code
claude mcp add --transport http replyindm https://replyindm.com/api/mcp/ \
--header "Authorization: Bearer rid_live_YOUR_KEY"Cursor — .cursor/mcp.json
{
"mcpServers": {
"replyindm": {
"url": "https://replyindm.com/api/mcp/",
"headers": { "Authorization": "Bearer rid_live_YOUR_KEY" }
}
}
}Claude Desktop — claude_desktop_config.json
{
"mcpServers": {
"replyindm": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://replyindm.com/api/mcp/",
"--header", "Authorization: Bearer rid_live_YOUR_KEY"]
}
}
}Tools
| list_posts | Registered posts with status, platforms, rule and DM counts. Filter by status or platform, paginated. |
| get_post | One post in full: caption, rules, and comment / DM sent / failed / skipped counts. |
| get_post_comments | Comments on a post with the DM outcome and a plain-language reason when no DM went out. |
| update_post_ruleswrites | Pause or resume a post, or replace its rule list (keywords, DM text, button, public replies, list opt-ins). Validated like the dashboard. |
| list_lists | Your subscriber lists with trigger word and size. |
| list_subscribers | Opted-in people, newest first, filterable by list and platform. |
| export_subscribers | CSV export (max 5,000 rows), same columns as the dashboard. |
| get_workspace_stats | DMs and comments for the last 7 and 30 days, top posts, connection health. |
| list_scheduled_posts | Posts waiting to be published from Reply in DM. |
| schedule_postwrites | Schedule a post to Instagram and/or Facebook for a given time, with media URLs and auto-reply rules that go live with it. |
Plus a replyindm://workspace resource (plan, connected accounts, lists, post counts) and a weekly_report prompt.
Auth, limits and safety
- Transport: MCP Streamable HTTP (stateless, JSON responses) at https://replyindm.com/api/mcp/.
- Auth: OAuth 2.1 (authorization code + PKCE S256, dynamic client registration, refresh tokens; metadata at /.well-known/oauth-authorization-server) or Authorization: Bearer rid_live_…. Missing or revoked credentials get a 401 with a WWW-Authenticate header pointing at the OAuth metadata.
- OAuth tokens can only do what the signing-in user can do, in the one workspace they picked.
- A key only ever sees the workspace it was created in. Access tokens for your Instagram and Facebook accounts are never returned.
- Rate limit: 120 requests per minute per key. Exports are capped at 5,000 rows.
- Revoke a key any time in Settings, or disconnect the app in Claude/ChatGPT; removing someone from the workspace also disables their keys and tokens.
- The only write is update_post_rules, and it uses the same validation as the dashboard.
Questions or a tool you are missing? Tell us.