Claude Instagram automation
Claude, meetyour Instagram.
Claude has no built-in Instagram connector, so you add one. In Claude.ai or the desktop app, add DMpop as a custom connector and sign in. In Claude Code, Codex or Cursor, add it with an API key. Either way, Claude can then set up comment-to-DM campaigns for you.
Updated
Example: someone asks Claude in Hinglish which campaign is doing best. Claude reads the campaign stats, suggests pausing the weakest one, and pauses it when asked.
Two ways to connect Claude
Chat or code.Same server.
Both routes reach the same DMpop MCP server and the same seven tools. Pick by where you work.
Route 1 · Sign in, no key
Claude.ai and desktop.
For creators and teams who just want to ask. Add a custom connector, sign in to DMpop, click Allow.
Set it up →Route 2 · API key
Claude Code, Codex, Cursor.
For developers and content pipelines. One command or one config block, and your agent can create campaigns as part of a larger job.
Set it up →Connect Claude to Instagram · Claude.ai and desktop
Add a connector.Click Allow.
You need a DMpop account with Instagram connected, and owner or admin rights on that DMpop workspace.
- In Claude, open Customize → Connectors (some versions show it as Settings → Connectors).
- Click Add, then Add custom connector.
- Name it DMpop, paste the server URL and continue. DMpop uses OAuth, so there is no key or header to fill in.
- Click Connect. Claude opens DMpop: sign in with your email code and click Allow.
- In a chat, open the + menu, choose Connectors and make sure DMpop is on. Then ask.
Anthropic's custom connector guide has the current menu names. Free plans can add one custom connector. On Team and Enterprise, an owner adds it and each member then connects.
Remote MCP server URL
https://app.dmpop.com/mcpThe DMpop screen lists what Claude gets: your accounts and recent posts, creating and changing campaigns, and campaign results. Nothing else.
What to ask Claude
Ask in English.Or Hinglish.
Claude asks about the follow gate and a public reply before creating a campaign if you haven't said, and confirms before deleting one.
You
“Set up GUIDE on my next reel. Link: example.com/guide. Followers only.”
You
“Kal ki reel pe PDF keyword lagao, aur 2 ghante baad follow-up bhejo.”
You
“Compare my campaigns by click rate.”
Claude Code Instagram API · Codex · Cursor
One command.Then let it run.
Create an API key in DMpop under Settings → API keys and MCP. It is shown once, so copy it then. Use it in place of YOUR_KEY.
Claude Code
claude mcp add --transport http dmpop \ https://app.dmpop.com/mcp \ --header "Authorization: Bearer YOUR_KEY"Then run /mcp inside Claude Code to check it's connected.
Codex
# ~/.codex/config.toml[mcp_servers.dmpop]url = "https://app.dmpop.com/mcp"bearer_token_env_var = "DMPOP_API_KEY"Export DMPOP_API_KEY in your shell profile.
Cursor and others
{ "mcpServers": { "dmpop": { "url": "https://app.dmpop.com/mcp", "headers": { "Authorization": "Bearer YOUR_KEY" } } }}Most MCP clients take the same shape.
Agentic Instagram automation
Put the DMin your pipeline.
Claude Code can use DMpop's tools in the middle of a bigger task. Useful when reels come out of a script, not a phone.
You → Claude Code
When my content pipeline publishes a reel, create the GUIDE campaign with nextReel first, using the CTA keyword from the caption.
You → Claude Code
List my DMpop campaigns, then write a weekly report to reports/dm.md with DMs sent, skipped, failed and click rate.
You → Claude Code
Pause every campaign that hasn't sent a single DM yet.
You → Claude Code
Add a step to scripts/publish.ts that calls the DMpop REST API with nextReel before the upload. Read the key from DMPOP_API_KEY.
The trick is nextReel: create the campaign before the reel exists. DMpop attaches it to your next reel within about five minutes of it going live, so the first comments still get their DM.
Example: a developer asks Claude Code to set up a GUIDE campaign on the next reel before their pipeline posts it. Claude Code checks the connected account and creates the campaign with a follow gate.
Instagram comment-to-DM REST API
No agent?Use the API.
For a plain script or cron job, skip MCP and call the REST API with the same key. Each key gets 60 requests a minute. Endpoints and every field are in the developer docs.
curl -X POST https://app.dmpop.com/api/v1/campaigns \ -H "Authorization: Bearer $DMPOP_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "name": "GUIDE · next reel", "nextReel": true, "keywords": ["GUIDE"], "message": "Hey {username}, here is the guide.", "link": "https://example.com/guide", "requireFollow": true }'{username} becomes the commenter's handle. The link becomes a tracked link, so clicks show up in the campaign's results.
GET /campaigns returns every campaign with sent, skipped, failed, clicks and click rate. PATCH /campaigns/{id} with "active": false pauses one.
The REST API and MCP server do the same things. MCP is for assistants; REST is for code you write yourself.
Related setups
Using somethingother than Claude?
ChatGPT connects the same way through Developer mode: see ChatGPT Instagram automation. The full tool list and safety details are on the Instagram MCP page. If you were looking for a ManyChat MCP server, read this first. For no-code workflows, compare Zapier and n8n for comment-to-DM.
Questions
Claude and Instagram,answered.
Can Claude connect to Instagram?
Not on its own. Claude has no built-in Instagram connector. You add one as a custom connector (an MCP server). DMpop's connector lets Claude set up and manage Instagram comment-to-DM campaigns through Meta's official API.
Do I need an API key for Claude?
Not for Claude.ai or the Claude desktop app. They connect with OAuth: you sign in to DMpop and click Allow. Claude Code, Codex, Cursor and scripts use an API key from Settings → API keys and MCP.
Can Claude send Instagram DMs?
No. Claude manages campaigns. DMpop sends a DM only when someone comments your keyword, sends it to you in a DM or replies to your Story with it, within Instagram's limits.
Does this work on Claude's Free plan?
Anthropic's help centre says custom connectors are available on Free, Pro, Max, Team and Enterprise, and that Free users are limited to one custom connector. On Team and Enterprise, an owner adds the connector first.
Can Claude Code call the Instagram API directly?
It can write code against Meta's Instagram API, but you'd need your own Meta app, the right permissions and, for most uses, Meta's app review. With DMpop, Claude Code uses DMpop's MCP server or REST API, and DMpop handles Meta's API.
Which DMpop plan do I need?
Any plan, including Free. MCP and the REST API are on every plan. Free includes 1,000 DMs a month.
Is DMpop made by Anthropic?
No. DMpop is an independent product by Satak Technologies, India. Claude is a trademark of Anthropic.
MCP and API on every plan
Ask Claude.Let the DM pop.
Connect Instagram, connect Claude, and ask for your first campaign. The Free plan includes 1,000 DMs a month, with the API and MCP server.