原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。使用 Google 登录即可撰写评价。原型 · 每 30 分钟更新
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚 登录

Instagram MCP Server

作者:qaassimq版本 1.0.0i★ 0i在你的电脑上运行代码仓库 ↗
注册名称io.github.qaassimq/instagram-mcp-server

安装方法

能做什么

Instagram via Meta's official Graph API: publishing, comments, DMs, insights and discovery.

作者提供的原文

  • 连接方式 在你的电脑上运行
  • 账号或密钥 需要 IG_ACCESS_TOKEN, IG_AUTH_MODE, IG_APP_SECRET · 需填写 1 项设置(IG_USER_ID)
  • 分类 营销与社交媒体

可搭配使用

教 AI 做这类工作的 Skill,可与本项一起使用

scroll-world

A skill that turn any brand into a scrollable 3D world landing page

作者:oso95★ 11,0791 个 skill

Skill · 操作手册

social-auto-upload

自动化上传视频到社交媒体:抖音、小红书、视频号、tiktok、youtube、bilibili

作者:dreammis★ 16,718 (整个仓库)4 个 skill

Skill · 操作手册

native-subtitle-quote-image

保留视频内嵌字幕,精确取帧并生成 3:4 社交长图的 Agent Skill

作者:chengyi-ai★ 2,8931 个 skill

Skill · 操作手册

为什么排在这里

列表按使用分(满分 100)排序,由以下部分组成

热度0/80GitHub 星标或每周下载量:较大的计 60,较小的计 20
新鲜度12/1230 天内有发布或代码更新得满分
仍在响应0/8上次检查时云端端点有响应
使用分12/100

质量: 基础检查通过 3/3 项(仅展示,不用于排序) · 上升势头: 暂无数据 (只用于“上升中”标签)

安装

选择你使用的 AI 应用,然后复制设置。

用一句话让 AI 帮你安装

请帮我安装 Instagram MCP Server。按照 https://mcp.popnx.com/i/qaassimq-instagram-mcp-server.md 操作,先把命令给我看,等我同意后再运行。

粘贴到能在你电脑上工作的 AI(如 Claude Code、Cursor)。它会读取我们的步骤,先给你看命令,等你同意。无需密钥,无需注册。 · 查看 AI 会读取的全文

通过 3/3 项检查 · 在你的电脑上运行 · ✓ 命令已检查 2026年11月14日

第一步:你用哪个 AI?

选择你用的应用,步骤会显示在下方。

可连接 Claude,但需要先准备

需要 Instagram MCP Server 的密钥(在开发者网站创建) · 需要填写 1 项设置(IG_USER_ID) · 需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用

让 AI 帮你安装

