An Instagram MCP server connects your AI assistant to your Instagram account, so Claude or ChatGPT can make changes there, not just tell you how. You type "DM everyone who comments GUIDE under my last Reel with the guide link", and the assistant builds the rule, sets the public reply and the DM, and tells you what it changed.
Chatfuel runs a hosted MCP server for this. You sign in with your Chatfuel account, connect Claude or ChatGPT in two clicks, and the assistant gets tools for comment replies, Instagram DMs and the AI Agent that answers your customers. You don't install anything, create a Meta developer app or refresh tokens.
Below: what an Instagram MCP server is, how hosted and self-hosted servers differ, what you can set up, how to connect, and five prompts to try.
What is an Instagram MCP server?
MCP (Model Context Protocol) is an open standard for connecting AI apps to outside systems. The official site calls it "a USB-C port for AI applications". An MCP server gives the assistant a set of tools, and the assistant picks which ones to call for your request.
An Instagram MCP server does the same for an Instagram account. Depending on the server, the assistant can:
- set up automatic replies to comments on posts, Reels and ads;
- send a private DM to the person who commented;
- read and answer your Instagram DMs;
- review what customers asked this week and where the replies failed;
- pull public posts or profile data (scraping servers do only this).
Meta does not publish its own MCP server for Instagram. Every option comes from a third party. Most use Meta's Instagram API, and some use a logged-in Instagram session.
Chatfuel's hosted MCP vs self-hosted GitHub servers
Instagram MCP servers come in three kinds.
| Chatfuel MCP (hosted) | Self-hosted, official API (e.g. GitHub projects) | Unofficial, session-based | |
|---|---|---|---|
| How you connect | Sign in with your Chatfuel account | Your own Meta developer app and access token | Your Instagram login and password |
| Instagram access | Meta's official API; Chatfuel is an official Meta Business Partner | Meta's official API | Not the API: a logged-in session |
| Setup | Two clicks in Claude or ChatGPT | Create a Meta app, request permissions, store tokens, run the server | Install and run the server locally |
| Upkeep | None | Tokens expire after 60 days; DMs need Meta App Review | Can break when Instagram changes |
| Works in claude.ai and ChatGPT on the web | Yes | Only if you host it on a public HTTPS address | Usually desktop only |
Chatfuel MCP. The server lives at https://mcp.chatfuel.com/panel and is listed in Claude's connector directory and among ChatGPT plugins. It works with your own Chatfuel account and role, never sees your password, and can be switched to read-only on the sign-in screen. The same server also covers WhatsApp, Facebook Messenger, TikTok and web chat, so one connection is enough. Whatever the assistant sets up is a regular automation, so you can open it in the Chatfuel dashboard later and edit it by hand.
Self-hosted servers on GitHub. Open-source projects built on the Instagram Graph API are free, but the developer work is yours. You need an Instagram professional account linked to a Facebook Page, a Meta developer app and access tokens. One popular repository notes that long-lived tokens "expire after 60 days" and that reading and sending DMs needs Advanced Access through Meta App Review. These servers usually run on your computer, so they work in Claude Desktop or Cursor, not in claude.ai or ChatGPT on the web.
Session-based servers. Some GitHub projects log in with your Instagram username and password and keep a session file on disk. They can send DMs as you, outside the rules Meta sets for business messaging. Their own authors warn that logging in this way breaks Instagram's terms and can get the account restricted.
What you can set up from Claude or ChatGPT
With Chatfuel MCP connected, the assistant calls named tools. Here are the ones you'll use for Instagram.
Comment replies and the DM to the commenter. setup_comment_replies builds the rule. Pick the target: every comment, chosen posts and Reels (the assistant lists your recent ones with list_posts), or keywords such as "price" with a few synonyms. Each rule has two parts on Instagram: a public reply under the comment and a private DM. Both can be fixed text or written by the AI. Keep the public reply short, like "Check your DMs". A DM to someone who doesn't follow you lands in their message requests, so they need the nudge.

The AI Agent in your DMs. When people reply to that first DM, the AI Agent answers their questions from your Knowledge Base. From the assistant you can turn AI on with enable_ai, write its instructions with set_instructions, add answers with add_faq and set your hours with set_business_hours.
Chat reviews and replies. review_chats reads your latest 25 chats (or up to 100 in a period) and tells you what people asked, who is still waiting and which questions the AI couldn't answer. send_chat_message replies in a chat, but only after you say yes to the exact text. You can take a chat over with take_over_chat and give it back to the AI with return_chat_to_ai.

