Lets you publish photos, videos, carousels, Reels, and Stories via the official API, manage comments and DMs, and pull profile and media insights. The Advanced plan also enables following, unfollowing, liking, and viewing stories.
README
Your Instagram account in Claude, Cursor and AI agents: publish, reply and measure
Connect your own Instagram account to Claude, Cursor or your own agent. Through the official API: publish photos, videos, carousels, Reels and Stories, read and reply to comments, talk in DMs, and pull profile and media insights. With the Advanced plan the same account also likes posts, follows and unfollows, lists and views stories, and starts a DM conversation. Connect in 2 clicks (Business or Creator account) or with username and password, 2FA supported.
- 📸 Really publishes: photos, videos, carousels, Reels and Stories through the official API
- 💬 Comments and DMs: read, reply, mark as seen and list conversations
- 📈 Profile and media insights: reach, impressions, engagement
- ❤️ Engagement on your own account (Advanced plan): like a post, like a comment, follow, unfollow, list and view stories, start a DM conversation
- 🔑 Two ways to connect: 2 clicks (Business/Creator) or username and password with 2FA
- 🧾 Async actions with a job id: track every action's state (
get_job_status,list_jobs) - 🌐 Mirrored REST API for your own backend, on top of MCP
- 💬 Works with any MCP client: Claude Desktop, Cursor, VS Code, Cline, Continue
Versão em português · Full docs (PT-BR) · Agent skill
One-click install
Claude (Web and Desktop)
Anthropic unified MCP installation at claude.ai/customize/connectors. The same link works for Claude Web and Claude Desktop (just be logged in):
Manual (if the deeplink does not open): claude.ai/customize/connectors → + → Add custom connector → paste Name Instagram and URL https://api.mcp.ai/p_instagram.
Cursor
VS Code (Copilot Chat)
➕ Install Instagram in VS Code
ChatGPT, Manus, OpenClaw and 40+ other clients
Works with any MCP client that speaks MCP over HTTP. The server URL is always:
https://api.mcp.ai/p_instagram
Per-client details: INSTALL.md.
Example prompts
Publish this image on my Instagram with the caption "today's launch"
Which new comments came in on my last 3 posts?
Reply to that comment thanking them
What was the reach of my Reels last week?
Like this post: https://www.instagram.com/p/CxAbCdEfGhI/
Follow the profile nasa from my account
27 tools available
| Tool | Description |
|---|---|
instagram_actions_list_accounts |
List the Instagram accounts connected to this install — id, username, label. |
instagram_actions_like |
Like one or more Instagram posts, addressed by post URL or shortcode (NOT the numeric media id the official API returns). |
instagram_actions_list_comments |
List the comments on a post, addressed by URL or shortcode. |
instagram_actions_like_comment |
Like one or more comments. Each comment_id MUST come from instagram_actions_list_comments. The id returned by the official instagram_get_ig_media_comments belongs to a different namespace and is rejected. Returns a jo… |
instagram_actions_follow |
Follow one or more Instagram users by @username. |
instagram_actions_unfollow |
Unfollow one or more Instagram users by @username. |
instagram_actions_list_stories |
List a specific user's currently available stories (read-only, does not mark as seen). |
instagram_actions_view_story |
Watch (mark as seen) the stories of one or more profiles. |
instagram_actions_send_message |
Send the FIRST direct message to someone who has never messaged this account (the official API cannot do this). |
instagram_actions_get_job_status |
Get the status/progress/result of a previously started action by its job_id. |
instagram_actions_list_jobs |
List recent action jobs for the connected account, optionally filtered by status. |
instagram_get_user_info |
Get Instagram Business Account info including profile details and statistics. |
instagram_get_ig_user_media |
Get Instagram user's media collection (posts, photos, videos, reels, carousels). |
instagram_get_ig_media |
Get a published Instagram Media object (photo, video, story, reel, or carousel). |
instagram_get_ig_media_comments |
Tool to retrieve comments on an Instagram media object. |
instagram_get_ig_media_insights |
Tool to get insights and metrics for Instagram media objects (photos, videos, reels, carousel albums). |
instagram_get_user_insights |
Get Instagram account-level insights and analytics (profile views, reach, follower count, etc.). |
instagram_post_ig_user_media |
Tool to create a media container for Instagram posts. |
instagram_create_carousel_container |
Create a draft carousel post with multiple images/videos before publishing. |
instagram_post_ig_user_media_publish |
Tool to publish a media container to an Instagram Business account. |
instagram_post_ig_comment_replies |
Tool to create a reply to an Instagram comment. |
instagram_send_text_message |
Send a text message to an Instagram user via DM in an existing conversation. |
instagram_send_image |
Send an image via Instagram DM to a specific user. |
instagram_mark_seen |
Mark Instagram DM messages as read/seen for a specific user. |
instagram_get_conversation |
Get details about a specific Instagram DM conversation (participants, etc). |
instagram_list_all_conversations |
List all Instagram DM conversations for the authenticated user. |
instagram_list_all_messages |
List all messages from a specific Instagram DM conversation. |
Details for each tool: docs/ferramentas.md (PT-BR)
How it works
1. Install the MCP in your client (Claude / Cursor / VS Code)
2. Connect YOUR account:
• Basic — 2 clicks, Business or Creator account (official API)
• Advanced — username and password, 2FA supported
3. Reading and publishing answer immediately (official API)
4. Engagement actions are queued and return a job id
5. instagram_actions_get_job_status follows each action to the end
Engagement actions are asynchronous and run one at a time. Each takes ~40 s to ~2 min and the queue is serial, so this MCP is built to operate your account at a human pace, not for volume. If you need reading/publishing at scale, use the Basic plan, which is synchronous and free.
Pricing
Billed per connected account. See docs/precos.md (PT-BR).
Privacy & data protection
- Sub-processors: the LLM host you choose (Claude, ChatGPT, Cursor, your own agent). Full list in docs/privacidade-lgpd.md.
- Data returned by the tools is sent to the LLM host you choose, a sub-processor outside our control. We recommend plans with training opt-out.
FAQ
What is the difference between the Basic and Advanced plans? Basic is free, connects in 2 clicks and uses the official Instagram API (publishing, comments, DMs, insights). Advanced is a subscription per connected account and adds, on that same account, liking, following, unfollowing, listing/viewing stories and starting a DM conversation. Advanced also includes everything in Basic.
Do I need a Business or Creator account? For the Basic plan yes, that is what the official API requires. The Advanced plan connects with username and password (2FA supported) and has no such requirement.
How many actions per minute? Engagement actions are queued and executed one at a time, ~40 s to 2 min each. This MCP does not sell volume or bulk sending. Reading and publishing through the official API do not go through that queue.
Does this touch other people's accounts? No. Every action happens on the account you connected, with your authorization, and each one returns an auditable job id. Use it within Instagram's Terms of Use.
How do I like a post?
Pass the post URL (https://www.instagram.com/p/… or /reel/…) or the shortcode. The numeric id the official API returns in id does not work for liking. If you listed media through the official side, use the permalink field.
Is there a REST API besides MCP? Yes. The same tool set is mirrored over REST with a Bearer token, with OpenAPI and a skill markdown you can paste into your own agent. See docs/api-rest.md.
Is the server open source? The server is proprietary (hosted). This repository is the public wrapper with manifests, docs and skills, all MIT.
Support
License
MIT — see LICENSE. The MCP server at api.mcp.ai/p_instagram is proprietary (hosted); this repo (manifests, docs, skills) is MIT.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。