Skip to main content
Glama
Instagram MCP Server

Instagram MCP Server

by Breakreach

Instagram MCP Server

Publish to Instagram, schedule Reels and carousels, read the comments and reply to them, and pull the insights, from Claude, ChatGPT, Cursor or any client that speaks the Model Context Protocol.

You: post this photo to Instagram tomorrow at 9, caption it for a coffee roaster
Claude: [upload_instagram_media] [schedule_instagram_post] Scheduled for Dec 2, 9:00.

The post goes out through the Instagram Graph API on a connected professional account. Nothing has to be confirmed in the Instagram app afterwards.

Install

The server runs over stdio and needs one environment variable: a Breakreach API key, which is what holds your connected Instagram account. Create one free at breakreach.com, connect Instagram, then take the key from Settings → API & MCP.

Claude Code

claude mcp add instagram --env BREAKREACH_API_KEY=br_your_key -- npx -y @breakreach/instagram-mcp

Claude Desktop — claude_desktop_config.json

{
  "mcpServers": {
    "instagram": {
      "command": "npx",
      "args": ["-y", "@breakreach/instagram-mcp"],
      "env": { "BREAKREACH_API_KEY": "br_your_key" }
    }
  }
}

Cursor — ~/.cursor/mcp.json, same block as above.

ChatGPT, and anything that wants a remote server: ChatGPT connectors cannot run a local command, so point it at the hosted Breakreach server instead, https://api.breakreach.com/mcp, which covers Instagram and 19 other networks behind OAuth. Setup per client: breakreach.com/agents.

Related MCP server: Instagram MCP Server

Tools

Tool

What it does

list_instagram_accounts

The connected Instagram accounts and their ids. Call it first.

post_to_instagram

Publish now: feed photo, Reel, carousel or story.

schedule_instagram_post

Put it on the calendar at a time, at the next free slot, or as a draft.

get_next_instagram_slot

The next free slot in the posting schedule.

upload_instagram_media

A local file to an https URL Instagram can fetch.

list_instagram_posts

Drafts, scheduled, published and failed, with their ids.

get_instagram_post_metrics

Views, likes, comments, shares.

get_instagram_insights

Reach, impressions, saves and profile activity for one post.

get_instagram_account_stats

Followers and recent reach per account.

list_instagram_comments

Recent comments on your posts, with the ids needed to reply.

reply_to_instagram_comment

A public reply under a comment.

list_instagram_conversations

The DM inbox.

get_instagram_conversation

The messages of one conversation.

send_instagram_dm

Reply to a DM.

Every tool is named after the network, so an assistant reaches for the right one without being told which server to use. Set BREAKREACH_WORKSPACE if the account has several workspaces and you want one of them by default.

What Instagram allows, and what this does about it

These are the platform's rules, not ours, and they are the part that usually breaks a home-made integration:

  • Aspect ratio. A feed photo has to sit between 4:5 and 1.91:1. Anything outside that is centre-cropped before upload rather than refused. Stories are exempt.

  • Carousels hold 2 to 10 items.

  • Stories last 24 hours and carry no caption; only the first file is used.

  • 25 posts per account per 24 hours, counted by Instagram across every API client.

  • Direct messages can be answered inside 24 hours of the person's last message. After that the window is closed and the send fails.

  • Professional accounts only (business or creator). A personal account cannot publish through the API.

  • You do not need a Facebook Page. The connection uses Instagram login.

Why a single-network server

An assistant handed two dozen tools spread over twenty networks spends its first turn working out which one it wants. Handed post_to_instagram, it posts. If you do want every network in one place (Instagram, TikTok, LinkedIn, X, YouTube, Facebook, Threads, Pinterest, Bluesky, Reddit, Telegram, Discord, Slack, Mastodon, WordPress, Ghost, Dev.to, Hashnode, Tumblr, Google Business Profile), that is the hosted server at https://api.breakreach.com/mcp.

Sister servers, same shape: tiktok-mcp, linkedin-mcp.

Questions people actually ask

Is it free? This server is MIT licensed and free. It talks to Breakreach, where reading is free and publishing needs a plan, from $29 a month.

Does it post without me confirming on my phone? Yes. It is a direct publish on the connected account.

Can it run without Breakreach? No. The account connection, the token refresh, the crop, the rate limits and the retry logic live there. An Instagram integration is mostly that work, not the HTTP call.

Does it read my DMs? Only when you call the inbox tools, and only on the accounts you connected.

Build it yourself

npm install
npm run build
node scripts/smoke.mjs   # MCP handshake, then the tool list

MIT licensed. Issues and pull requests welcome.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      A
      maintenance
      Enables AI applications to interact with Instagram Business accounts through Meta's Graph API, including profile retrieval, media publishing, insights, comments, conversations, and direct messaging.
      -
    • F
      license
      Not graded
      quality
      A
      maintenance
      Enables AI applications to interact with Instagram Business accounts through Instagram's Graph API, supporting profile/media retrieval, insights, media publishing, and optional direct messaging.
      -
    • F
      license
      Not graded
      quality
      A
      maintenance
      Enables AI applications to interact with Instagram Business accounts through Instagram's Graph API, including retrieving profile, media, and insights data, publishing content, and managing direct message conversations.
      -
    • F
      license
      Not graded
      quality
      A
      maintenance
      Enables AI applications to interact with Instagram Business accounts via Instagram's Graph API, including profile/media insights, publishing, and direct messaging.
      -