Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words Sign in

Instagram MCP Server

by qaassimqversion 1.0.0i★ 0iRuns on your computerRepository ↗
Registry nameio.github.qaassimq/instagram-mcp-server

How to install

What it does

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

  • Connects Runs on your computer
  • Account or key Needs IG_ACCESS_TOKEN, IG_AUTH_MODE, IG_APP_SECRET · 1 setting to fill in (IG_USER_ID)
  • Category Marketing & social media

Use together with

Skills that teach the AI this kind of work; they work alongside this one

scroll-world

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

by oso95★ 11,0791 skills

Skill · How-to guide

social-auto-upload

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

by dreammis★ 16,718 (whole repo)4 skills

Skill · How-to guide

native-subtitle-quote-image

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

by chengyi-ai★ 2,8931 skills

Skill · How-to guide

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity0/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness12/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score12/100

Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install Instagram MCP Server. Follow https://mcp.popnx.com/i/qaassimq-instagram-mcp-server.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 14, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

You need a Instagram MCP Server key (create it on the maker’s site) · 1 setting(s) to fill in (IG_USER_ID) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Instagram MCP Server for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by 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) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For IG_ACCESS_TOKEN, IG_AUTH_MODE, IG_APP_SECRET, IG_USER_ID, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Instagram MCP Server tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Instagram MCP Server key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Fill in 1 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • IG_USER_ID Instagram professional account ID. Optional on instagram_login; required on facebook_login (find it with instagram_list_pages).

    Descriptions are as written by the maker.

  4. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  5. Paste these settings and save the file

    {
      "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"
          }
        }
      }
    }

    Paste the key only into the app’s field, never into a chat or to anyone

  6. Quit Claude and open it again

  7. Try it

    Use Instagram MCP Server and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using Instagram MCP Server or shows a Instagram MCP Server tool in the answer, you are connected

2 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • IG_API_VERSION Graph API version to pin. · default v26.0
  • IG_APP_ID Meta app ID. Needed only for instagram_get_token_info and instagram_refresh_token on facebook_login.

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect Instagram MCP Server yet

Instagram MCP Server runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect Instagram MCP Server

  • You need a Instagram MCP Server key (create it on the maker’s site) · 1 setting(s) to fill in (IG_USER_ID) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • You need a Instagram MCP Server key (create it on the maker’s site) · 1 setting(s) to fill in (IG_USER_ID) · Install Node.js on your computer first (one time)
  • You need a Instagram MCP Server key (create it on the maker’s site) · 1 setting(s) to fill in (IG_USER_ID) · Install Node.js on your computer first (one time)
  • You need a Instagram MCP Server key (create it on the maker’s site) · 1 setting(s) to fill in (IG_USER_ID) · Install Node.js on your computer first (one time)

B · Others in Marketing & social media that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

You need a Instagram MCP Server key (create it on the maker’s site) · 1 setting(s) to fill in (IG_USER_ID) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Instagram MCP Server for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by 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) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For IG_ACCESS_TOKEN, IG_AUTH_MODE, IG_APP_SECRET, IG_USER_ID, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Instagram MCP Server tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Instagram MCP Server key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Fill in 1 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • IG_USER_ID Instagram professional account ID. Optional on instagram_login; required on facebook_login (find it with instagram_list_pages).

    Descriptions are as written by the maker.

  4. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  5. Paste this command and press 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

    Replace “your-value” with your key before pressing Enter

    Paste the key only into the app’s field, never into a chat or to anyone

  6. Type /mcp in Claude Code

    You should see Instagram MCP Server listed as connected

  7. Try it

    Use Instagram MCP Server and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using Instagram MCP Server or shows a Instagram MCP Server tool in the answer, you are connected

2 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • IG_API_VERSION Graph API version to pin. · default v26.0
  • IG_APP_ID Meta app ID. Needed only for instagram_get_token_info and instagram_refresh_token on facebook_login.

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

You need a Instagram MCP Server key (create it on the maker’s site) · 1 setting(s) to fill in (IG_USER_ID) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Instagram MCP Server for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by 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) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For IG_ACCESS_TOKEN, IG_AUTH_MODE, IG_APP_SECRET, IG_USER_ID, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Instagram MCP Server tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Instagram MCP Server key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Fill in 1 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • IG_USER_ID Instagram professional account ID. Optional on instagram_login; required on facebook_login (find it with instagram_list_pages).

    Descriptions are as written by the maker.

  4. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  5. Fill in your key

    In the Instagram MCP Server settings, IG_ACCESS_TOKEN, IG_AUTH_MODE, IG_APP_SECRET, IG_USER_ID is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  6. Open the AI chat in Cursor in Agent mode

  7. Try it

    Use Instagram MCP Server and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using Instagram MCP Server or shows a Instagram MCP Server tool in the answer, you are connected

