Instagram MCP Server

A [Model Context Protocol](https://modelcontextprotocol.io) server that wraps the **Instagram Graph API** so Claude (or any MCP client) can read

Local serverstdioPython

What is the Instagram MCP MCP server?

If you already use Instagram MCP, the instagram mcp mcp server is the piece that lets your assistant work with it directly. A Model Context Protocol server that wraps the Instagram Graph API so Claude (or any MCP client) can read, publish, comment, DM, and pull insights from an Instagram Business or Creator account.

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • Hashtags — The Hashtags tool exposed by this server
  • Publishing — The Publishing tool exposed by this server
  • Comments — The Comments tool exposed by this server
  • Insights — The Insights tool exposed by this server

Installation

The server ships on PyPI as instagram-mcp, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

Credentials and setup notes

Configuration is passed through the environment: IG_USER_ID, IG_ACCESS_TOKEN, YOUR_APP_ID, YOUR_APP_SECRET, SHORT_LIVED_TOKEN, LONG_LIVED_USER_TOKEN, IG_GRAPH_HOST. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

Where it fits

Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Instagram MCP's toolset — Hashtags, Publishing, Comments and 1 more — is a fair guide to whether it matches your workflow. It is maintained by aleemhaider; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
HashtagsThe Hashtags tool exposed by this server.
PublishingThe Publishing tool exposed by this server.
CommentsThe Comments tool exposed by this server.
InsightsThe Insights tool exposed by this server.

How to install the Instagram MCP MCP server

{
  "mcpServers": {
    "instagram": {
      "command": "uvx",
      "args": ["instagram-mcp"],
      "env": {
        "IG_USER_ID": "your-value",
        "IG_ACCESS_TOKEN": "your-value",
        "YOUR_APP_ID": "your-value",
        "YOUR_APP_SECRET": "your-value",
        "SHORT_LIVED_TOKEN": "your-value",
        "LONG_LIVED_USER_TOKEN": "your-value",
        "IG_GRAPH_HOST": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
IG_USER_IDConfiguration value read at startup.Optional
IG_ACCESS_TOKENCredential the server authenticates with.Yes
YOUR_APP_IDConfiguration value read at startup.Optional
YOUR_APP_SECRETCredential the server authenticates with.Yes
SHORT_LIVED_TOKENCredential the server authenticates with.Yes
LONG_LIVED_USER_TOKENCredential the server authenticates with.Yes
IG_GRAPH_HOSTEndpoint or connection string the server talks to.Optional

Example prompts to try

  • Use Instagram MCP to Hashtags.
  • Use Instagram MCP to Publishing.
  • Use Instagram MCP to Comments.

Frequently asked questions

It connects Instagram MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 4 tools (Hashtags, Publishing, Comments, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Instagram MCP directly.