Instagram MCP for Claude Code and Cursor

instagram-mcp

An MCP server for the Instagram Graph API: the agent publishes posts, carousels and reels, replies to comments and reads business account analytics

MCP serverNeeds a VPN

Meta, the owner of Facebook, Instagram and WhatsApp, is designated an extremist organization in Russia and its activities are banned there.

Install in Claude Code, Cursor and SourceCraft

Other ways to install

Access and checks

How we review

Broad access. The tool can change data, run commands or handle secrets.

  • Publishes posts and reels on behalf of your account
  • Posts and deletes comments and sends direct messages
  • The token opens the business account and the linked Facebook page

This is third-party code. Review the repository files before installing.

What it does

The server works with your Instagram business account through the official Graph API. The README lists 23 tools. Profile and account: profile, pages, account analytics and a token check. Media: post list, post analytics, publishing photos and video, a carousel of 2–10 items, reels and the remaining publishing limit. Comments: read, post, reply, delete and hide. Direct messages: conversation list, reading and sending. Search: hashtag, posts by hashtag, active stories, mentions and a look at another business account.

Who it is for. For SMM specialists and owners of Instagram business accounts who run publishing, comments and analytics and want to hand part of the routine to an agent.

Good fit when

  • You need to publish a carousel or a reel from the chat and check how many posts are left for today
  • You need to go through fresh comments and draft replies
  • You need an analytics summary of the account and posts without opening the app

Not a fit when

  • You have a personal Instagram account: the server works only with Business and Creator
  • You have no Facebook page and no app in Meta for Developers: without them there is no token
  • You are not ready to let an agent publish, delete comments and write direct messages

Example request

Publish a carousel from these three photos with a caption and show how many posts are left for today

MCP

Transport
stdio
Authentication
API key

Keys and settings

INSTAGRAM_ACCESS_TOKEN required, secret
Meta long-lived access token, valid for 60 days
INSTAGRAM_ACCOUNT_ID required
Instagram business account ID
INSTAGRAM_API_VERSION
Graph API version, v19.0 by default

Limitations

An Instagram Business or Creator account, a connected Facebook page and an app in Meta for Developers with the right permissions are required. Direct messages need extended access after Meta review. The token is long-lived and lasts 60 days, then it must be refreshed. Graph API limits per the README: 200 requests an hour, 25 posts a day, 30 unique hashtags in 7 days. The TypeScript source is not in the repository's main branch: main holds the old Python version of the fork, so we checked the code of the published npm package 1.0.4. It talks only to graph.facebook.com. Meta services are restricted in Russia.

How to disable. Remove the instagram entry from the .mcp.json file and revoke the token in the app settings in Meta for Developers.

FAQ

What do I need to connect?

An Instagram Business or Creator account, a Facebook page, an app in Meta for Developers and a long-lived token. The token and account ID are passed as INSTAGRAM_ACCESS_TOKEN and INSTAGRAM_ACCOUNT_ID.

Does the server work with a personal account?

No. Per the README personal accounts are not supported; Business or Creator is required.

How many posts can I publish a day?

25: that is the Graph API limit. A separate server tool shows the remaining limit.

How long does the token last?

A Meta long-lived token is valid for 60 days, then it must be refreshed.

How do I install Instagram MCP?

Run npx skillfoxx add mcp/instagram-mcp in a terminal.

Which agents does Instagram MCP work with?

Instagram MCP works in Claude Code, Cursor, SourceCraft, Koda and Coddy.

Discussion

No questions or reviews yet.

Comparison with similar tools

Cards that share the main search query, and how they differ.

ToolOfficialAuthenticationRepository starsMain difference
Instagram MCP (this card)noAPI key92
Meta Ads MCPyesOAuth1,392advertising in Facebook and Instagram: campaigns, budgets, analytics
Facebook MCPnoAPI key8reading public Facebook pages through the paid HasData API
WhatsApp MCP Servernonot required6,970a personal WhatsApp account: chats, contacts, sending messages

README in short

The npm package README describes a TypeScript rewrite of the jlbadano/ig-mcp server: 23 tools for profile, publishing, comments, direct messages and search through the Instagram Graph API. Installation is npx -y @mcpware/instagram-mcp with the token and account ID in environment variables. The required Meta app permissions and the Graph API limits are listed. MIT license.

README badge

Report a problem