The Instagram MCP server: connect AI agents to your DMs
Last reviewed:
MCP (Model Context Protocol) is the open standard AI assistants use to call external tools. DMowl runs a hosted MCP server at https://dmowl.com/mcp that exposes your Instagram DMs, comment automations, contacts, campaigns and giveaways as tools. Any MCP client can connect with OAuth, so you only need the URL.
What an MCP server does
An AI model on its own can only write text. An MCP server gives it tools with clear inputs and outputs, for example “create an automation” or “list contacts in a folder”. The assistant decides which tool to call, the server does the work and returns the result.
Instagram’s own Graph API is built for developers, not for AI assistants. DMowl sits in between: it handles Meta’s login, webhooks, the 24-hour messaging window and rate limits, and offers the result as a small set of safe, well-described tools.
Tools in the DMowl MCP server
| Area | Tools |
|---|---|
| Account | get_account, get_stats, record_conversion |
| Contacts (CRM) | list_contacts, get_contact, update_contact, list_folders, create_folder |
| Conversations | send_message, set_handling |
| Automations | list_automations, get_automation, create_automation, create_automation_from_prompt, list_templates, create_automation_from_template, update_automation, set_automation_status, run_automation_for_contact, delete_automation |
| Campaigns | list_campaigns, create_campaign, send_campaign |
| Giveaways | list_giveaways, create_giveaway, draw_giveaway |
| AI agent | get_agent, update_agent |
Every tool carries MCP annotations: read-only tools are marked as such, and tools that message real people are marked destructive so clients ask before running them. The same tools are available as a REST API, documented at dmowl.com/docs/api.
Connect your client
| Client | How |
|---|---|
| ChatGPT | Developer mode → Apps & Connectors → Create, URL https://dmowl.com/mcp, authentication OAuth |
| Claude.ai / Desktop | Settings → Connectors → Add custom connector, URL https://dmowl.com/mcp, then Connect |
| Claude Code | claude mcp add --transport http dmowl https://dmowl.com/mcp, then /mcp → Authenticate |
| Cursor | Add a server with url https://dmowl.com/mcp in ~/.cursor/mcp.json, then Login |
| Your own agent | Streamable HTTP transport, OAuth 2.1 with dynamic client registration, or an API key as bearer token |
Building your own agent? /llms.txt and /llms-full.txt describe the whole product in plain Markdown, and /api/v1/openapi.json has the REST schema.
Security model
- OAuth 2.1 with PKCE: the client never sees your password, and each connection can be revoked under Settings → API & MCP.
- Only owners and admins of a DMowl account can connect an app. If their role changes, the connection stops working.
- Access tokens expire after an hour and refresh tokens rotate on every use.
- Instagram’s rules are enforced on the server, not left to the model: the 24-hour window, opt-outs and verified follows.
Questions? Answers.
Is there an official Instagram MCP server from Meta?
Meta offers the Instagram Graph API for developers. DMowl’s MCP server is built on that official API and adds the parts an AI assistant needs: safe tools, rules enforcement and a simple login.
Do I need to host anything?
No. The server runs at https://dmowl.com/mcp. You add the URL to your client and sign in.
Does the MCP server cost extra?
No. MCP and the REST API are included in every DMowl plan, including Free with a daily call limit.
Which transport does it use?
Streamable HTTP with JSON responses, stateless. It supports protocol versions 2024-11-05, 2025-03-26 and 2025-06-18.
Free tools for this
Try it on your own Instagram
Free for up to 100 active contacts. No credit card, set up in two minutes.
Start for freeMore guides
- 💬 How to send an automatic DM when someone comments on Instagram
- ⏱️ Instagram’s 24-hour messaging window, explained
- 🍀 How to pick an Instagram giveaway winner fairly
- 💬 How to manage your Instagram DMs with ChatGPT
- 🧠 How to connect Claude to your Instagram account
- ✍️ 25 prompts to run your Instagram DMs with ChatGPT or Claude
- 🧑💻 OpenAI Codex and Instagram: an integration in five minutes
- 🛠️ Connect Cursor, VS Code, Gemini CLI and Claude Code to Instagram
- 🤖 Can ChatGPT answer your Instagram DMs automatically?
- 🔎 Analyse your Instagram DMs with AI
- 📥 How to get your Instagram messages into ChatGPT or Claude
- 🔁 Instagram DM automation with AI in n8n, Make and Zapier
Looking for how a DMowl feature works? DMowl documentation →