Instagram MCP logo

Instagram MCP

by drashrafsaiyed-cyber

Lets Claude publish Instagram content, inspect insights, manage comments, and handle eligible direct-message replies.

Install Instagram MCP

Run the project’s own setup commands, in order.

Setup steps from the project

drashrafsaiyed-cyber/instagram-mcp installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    git clone https://github.com/drashrafsaiyed-cyber/instagram-mcp
    
  2. 2. Install
    uv sync
    
  3. 3. Start the server
    uv run server.py
    

Overview

drashrafsaiyed-cyber/instagram-mcp MCP server exposes Instagram account, publishing, analytics, comments, engagement, events, ads, and messaging operations to Claude. It uses Meta's Instagram Login API through a Python FastMCP server, supporting local stdio and streamable HTTP deployment. Reach for it when an Instagram Business or Creator account needs conversational publishing, performance reporting, moderation, or DM handling. Media published through the API must be available at a public HTTPS URL.

Use cases

  • Publish photos, reels, and carousels from Claude
  • Compare recent posts using reach and engagement metrics
  • Moderate spam and reply to Instagram comments
  • Read conversations and send eligible DM replies
  • Monitor ad and account performance

Key features

  • Instagram photo, reel, and carousel publishing
  • Account and media insights
  • Comment moderation and replies
  • Direct-message thread access and replies
  • Profile, hashtag, event, and ad operations
  • Local stdio and streamable HTTP modes

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

23/23 checks healthy over the last 111d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars2Stargazers on the source repository.
Last commit5mo agoMost recent push to the default branch.
Directory activity6 viewsConfig copies, upvotes, and views on AllMCPs.

How Instagram MCP works

What drashrafsaiyed-cyber/instagram-mcp MCP server does

drashrafsaiyed-cyber/instagram-mcp MCP server gives Claude access to an Instagram Business or Creator account through the Instagram Login API. It can retrieve account details, recent media, account-level insights, and per-post metrics such as reach, views, saves, and interactions.

The server also covers content operations. Claude can publish photos, reels, and carousels, update the profile bio or website, delete posts, search public hashtag posts, and interact with media by liking or unliking it. Comment tools support reading, replying, liking, hiding, and deleting comments.

Messaging capabilities include listing conversations, reading thread messages, and sending replies through the standard 24-hour window or the documented 7-day Human Agent window. The repository also lists tools for creating and listing events, discovering linked ad accounts, and reading advertising metrics such as spend, reach, and click-through rate.

How it works

The server sits between an MCP client and graph.instagram.com. Claude sends tool calls over MCP, while the Python server makes HTTPS REST requests to Instagram's API v21.0 using the configured access token and Instagram user ID. FastMCP 3.x supports both local stdio operation and streamable HTTP operation.

For web or mobile Claude usage, the project can be deployed to Render and connected through an /mcp endpoint. For local Claude Desktop usage, the repository is run with uv and registered as an MCP server. Multiple Instagram accounts can be exposed by running the same project with separate environment values and separate client entries.

Setup and configuration

To run drashrafsaiyed-cyber/instagram-mcp MCP server, use Python 3.11 or later, an Instagram Business or Creator account, and a Meta developer app configured with the “Manage messaging & content on Instagram” use case. The required credentials are META_ACCESS_TOKEN and IG_USER_ID; ACCOUNT_NAME can label an account when several configurations are present.

The access token is generated through Meta's Instagram Login setup. Tokens expire and should be refreshed before their stated lifetime, which the repository documents as 60 days. The account must also be added as a tester in the Meta app when using that development setup.

A local setup clones the repository, runs uv sync, creates .env from .env.example, fills in the credentials, and starts uv run server.py. A Render deployment requires entering the token and user ID during deployment, then adding the resulting MCP URL to Claude's integrations.

Tools and capabilities

The listed operations include:

  • Account information, profile updates, recent media, and account or media insights.
  • Photo, reel, and two-to-ten-image carousel publishing.
  • Comment retrieval, replies, likes, hiding, and permanent deletion.
  • Media likes and unlikes, post deletion, and hashtag search.
  • Conversation listing, message retrieval, and eligible DM replies.
  • Event creation and listing, plus ad account and ad performance queries.

Limitations and notes

Instagram fetches media from its source URL, so photos and videos must be hosted at publicly reachable HTTPS URLs. Local filesystem paths do not work for publishing. Video processing can fail when a video is longer than 90 seconds, uses an unsupported codec, or becomes unavailable after Instagram first fetches it.

DM results can be empty when there is no active 24-hour messaging window. Insights errors may result from using a metric that is valid for an account endpoint but not a media endpoint. An expired or incorrect token must be regenerated or refreshed. Claude Desktop may need a full restart before newly registered tools appear.

The repository is released under the MIT license. It is intended for Instagram accounts supported by the Instagram Login API and does not describe support for ordinary personal accounts.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Instagram MCP

Clone the repository, run `uv sync`, copy `.env.example` to `.env`, add the Instagram token and user ID, then start it with `uv run server.py`.

Yes. The README provides a Claude Desktop configuration using `uv` and `server.py`, with the required credentials supplied as environment variables.

It requires an Instagram Business or Creator account and a Meta developer app using the “Manage messaging & content on Instagram” use case.

No. Images and videos must be available at public HTTPS URLs because Instagram fetches the media from the provided URL.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewInstagram MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/drashrafsaiyed-cyber-instagram-mcp?style=directory)](https://allmcps.com/mcp/drashrafsaiyed-cyber-instagram-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/drashrafsaiyed-cyber-instagram-mcp"><img src="https://allmcps.com/api/badge/drashrafsaiyed-cyber-instagram-mcp?style=directory" alt="Instagram MCP on AllMCPs" /></a>