把这段话复制到 Claude 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 Claude 安装 MCP server Instagram MCP Server,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "instagram": { "command": "npx", "args": [ "-y", "@qaassim/instagram-mcp-server" ], "env": { "IG_ACCESS_TOKEN": "your-value", "IG_AUTH_MODE": "your-value", "IG_USER_ID": "your-value", "IG_APP_SECRET": "your-value" } } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) IG_ACCESS_TOKEN, IG_AUTH_MODE, IG_APP_SECRET, IG_USER_ID 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 Instagram MCP Server 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 Node.js(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    node -v
    • 显示版本号(例如 v26.13.1)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令

    打开 Node.js 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v

    安装一次,所有需要 Node.js 的工具都能用

  2. 注册并创建 Instagram MCP Server 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    获取密钥的方法见下方开发者的 README

  3. 填写 1 项设置

    这些是程序设置,不是密钥,无需注册。按开发者的说明填写。

    • IG_USER_ID Instagram 专业账号 ID。在 instagram_login 中可选;在 facebook_login 中必填(可通过 instagram_list_pages 查找)。
      查看英文原文Instagram professional account ID. Optional on instagram_login; required on facebook_login (find it with instagram_list_pages).

    说明为自动翻译,变量名保持原样;不确定时请查看原文。

  4. 打开电脑版 Claude 应用的设置文件

    SettingsDeveloperEdit Config

  5. 粘贴这些设置并保存文件

    {
      "mcpServers": {
        "instagram": {
          "command": "npx",
          "args": [
            "-y",
            "@qaassim/instagram-mcp-server"
          ],
          "env": {
            "IG_ACCESS_TOKEN": "your-value",
            "IG_AUTH_MODE": "your-value",
            "IG_USER_ID": "your-value",
            "IG_APP_SECRET": "your-value"
          }
        }
      }
    }

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  6. 退出 Claude 再重新打开

  7. 试一试

    用 Instagram MCP Server 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude 说正在使用 Instagram MCP Server,或回答中出现 Instagram MCP Server 的工具名称,就表示连接成功

2 项可选设置(不填也能用)

上面的命令不填这些也能用。想调整时再按开发者的说明添加。

  • IG_API_VERSION 要固定使用的 Graph API 版本。
    查看英文原文Graph API version to pin.
    · 默认值 v26.0
  • IG_APP_ID Meta 应用 ID。仅在 facebook_login 上的 instagram_get_token_info 和 instagram_refresh_token 中需要。
    查看英文原文Meta app ID. Needed only for instagram_get_token_info and instagram_refresh_token on facebook_login.

说明为自动翻译,变量名保持原样;不确定时请查看原文。

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

ChatGPT 暂时无法连接 Instagram MCP Server

Instagram MCP Server 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器

你可以改用这些方式

A · 使用能连接 Instagram MCP Server 的应用

  • 需要 Instagram MCP Server 的密钥(在开发者网站创建) · 需要填写 1 项设置(IG_USER_ID) · 需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
  • 需要 Instagram MCP Server 的密钥(在开发者网站创建) · 需要填写 1 项设置(IG_USER_ID) · 需要先在电脑上安装 Node.js(只需一次)
  • 需要 Instagram MCP Server 的密钥(在开发者网站创建) · 需要填写 1 项设置(IG_USER_ID) · 需要先在电脑上安装 Node.js(只需一次)
  • 需要 Instagram MCP Server 的密钥(在开发者网站创建) · 需要填写 1 项设置(IG_USER_ID) · 需要先在电脑上安装 Node.js(只需一次)

B · 营销与社交媒体 类中能连接 ChatGPT 的其他服务器

从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的

可连接 Claude Code,但需要先准备

需要 Instagram MCP Server 的密钥(在开发者网站创建) · 需要填写 1 项设置(IG_USER_ID) · 需要先在电脑上安装 Node.js(只需一次)

让 AI 帮你安装

把这段话复制到 Claude Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 Claude Code 安装 MCP server Instagram MCP Server,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):claude mcp add --scope user instagram --env IG_ACCESS_TOKEN=your-value --env IG_AUTH_MODE=your-value --env IG_USER_ID=your-value --env IG_APP_SECRET=your-value -- npx -y @qaassim/instagram-mcp-server 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) IG_ACCESS_TOKEN, IG_AUTH_MODE, IG_APP_SECRET, IG_USER_ID 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 Instagram MCP Server 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 Node.js(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    node -v
    • 显示版本号(例如 v26.13.1)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令

    打开 Node.js 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v

    安装一次,所有需要 Node.js 的工具都能用

  2. 注册并创建 Instagram MCP Server 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    获取密钥的方法见下方开发者的 README

  3. 填写 1 项设置

    这些是程序设置,不是密钥,无需注册。按开发者的说明填写。

    • IG_USER_ID Instagram 专业账号 ID。在 instagram_login 中可选;在 facebook_login 中必填(可通过 instagram_list_pages 查找)。
      查看英文原文Instagram professional account ID. Optional on instagram_login; required on facebook_login (find it with instagram_list_pages).

    说明为自动翻译,变量名保持原样;不确定时请查看原文。

  4. 打开终端

    Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell

  5. 粘贴这条命令并按 Enter

    claude mcp add --scope user instagram --env IG_ACCESS_TOKEN=your-value --env IG_AUTH_MODE=your-value --env IG_USER_ID=your-value --env IG_APP_SECRET=your-value -- npx -y @qaassim/instagram-mcp-server

    按 Enter 前,把“your-value”改成你的密钥

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  6. 在 Claude Code 中输入 /mcp

    应能看到 Instagram MCP Server 在列表中并显示已连接

  7. 试一试

    用 Instagram MCP Server 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude Code 说正在使用 Instagram MCP Server,或回答中出现 Instagram MCP Server 的工具名称,就表示连接成功

2 项可选设置(不填也能用)

上面的命令不填这些也能用。想调整时再按开发者的说明添加。

  • IG_API_VERSION 要固定使用的 Graph API 版本。
    查看英文原文Graph API version to pin.
    · 默认值 v26.0
  • IG_APP_ID Meta 应用 ID。仅在 facebook_login 上的 instagram_get_token_info 和 instagram_refresh_token 中需要。
    查看英文原文Meta app ID. Needed only for instagram_get_token_info and instagram_refresh_token on facebook_login.

说明为自动翻译,变量名保持原样;不确定时请查看原文。

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

可连接 Cursor,但需要先准备

需要 Instagram MCP Server 的密钥(在开发者网站创建) · 需要填写 1 项设置(IG_USER_ID) · 需要先在电脑上安装 Node.js(只需一次)

让 AI 帮你安装

把这段话复制到 Cursor 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 Cursor 安装 MCP server Instagram MCP Server,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "instagram": { "command": "npx", "args": [ "-y", "@qaassim/instagram-mcp-server" ], "env": { "IG_ACCESS_TOKEN": "your-value", "IG_AUTH_MODE": "your-value", "IG_USER_ID": "your-value", "IG_APP_SECRET": "your-value" } } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) IG_ACCESS_TOKEN, IG_AUTH_MODE, IG_APP_SECRET, IG_USER_ID 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 Instagram MCP Server 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 Node.js(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    node -v
    • 显示版本号(例如 v26.13.1)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令

    打开 Node.js 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v

    安装一次,所有需要 Node.js 的工具都能用

  2. 注册并创建 Instagram MCP Server 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    获取密钥的方法见下方开发者的 README

  3. 填写 1 项设置

    这些是程序设置,不是密钥,无需注册。按开发者的说明填写。

    • IG_USER_ID Instagram 专业账号 ID。在 instagram_login 中可选;在 facebook_login 中必填(可通过 instagram_list_pages 查找)。
      查看英文原文Instagram professional account ID. Optional on instagram_login; required on facebook_login (find it with instagram_list_pages).

    说明为自动翻译,变量名保持原样;不确定时请查看原文。

  4. 点击这个按钮打开 Cursor

    在 Cursor 中打开

    Cursor 会请你确认安装,点击 Install

  5. 填写你的密钥

    在 Instagram MCP Server 的设置中,IG_ACCESS_TOKEN, IG_AUTH_MODE, IG_APP_SECRET, IG_USER_ID 还是空的,填入你的密钥并保存

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  6. 在 Cursor 中以 Agent 模式打开 AI 聊天

  7. 试一试

    用 Instagram MCP Server 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Cursor 说正在使用 Instagram MCP Server,或回答中出现 Instagram MCP Server 的工具名称,就表示连接成功

2 项可选设置(不填也能用)

上面的命令不填这些也能用。想调整时再按开发者的说明添加。

  • IG_API_VERSION 要固定使用的 Graph API 版本。
    查看英文原文Graph API version to pin.
    · 默认值 v26.0
  • IG_APP_ID Meta 应用 ID。仅在 facebook_login 上的 instagram_get_token_info 和 instagram_refresh_token 中需要。
    查看英文原文Meta app ID. Needed only for instagram_get_token_info and instagram_refresh_token on facebook_login.

说明为自动翻译,变量名保持原样;不确定时请查看原文。

菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同

可连接 VS Code,但需要先准备

需要 Instagram MCP Server 的密钥(在开发者网站创建) · 需要填写 1 项设置(IG_USER_ID) · 需要先在电脑上安装 Node.js(只需一次)

让 AI 帮你安装

把这段话复制到 VS Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 VS Code 安装 MCP server Instagram MCP Server,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "servers": { "instagram": { "type": "stdio", "command": "npx", "args": [ "-y", "@qaassim/instagram-mcp-server" ], "env": { "IG_ACCESS_TOKEN": "your-value", "IG_AUTH_MODE": "your-value", "IG_USER_ID": "your-value", "IG_APP_SECRET": "your-value" } } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) IG_ACCESS_TOKEN, IG_AUTH_MODE, IG_APP_SECRET, IG_USER_ID 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 Instagram MCP Server 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 Node.js(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    node -v
    • 显示版本号(例如 v26.13.1)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令

    打开 Node.js 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v

    安装一次,所有需要 Node.js 的工具都能用

  2. 注册并创建 Instagram MCP Server 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    获取密钥的方法见下方开发者的 README

  3. 填写 1 项设置

    这些是程序设置,不是密钥,无需注册。按开发者的说明填写。

    • IG_USER_ID Instagram 专业账号 ID。在 instagram_login 中可选;在 facebook_login 中必填(可通过 instagram_list_pages 查找)。
      查看英文原文Instagram professional account ID. Optional on instagram_login; required on facebook_login (find it with instagram_list_pages).

    说明为自动翻译,变量名保持原样;不确定时请查看原文。

  4. 点击这个按钮打开 VS Code

    在 VS Code 中打开

    VS Code 会请你确认安装,点击 Install

  5. 填写你的密钥

    在 Instagram MCP Server 的设置中,IG_ACCESS_TOKEN, IG_AUTH_MODE, IG_APP_SECRET, IG_USER_ID 还是空的,填入你的密钥并保存

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  6. 在 VS Code 中以 Agent 模式打开 AI 聊天

  7. 试一试

    用 Instagram MCP Server 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 VS Code 说正在使用 Instagram MCP Server,或回答中出现 Instagram MCP Server 的工具名称,就表示连接成功

2 项可选设置(不填也能用)

上面的命令不填这些也能用。想调整时再按开发者的说明添加。

  • IG_API_VERSION 要固定使用的 Graph API 版本。
    查看英文原文Graph API version to pin.
    · 默认值 v26.0
  • IG_APP_ID Meta 应用 ID。仅在 facebook_login 上的 instagram_get_token_info 和 instagram_refresh_token 中需要。
    查看英文原文Meta app ID. Needed only for instagram_get_token_info and instagram_refresh_token on facebook_login.

说明为自动翻译,变量名保持原样;不确定时请查看原文。

菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同

其他支持 MCP 的应用(如 Windsurf、Zed、Gemini CLI)添加方式各不相同,请在应用列表中查看

查看所有支持 MCP 的应用 →

JSON 设置在下方“开发者专用”中

卡住了?问问正在用 Instagram MCP Server 的人💬 讨论 →
开发者专用:终端命令和 JSON 设置

安装在电脑上

Claude Code

claude mcp add --scope user instagram --env IG_ACCESS_TOKEN=your-value --env IG_AUTH_MODE=your-value --env IG_USER_ID=your-value --env IG_APP_SECRET=your-value -- npx -y @qaassim/instagram-mcp-server

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "instagram": {
      "command": "npx",
      "args": [
        "-y",
        "@qaassim/instagram-mcp-server"
      ],
      "env": {
        "IG_ACCESS_TOKEN": "your-value",
        "IG_AUTH_MODE": "your-value",
        "IG_USER_ID": "your-value",
        "IG_APP_SECRET": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "instagram": {
      "command": "npx",
      "args": [
        "-y",
        "@qaassim/instagram-mcp-server"
      ],
      "env": {
        "IG_ACCESS_TOKEN": "your-value",
        "IG_AUTH_MODE": "your-value",
        "IG_USER_ID": "your-value",
        "IG_APP_SECRET": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "instagram": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@qaassim/instagram-mcp-server"
      ],
      "env": {
        "IG_ACCESS_TOKEN": "your-value",
        "IG_AUTH_MODE": "your-value",
        "IG_USER_ID": "your-value",
        "IG_APP_SECRET": "your-value"
      }
    }
  }
}

需要你填写的值

  • IG_ACCESS_TOKEN 机密 必填 env
    长期有效的 Instagram 访问令牌:在 instagram_login 上使用 IGAA... 令牌,或在 facebook_login 上使用具有 instagram_ 权限范围的长期有效 Page 或 User 令牌
    查看英文原文Long-lived Instagram access token: an IGAA... token on instagram_login, or a long-lived Page or User token with the instagram_* scopes on facebook_login.
  • IG_AUTH_MODE 机密 必填 env
    Which Meta API path to use. instagram_login needs no Facebook Page (37 tools). facebook_login needs a linked Page and adds hashtag search, business discovery, Page listing and media deletion (42 tool…
  • IG_USER_ID 必填 env
    Instagram 专业账号 ID。在 instagram_login 中可选;在 facebook_login 中必填(可通过 instagram_list_pages 查找)。
    查看英文原文Instagram professional account ID. Optional on instagram_login; required on facebook_login (find it with instagram_list_pages).
  • IG_API_VERSION env
    要固定使用的 Graph API 版本。
    查看英文原文Graph API version to pin.
  • IG_APP_ID env
    Meta 应用 ID。仅在 facebook_login 上的 instagram_get_token_info 和 instagram_refresh_token 中需要。
    查看英文原文Meta app ID. Needed only for instagram_get_token_info and instagram_refresh_token on facebook_login.
  • IG_APP_SECRET 机密 必填 env
    Meta 应用密钥。仅 facebook_login 上的 instagram_get_token_info 和 instagram_refresh_token 需要。
    查看英文原文Meta app secret. Needed only for instagram_get_token_info and instagram_refresh_token on facebook_login.

说明为自动翻译,变量名保持原样;不确定时请查看原文。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

一览

每周下载量i
不在 npm/PyPI 上
连接方式
在你的电脑上运行
最新版本i
1.0.0
发布到注册中心i
2026年11月11日
代码最后更新i
2026年11月11日
作者
qaassimq
软件包
npm: @qaassim/instagram-mcp-server
注册状态
活跃

哪些应用可以使用它

依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。

在你的电脑上运行,适用于

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

全部应用及其优缺点 →

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月20日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 qaassimq 验证,该账户拥有此仓库

  • ✓ 通过

    仍在维护

    代码最后更新于9天前

  • ✓ 通过

    有许可证

    使用 MIT

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

已公开的漏洞(OSV.dev)

OSV.dev 中没有 @qaassim/instagram-mcp-server@1.0.0 的记录

只检查这个版本的包本身,不包括所有依赖 · 检查于 2026年11月16日

我们检查什么 → · JSON

作者:申请重新检查或报告信息错误
给作者:在 README 中加徽章

如果你是作者,可把这段代码贴到 README。徽章会链接回本页。

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/qaassimq-instagram-mcp-server.svg)](https://mcp.popnx.com/en/servers/qaassimq-instagram-mcp-server)

讨论

提问、分享技巧或报告无法使用。按“有帮助”数量排序。

还没有帖子,欢迎第一个提问或分享。

此处内容由用户撰写,不代表 PopNx 团队。

登录后发帖

用户评价

还没有评价

登录后写评价

与“营销与社交媒体”中的其他服务器比较i

  • 星标数多于此分类中其他 4275 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 4275 个服务器的 78% 更新
  • 基础检查结果等于或优于此分类中其他 4275 个服务器的 99%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Instagram MCP Server 安全吗?

它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:IG_ACCESS_TOKEN, IG_AUTH_MODE, IG_APP_SECRET

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于9天前,最新版本(1.0.0)于9天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Relaticle, ChatbotX, X (Twitter) MCP Server by Xquik, Betterlytics, BibiGPT YouTube Video Summarizer

功能相近的其他选择

同一分类、其他作者、命令已通过检查。官方的排在前面,再按星标排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Relaticle

Open-source CRM your AI agents can write to: companies, people, opportunities, tasks and notes.

作者:relaticle正在增长★ 1890今天更新

在云端运行✓ 服务方 · relaticle.com

ChatbotX

Omnichannel customer messaging, CRM contacts, flows, sequences, broadcasts, and AI automation.

作者:ChatbotXIO正在增长★ 1134 整个仓库的星标14天前更新

在云端运行✓ 服务方 · chatbotx.io

Betterlytics

Query your Betterlytics web analytics from AI agents: traffic, funnels, journeys, errors, uptime.

作者:betterlytics正在增长★ 1964个月前更新

在云端运行✓ 服务方 · betterlytics.io
与相似项目对比
本项
Instagram MCP Server
RelaticleChatbotXX (Twitter) MCP Server by XquikBetterlyticsBibiGPT YouTube Video Summarizer
运行位置需要安装在电脑上在云端运行,无需安装在云端运行,无需安装在云端运行,无需安装在云端运行,无需安装在云端运行,无需安装
需要密钥是否否否是否
可在 Claude 中按 + 添加否否否否否否
基础检查3/34/44/44/44/44/4
许可证MITAGPL-3.0NOASSERTIONMITAGPL-3.0MIT
价格登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

instagram-mcp-server

An MCP server for Meta's official Instagram Platform APIs. 37–42 tools covering publishing, media, comments, direct messages, insights, and discovery.

No private endpoints, no scraping, no session cookies, no username/password login. Every call goes to graph.instagram.com or graph.facebook.com with an OAuth token you issued yourself.

  • TypeScript, MCP SDK v2 (@modelcontextprotocol/server), Zod 4
  • stdio and Streamable HTTP transports
  • Graph API v26.0 by default, pinnable
  • Supports both of Meta's Instagram configurations from one codebase

Which auth mode do you want?

Meta ships two different Instagram APIs. This server implements both; IG_AUTH_MODE picks one at startup, and only the tools that mode can actually serve get registered.

instagram_login (default)facebook_login
Hostgraph.instagram.comgraph.facebook.com
Facebook Page requiredNoYes — and you must admin it
Scope familyinstagram_business_*instagram_* + pages_*
Tools registered3742
Publishing, comments, DMs✅✅
Account and media insights✅✅
Mentions (read + reply)✅✅
Hashtag search❌✅
Business discovery (competitors)❌✅
Product tagging / Shopping❌✅
Delete media❌✅
total_views / total_likes / total_comments metrics❌✅

Pick `instagram_login` if your users should be able to connect with just an Instagram account. The onboarding is dramatically simpler and it is Meta's forward-looking path.

Pick `facebook_login` if you need hashtag research, competitor lookup, or Shopping tags. There is no way to get those on the Instagram Login path — it is a Meta product decision, not a gap in this server.

You can run two instances side by side with different modes if you need both.


Setup

1. Requirements
  • Node.js 20.3 or newer
  • An Instagram professional account — Business or Creator. Personal accounts cannot reach the Graph API at all.
  • A Meta app at developers.facebook.com
2. Install

Nothing to install ahead of time. MCP clients can launch it straight from npm:

npx -y @qaassim/instagram-mcp-server

Run on its own, it exits and reports that IG_ACCESS_TOKEN is required. That is expected. Your MCP client supplies the token through env (see step 5).

To install it globally instead:

npm install -g @qaassim/instagram-mcp-server

instagram-mcp-server

From source:

git clone https://github.com/qaassimq/instagram-mcp-server.git

cd instagram-mcp-server npm install npm run build

3. Create the Meta app and get a token
Instagram Login path
  1. In the App Dashboard, create an app and add the Instagram product.
  2. Under Instagram → API setup with Instagram Login, connect your Instagram professional account.
  3. In step 3 of that page, click Generate token next to your account. Copy the IGAA... token.
  4. Request these permissions for your app: instagram_business_basic, instagram_business_content_publish, instagram_business_manage_comments, instagram_business_manage_messages.
Facebook Login path
  1. Add the Instagram product and use API setup with Facebook Login.
  2. Link your Instagram professional account to a Facebook Page you administer.
  3. Generate a long-lived User or Page token with: instagram_basic, instagram_content_publish, instagram_manage_comments, instagram_manage_insights, instagram_manage_messages, instagram_manage_contents, pages_show_list, pages_read_engagement, business_management.
  4. Run the server once and call instagram_list_pages to find your Instagram account ID, then set it as IG_USER_ID.
4. Configure
cp .env.example .env

fill in IG_ACCESS_TOKEN, and IG_USER_ID if using facebook_login

5. Register with a client

Claude Desktop (claude_desktop_config.json) or any stdio MCP client:

{

"mcpServers": { "instagram": { "command": "npx", "args": ["-y", "@qaassim/instagram-mcp-server"], "env": { "IG_ACCESS_TOKEN": "IGAA...", "IG_AUTH_MODE": "instagram_login" } } } }

From a source checkout, use "command": "node" and "args": ["/absolute/path/to/instagram-mcp-server/dist/index.js"] instead.

For a remote deployment:

TRANSPORT=http PORT=3000 npm start

-> http://127.0.0.1:3000/mcp

The HTTP handler validates Host and Origin on localhost binds. Add bearer auth before exposing it beyond localhost — see requireBearerAuth in the SDK authorization docs. The token in IG_ACCESS_TOKEN grants write access to a real Instagram account; an unauthenticated public endpoint hands that to anyone who finds it.

6. Verify
npm run smoke        # 19 checks, no live credentials needed

npx @modelcontextprotocol/inspector node dist/index.js # interactive


Tools

Account and auth (4–5)
ToolNotes
instagram_get_accountProfile plus a capability report for the active mode. Call this first.
instagram_get_publishing_limitQuota used of the 100-post / 24h cap
instagram_get_token_infodebug_token on facebook_login; liveness check on instagram_login
instagram_refresh_tokenExtends a long-lived token. Returns it — does not persist it.
instagram_list_pagesfacebook_login only. Finds your IG_USER_ID.
Publishing (7)

instagram_publish_image · instagram_publish_reel · instagram_publish_story · instagram_publish_carousel · instagram_create_container · instagram_get_container_status · instagram_publish_container

The four high-level tools run Meta's whole create → process → publish flow. If video processing outlasts wait_seconds they return the container ID instead of failing, so an upload is never lost — finish it with instagram_get_container_status then instagram_publish_container. instagram_create_container is the escape hatch for parameters the high-level tools do not expose.

Media (5–6)

instagram_list_media · instagram_get_media · instagram_get_media_children · instagram_list_stories · instagram_list_tagged_media · instagram_delete_media (facebook_login only)

Comments (8)

instagram_list_comments · instagram_get_comment · instagram_list_comment_replies · instagram_create_comment · instagram_reply_to_comment · instagram_hide_comment · instagram_delete_comment · instagram_toggle_media_comments

Direct messages (5)

instagram_list_conversations · instagram_get_conversation · instagram_send_message · instagram_send_media_message · instagram_mark_seen

instagram_get_conversation reports whether the 24-hour reply window is still open, so you can tell a refusal from a policy limit before you try to send.

Insights (5)

instagram_list_metric_catalog · instagram_get_account_insights · instagram_get_media_insights · instagram_get_audience_demographics · instagram_get_story_insights

Metric names change between Graph API versions and an unsupported metric or an invalid metric/breakdown pair is a hard API error. instagram_list_metric_catalog makes no API call and lists exactly what is valid, so the model looks names up instead of guessing. Invalid pairs are rejected locally, before the round-trip.

instagram_get_story_insights reads every live story in one call — story insights disappear with the story after 24 hours.

Discovery (3–6)

instagram_get_mentioned_comment · instagram_get_mentioned_media · instagram_reply_to_mention and on facebook_login only: instagram_search_hashtag · instagram_get_hashtag_media · instagram_business_discovery

There is no "list all mentions" tool, because Meta has no such endpoint. Mentions are delivered to your app through the mentions webhook field and then read by ID. Without a webhook you cannot discover mentions through the API. Photo tags are a different edge and *can* be listed — that is instagram_list_tagged_media.


Limitations you inherit from the Graph API

None of these are implementation gaps. They are Meta's constraints, and no MCP wrapper can route around them.

Account type. Instagram professional accounts only. Personal accounts have no Graph API access whatsoever.

App Review. Serving only your own business needs no review — Standard Access covers it. The moment your app touches *another* business's account you need Advanced Access, which means App Review: app icon, privacy policy, category, test credentials, and an English screencast per permission. instagram_manage_messages is the one that bites first, so DMs will not work for third parties until you pass review.

Publishing. 100 API-published posts per rolling 24 hours, per account; a carousel counts as one. JPEG is the only supported image format. Media must sit at a public HTTPS URL that returns the file directly — Meta fetches it server-side, so local paths, authenticated URLs, redirects and expiring signed URLs all fail. No filters, no Shopping tags, no branded-content tags. alt_text works on image posts but not on reels or stories.

Rate limits. Instagram Platform endpoints run on a Business Use Case limit of 4800 × impressions per 24 hours, where impressions is how many times the account's content hit a screen in the last day. A low-reach account is a low-quota account — your budget scales with the audience you already have, not with your needs. Business Discovery and Hashtag Search sit outside this and fall under standard Platform Rate Limits instead.

Hashtag search. 30 *unique* hashtags per rolling 7 days per account. Resolve a hashtag to its ID once and reuse the ID. recent_media only covers the last 24 hours, and personal-account posts are never returned.

Insights. Carousel albums have no per-child insights. Audience demographics are withheld below roughly 100 followers (an empty result, not an error). impressions was replaced by views for media created after 2024-07-02.

Messaging. A standard reply is only allowed within 24 hours of the user's last message. The HUMAN_AGENT tag extends that to 7 days. Unsolicited DMs are not possible. Recipients are addressed by Instagram-scoped ID (IGSID) from a conversation or webhook — never by public username.

Version churn. Meta retires a Graph API version roughly two years after release; v26.0 shipped 2026-07-29. Pin IG_API_VERSION and treat upgrades as recurring work.


Architecture

src/

index.ts createServer() factory + transport selection config.ts environment resolution, auth-mode validation constants.ts every documented Meta constraint, cited to its doc graph.ts dual-host client, error mapping, cursor pagination format.ts markdown/JSON switch, character-limit guard, renderers tools/ account.ts identity, capabilities, quota, token lifecycle publishing.ts container create → poll → publish

只显示了开头部分;其余内容请在仓库中阅读