2 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • IG_API_VERSION Graph API version to pin. · default v26.0
  • IG_APP_ID Meta app ID. Needed only for instagram_get_token_info and instagram_refresh_token on facebook_login.

Descriptions are as written by the maker.

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

You need a Instagram MCP Server key (create it on the maker’s site) · 1 setting(s) to fill in (IG_USER_ID) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Instagram MCP Server for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by 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) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For IG_ACCESS_TOKEN, IG_AUTH_MODE, IG_APP_SECRET, IG_USER_ID, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Instagram MCP Server tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Instagram MCP Server key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Fill in 1 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • IG_USER_ID Instagram professional account ID. Optional on instagram_login; required on facebook_login (find it with instagram_list_pages).

    Descriptions are as written by the maker.

  4. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  5. Fill in your key

    In the Instagram MCP Server settings, IG_ACCESS_TOKEN, IG_AUTH_MODE, IG_APP_SECRET, IG_USER_ID is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  6. Open the AI chat in VS Code in Agent mode

  7. Try it

    Use Instagram MCP Server and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using Instagram MCP Server or shows a Instagram MCP Server tool in the answer, you are connected

2 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • IG_API_VERSION Graph API version to pin. · default v26.0
  • IG_APP_ID Meta app ID. Needed only for instagram_get_token_info and instagram_refresh_token on facebook_login.

Descriptions are as written by the maker.

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use Instagram MCP Server💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

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"
      }
    }
  }
}

Values you fill in

  • IG_ACCESS_TOKEN secret required env
    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 secret required 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 required env
    Instagram professional account ID. Optional on instagram_login; required on facebook_login (find it with instagram_list_pages).
  • IG_API_VERSION env
    Graph API version to pin.
  • IG_APP_ID env
    Meta app ID. Needed only for instagram_get_token_info and instagram_refresh_token on facebook_login.
  • IG_APP_SECRET secret required env
    Meta app secret. Needed only for instagram_get_token_info and instagram_refresh_token on facebook_login.

Descriptions are as written by the maker.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
Not on npm/PyPI
Connection
Runs on your computer
Latest versioni
1.0.0
Published to registryi
Nov 11, 2026
Code last changedi
Nov 11, 2026
Maker
qaassimq
Packages
npm: @qaassim/instagram-mcp-server
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

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

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 20, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account qaassimq, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed 9 days ago

  • ✓ Pass

    Has a licence

    Uses MIT

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

No entries on OSV.dev for @qaassim/instagram-mcp-server@1.0.0

Checks only this package version, not every dependency · checked Nov 16, 2026

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

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

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Marketing & social mediai

  • More stars than 0% of the other 4275 servers in this category
  • Published to the registry more recently than 78% of the other 4275 servers in this category
  • Basic checks equal to or better than 99% of the other 4275 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is Instagram MCP Server safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

You need to fill in: IG_ACCESS_TOKEN, IG_AUTH_MODE, IG_APP_SECRET

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed 9 days ago, and the latest version (1.0.0) reached the registry 9 days ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: Relaticle, ChatbotX, X (Twitter) MCP Server by Xquik, Betterlytics, BibiGPT YouTube Video Summarizer

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

ChatbotX

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

by ChatbotXIOGrowing★ 1.1K Stars for the whole repoUpdated 14 days ago

Runs in the cloud✓ service owner · chatbotx.io

Betterlytics

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

by betterlyticsGrowing★ 196Updated 4 months ago

Runs in the cloud✓ service owner · betterlytics.io
Compared with similar ones
This one
Instagram MCP Server
RelaticleChatbotXX (Twitter) MCP Server by XquikBetterlyticsBibiGPT YouTube Video Summarizer
Runs whereInstalls on your computerRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to install
Needs a keyYesNoNoNoYesNo
Add with + in ClaudeNoNoNoNoNoNo
Basic checks3/34/44/44/44/44/4
LicenseMITAGPL-3.0NOASSERTIONMITAGPL-3.0MIT
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

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

Only the beginning is shown; read the rest in the repo