在 Claude、Cursor 和 AI 智能体中使用你的 Instagram 账号:发布、回复和度量
将你自己的 Instagram 账号连接到 Claude、Cursor 或你自己的智能体。通过官方 API:发布照片、视频、轮播帖、Reels 和 Stories,读取和回复评论,通过私信聊天,并获取主页和媒体洞察。使用 Advanced 计划,同一账号还可以点赞帖子、关注和取消关注、列出和观看 Stories,以及发起私信会话。只需 2 次点击(Business 或 Creator 账号)即可连接,也可使用用户名和密码连接,支持 2FA。
📸 真正发布:通过官方 API 发布照片、视频、轮播帖、Reels 和 Stories
💬 评论和私信:读取、回复、标记为已读并列出会话
📈 主页和媒体洞察:触达、曝光、互动
❤️ 在自己账号上进行互动(Advanced 计划):点赞帖子、点赞评论、关注、取消关注、列出/观看 Stories、发起私信会话
🔑 两种连接方式:2 次点击(Business/Creator)或用户是+密码,支持 2FA
🧾 带 job id 的异步操作:跟踪每个操作的状态(
get_job_status、list_jobs)🌐 镜像 REST API:可对接你自己的后端,基于 MCP
💬 兼容任何 MCP 客户端:Claude Desktop、Cursor、VS Code、Cline、Continue
Versão em português · 完整文档(PT-BR) · Agent 技能
一键安装
Claude(Web 和 Desktop)
Anthropic 统一的 MCP 安装入口:claude.ai/customize/connectors。同一链接适用于 Claude Web 和 Claude Desktop(只需登录即可):
手动安装(如果 deeplink 打不开):claude.ai/customize/connectors → + → 添加自定义连接器 → 粘贴 名称 Instagram,URL 填 https://api.mcp.ai/p_instagram。
Cursor
VS Code(Copilot Chat)
ChatGPT、Manus、OpenClaw 及其他 40 多个客户端
适用于任何支持 MCP over HTTP 的 MCP 客户端。服务器网址始终是:
https://api.mcp.ai/p_instagram各客户端的详细信息:INSTALL.md。
Related MCP server: meta-mcp
示例提示词
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 个)
Tool | Description |
| 列出连接到此安装中的 Instagram 账号 — id、用户名、标签。 |
| 点赞一个或多个 Instagram 帖子,可通过帖子 URL 或短代码(shortcode)定位(不是官方 API 返回的数字 media id)。 |
| 按 URL 或 shortcode 列出某个帖子上的评论。 |
| 点赞一个或多个评论。每个 comment_id 必须直接取自 instagram_actions_list_comments。官方 API 的 instagram_get_ig_media_comments 返回的 id 属于不同的命名空间,会被拒绝。返回一个 job… |
关注一个或多个 Instagram 用户。 |
|
| 取关一个或多个 Instagram 用户,通过 @username 指定。 |
| 列出某个用户当前可用的 Stories(只读,不标记为已完成)。 |
| 观看(标记为 Completed)一个或多个用户的资料页上的 Stories。 |
| 向从未给此账号发过消息的人发送第一条 DM(官方 API 无法做到这一点)。 |
| 通过 job_id 获取先前启动的异步操作的状态/进度/结果。 |
| 列出当前账号最近的任务,可按状态过滤。 |
| 获取 Instagram Business 账号信息,包括主页详情和统计数据。 |
| 获取 Instagram 用户的媒体合集(帖子、照片、视频、Reels、轮播帖)。 |
| 获取已发布的 Instagram Media 对象(照片、视频、Stories、Reel 或轮播)。 |
| 获取 Instagram 媒体对象下评论的工具。 |
| 获取 Instagram 媒体对象(照片、视频、Reels、轮播相册)的洞察与指标。 |
| 获取账号级别的洞察与数据(主页浏览、触达、粉丝数等)。 |
| 为 Instagram 帖子创建媒体容器的工具。 |
| 发布前用多张图片/视频创建轮播帖草稿。 |
| 将媒体容器发布到 Instagram Business 账号的工具。 |
| 创建 Instagram 评论回复的工具。 |
| 在已有会话中通过 DM 向 Instagram 用户发送文本消息。 |
| 通过 Instagram DM 向指定用户发送图片。 |
| 将指定 Instagram 用户的 DM 消息标记为已读/已阅。 |
| 获取某个 Instagram DM 会话的详情(参与者等)。 |
| 列出已登录账号的所有 Instagram DM 会话。 |
| 列出某个 Instagram DM 会话的全部消息。 |
各工具的详细说明:docs/ferramentas.md(PT-BR)
工作原理
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互动操作是异步的,单个时间单个执行。 每次约需 ~40 秒到 ~2 分钟,队列是串行的,因此这个 MCP 旨在按照人工操作的节奏来运维你的账号,而不是为了批量处理。如果你的场景需要批量读取/发布,请使用 Basic 计划,它是同步的且免费。
定价
按每个已连接的账号计费。见 docs/precos.md(PT-BR)。
隐私与数据保护
子处理方:你选择的 LLM 主机(Claude、ChatGPT、Cursor、或你自建的 app)。完整列表见 docs/privacidade-lgpd.md。
工具返回的数据会被发送到你选择的 LLM 主机(一个不在我们控制范围内的子处理方)。我们推荐带上“训练 opt-out”的计划。
FAQ
Basic 和 Advanced 计划有什么区别? Basic 是免费的,通过点击 2 次连接,并基于官方 Instagram API(发布、评论、DM、数据分析)。Advanced 则按账号订阅,并在此账号上提供点赞、关注、取关、查看/完成 Stories、发起 DM 会话等功能。Advanced 还包含 Basic 的一切功能。
我需要 Business 或 Creator 账号吗? Basic 需要,这是官方 API 的要求。Advanced 计划使用用户名和密码连接(支持 2FA),则没有这个要求。`# Instagram
在 Claude、Cursor 和 AI 智能体中使用你的 Instagram 账号:发布、回复和监测
将你自己的 Instagram 账号连接到 Claude、Cursor 或你自己的智能体。通过官方 API:发布照片、视频、轮播帖、Reels 和 Stories,读取并回复评论,在 DM 中对话,以及拉取主页和内容洞察。使用 Advanced 计划,同一个账号还可以点赞帖子、关注/取关、列出和查看 Stories、发起 DM 对话。连接方式支持 2 次点击(Business 或 Creator 账号)或使用用户名和密码,并支持 2FA。
📸 真正发布:通过官方 API 发布照片、视频、轮播帖、Reels 和 Stories
💬 评论和私信:读取、回复、标记已读并列出会话
📈 主页与内容洞察:展示、触达、互动
❤️ 在自己账号上执行与操作(Advanced 计划):点赞帖子、点赞评论、关注、取关、查看 Stories、发起私信会话
🔑 两种连接方式:2 次点击(Business/Creator)或用户名和密码,支持 2FA
🧾 带 job id 的异步操作:跟踪每个操作的状态(
get_job_status、list_jobs)🌐 镜像 REST API:服务于你自己的后端,基于 MCP
💬 支持所有 MCP 客户端:Claude Desktop、Cursor、VS Code、Cline、Continue
Versão em português · 完整文档(PT-BR) · Agent 技能
一键安装
Claude(Web 和 Desktop)
Anthropic 的 MCP 统一安装入口在 claude.ai/customize/connectors。同一个链接适用于 Claude Web 和 Claude Desktop(只需登录即可):
手动安装(如果 deeplink 无法打开):claude.ai/customize/connectors → + → 添加自定义连接器 → 粘贴 名称
https://api.mcp.ai/p_instagram。
Cursor
在 Cursor 中安装 Instagram:
VS Code(Copilot Chat)
在 VS Code 中安装 Instagram:
ChatGPT、Manus、OpenClaw 以及其他 40 多个客户端
只要是支持 MCP over HTTP 的 MCP 客户端就可以使用。服务器地址始终是:
https://api.mcp.ai/p_instagram各客户端的具体说明:INSTALL.md。
示例提示
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 account27 个可用工具
工具 | 说明 |
| 列出已连接到当前安装的 Instagram 账号(id、用户名、标签)。 |
| 按帖子 URL 或 shortcode(不是官方 API 返回的数字媒体 id)列出帖子详情。 |
| 点赞一个或多个评论。每个 comment_id 必须来源于 instagram_actions_list_comments;官方 API 返回的 id 属于另一个命名空间,会被拒绝。返回一个 job… |
| 按 @用户名 关注一个或多个 Instagram 用户。 |
| 按 @用户名 取关一个或多个 Instagram 用户。 |
| 列出某用户当前可看的 Stories(只读,不会标记为 seen)。 |
| 将某一个或多个账号的 Stories 标记为“已看”。 |
| 向从未私信过这个账号的人发送第一条 DM(官方 API 做不到这一点)。 |
| 通过 job_id 获取先前启动的操作的状态/进度/结果。 |
| 列出当前账号最近的异步任务,可通过状态筛选。 |
| 获取 Instagram 商业账号信息,包括主页详情和统计数字。 |
| 获取 Instagram 用户的媒体合集(帖子、照片、视频、Reels、轮播帖)。 |
| 获取单个已发布的 Instagram 媒体对象(帖子、视频、Story、Reel、carousel)。 |
| 获取某个 Instagram 媒体对象下的评论。 |
| 获取 Instagram 媒体对象(照片、视频、Reel、轮播相册)的数据洞察和指标。 |
| 获取账号级别洞察(主页浏览、触达、粉丝数等)。 |
| 创建 Instagram 帖子媒体容器的工具。 |
| 在发布前创建包含多张图片/视频的轮播草稿。 |
| 将媒体容器发布到 Instagram 商业账号的功能。 |
| 回复 Instagram 评论的工具。 |
| 在已有 DM 会话中向某个用户发送文本消息。 |
| 通过 Instagram DM 向特定用户发送图片。 |
| 将某个用户发来的 Instagram DM 标记为已读/已看。 |
| 获取某个 DM 对话的详细资料(参与者等)。 |
| 列出当前登录用户的所有 DM 对话。 |
| 列出某个 DM 对话中所有消息。 |
每个工具的详细说明:docs/ferramentas.md(PT-BR)
工作原理
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互动操作是异步的,并且每次只会运行一个。 每次约需 ~40 秒到 ~2 分钟,并且队列是串行的,因此这个 MCP 设计用于以人工节奏操作你的账号,而不是批量。如果你的需求是大规模读取/发布,请使用 Basic 计划,它是同步的并且免费。
定价
按每个连接的账号计费。请参阅 docs/precos.md(PT-BR)。
隐私与数据保护
子处理器:由你选择的 LLM 主机(Claude、ChatGPT、Cursor、你自己的智能体)。完整列表见 docs/privacidade-lgpd.md。
工具返回的数据会发送到你的 LLM 主机,这是我们处于我们控制之外的一个子处理器。我们推荐选择带有“训练退出”的套餐。
常见问题
Basic 和 Advanced 计划有什么区别?
Basic 免费、2 次点击连接并使用官方 Instagram API(发布、评论、DM、洞察)。Advanced 是按账号订阅计费,并在同一账号上增加点赞/评论/关注/取关、列出和查看 Stories、发起 DM 对话等操作。Advanced 同时包含 Basic 的所有功能。
需要 Business 或 Creator 账号吗?
Basic 计划需要,因为这是官方 API 的要求。Advanced 计划使用用户名和密码连接(支持 2FA),没有这个要求。
每分钟执行多少次操作? 互动操作会排队并逐条执行,每条约需 40 秒到 2 分钟。此 MCP 不售卖数量或批量发送。通过官方 API 的读取和发布不经过该队列。
会接触到其他人的账号吗? 不会。每个操作都发生在你所连接的账号上,并经过你的授权,且每次操作都会返回一个可审计的 job id。请在 Instagram 使用条款的范围内使用它。
如何为帖子点赞?
传入帖子 URL(https://www.instagram.com/p/… 或 /reel/…)或 shortcode。官方 API 在 id 中返回的数字 id 不能用于点赞。如果你是通过官方接口列出媒体,请使用 permalink 字段。
除了 MCP 之外,还有 REST API 吗? 有。同一套工具集也通过 REST 提供,需要 Bearer token 认证,并附带 OpenAPI 和一份可粘贴到你自己的智能体中的 skill markdown 文档。请参阅 docs/api-rest.md。
服务器是开源的么? 服务器是专有(托管)的;本仓库是公开的包装器,包含 manifest、docs 和 skills,全部采用 MIT 许可证。
支持
许可证
MIT — 请参见 LICENSE。位于 api.mcp.ai/p_instagram 的 MCP 服务器是专有(托管)服务;本仓库(清单、文档、技能)为 MIT 许可证。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage Instagram Business accounts by automating content publishing, scheduling posts, and analyzing performance metrics. Supports posts, stories, reels, and carousels with detailed audience insights and hashtag discovery.
- AlicenseAqualityCmaintenanceEnables AI assistants to manage Instagram and Threads accounts — publish content, handle comments, view insights, search hashtags, and manage DMs through the Meta Graph API.594610MIT
- AlicenseCqualityFmaintenanceEnables professional Threads management with enterprise-grade analytics, AI-powered content optimization, and automation features, including posting, scheduling, audience insights, and bulk operations.453012MIT
- FlicenseAqualityCmaintenanceEnables posting and managing Instagram content (photos, reels, stories, carousels) and interacting with media and comments via Instagram Graph API.1040
Related MCP Connectors
Post, schedule and read analytics on X, LinkedIn, Instagram, TikTok, YouTube, Bluesky and more.
Schedule, publish, and analyze social posts on TikTok, Instagram, YouTube, X, Threads, LinkedIn.
Schedule and publish social posts to 11 platforms with media, campaigns, analytics and AI captions
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mcp-dir/instagram-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server