Checks. diagnose_bot explains why something doesn't reply, and test_reply shows how the AI would answer a message before a customer sends it.
Before it rewrites, removes or turns off anything, the assistant asks you a yes/no question. The full list is in Chatfuel MCP tools and playbooks.
How to connect Claude or ChatGPT in two steps
You need a Chatfuel account with your Instagram professional account connected. Connecting the assistant and reading your account work on any Chatfuel account. AI replies need a plan with AI credits.
Claude
- Open Customize → Connectors, search for Chatfuel in the directory and click Connect to Claude.
- Sign in to Chatfuel and approve. Leave Read-only off if you want the assistant to make changes.
In a chat, click + → Connectors and turn Chatfuel on. Step-by-step with screenshots: How to connect Claude to Chatfuel.
ChatGPT
- Open Plugins in the sidebar, search for Chatfuel and install it.
- Click Connect, sign in to Chatfuel and approve.
In a chat, type @ and pick Chatfuel. Details: How to connect ChatGPT to Chatfuel.
Cursor, Claude Code and other MCP clients connect to the same address, https://mcp.chatfuel.com/panel. Every way to connect is on the Chatfuel MCP page. To revoke access, go to Connected apps in the Chatfuel dashboard.
Five prompts to start with
Paste these into Claude or ChatGPT with Chatfuel turned on, and swap in your own keywords and links.
- "DM everyone who comments GUIDE under my last Reel with this link: [link]. Publicly reply 'Check your DMs!'"
- "Reply to every comment on my posts with a short, friendly AI answer, and send a DM to people who ask about prices."
- "When someone comments PRICE, LINK or HOW MUCH under my last two posts, DM them our price list and ask which service they want."
- "Review yesterday's Instagram DMs. Who is still waiting for an answer, and which questions are missing from my FAQ?"
- "Why didn't this comment get a reply?" (paste the comment).
For more ready-made flows, see the comment to DM skill and the full list of Claude and ChatGPT skills for marketers. If you prefer to set keywords up by hand, Instagram keyword replies shows the same rule in the dashboard.
What Instagram allows, whatever server you use
Meta's rules apply to every MCP server that uses the official API:
- Only professional accounts (business or creator) can be automated.
- A business can message a person only after that person writes first or comments. You can't cold-DM a list of people.
- A comment gets one private reply, sent within 7 days of the comment. More messages go out only after the person answers.
- After the person's last message, automated replies have a 24-hour window.
Chatfuel follows these rules for you. A server that sends DMs from a logged-in session can ignore them, and that is what puts an account at risk.
See also: How to Send a Link to Everyone Who Comments on Instagram
FAQs
Is there an MCP server for Instagram automation?
Yes. Chatfuel runs a hosted MCP server at https://mcp.chatfuel.com/panel that works with Claude, ChatGPT, Cursor and other assistants. Through it, the assistant sets up comment replies with a DM to the commenter, turns on AI answers in Instagram DMs and reviews your chats. It uses Meta's official API, and you connect it by signing in with your Chatfuel account.
Open-source servers on GitHub exist too. They need your own Meta developer app and tokens, or, in some cases, your Instagram password.
Can I automate Instagram DMs with MCP?
Yes, within Instagram's rules. With Chatfuel MCP, Claude or ChatGPT can set up a DM that goes out when someone comments, turn on the AI Agent that answers DMs from your Knowledge Base, and reply in a chat after you approve the exact text.
No compliant MCP server can send DMs to people who haven't written to you or commented first.
Is an Instagram MCP server safe for my account?
That depends on how the server reaches Instagram. Chatfuel works through Meta's official API as an official Meta Business Partner, signs in with your Chatfuel account and never sees your Instagram password. You can make the connection read-only and revoke it at any time.
Servers that log in with your username and password break Instagram's terms and can get the account restricted.
Do I need to code or host anything?
No. Chatfuel's server is hosted, so you add it in Claude's connectors or ChatGPT's plugins and sign in. Self-hosted servers need a Meta developer app, access tokens and a machine to run them on.




