Purpose
The goal of the Instagram MCP server is to let users control an Instagram account through Claude (Claude Desktop and Claude Web) using natural language, without manually operating the Instagram interface or calling the API directly. It wraps operations such as Instagram content publishing, analytics, comment management, and direct message replies as MCP tools, and Claude automatically handles the API calls.
The project is based on the Instagram Login API (graph.instagram.com), which is Meta's newer solution for Instagram business/creator accounts. Compared with the old Facebook Graph API solution, it does not require linking a Facebook Page, nor does it require an EAA... token, making the process simpler.
Main Capabilities
According to the README, the server provides a total of 14 tools, covering the following scenarios:
- Content creators: View the performance of yesterday's posts (reach, saves, shares); compare the reach of the last 5 Reels and analyze which content works; draft multiple caption options for a post.
- Professionals (such as doctors): Reply professionally to all comments on the latest post; track the number of new followers this week; list all posts this month and their engagement rates.
- Small businesses: View direct messages from the last 24 hours and reply to order questions; publish product photos with captions and hashtags; analyze which post type (Reel/carousel/photo) gets the most reach.
The specific tools include publishing photos, Reels, and carousel content, reading account insights data, managing comments, replying to direct messages, and more. The README does not list the names and detailed parameters of all 14 tools one by one.
How to Use
Option A — Claude Web + mobile (recommended)
- Deploy the server (free, about 2 minutes): when prompted, fill in
META_ACCESS_TOKENandIG_USER_ID. - Connect to Claude Web: go to claude.ai → Settings → Integrations → Add Integration, paste
https://your-app-name.onrender.com/mcp. - Done. Open a new conversation and try: "Show my recent Instagram posts".
Option B — Claude Desktop (local)
Add the configuration to claude_desktop_config.json(the README does not provide the specific configuration content).
Option C — Multiple Instagram accounts (Claude Desktop)
Run the same server folder multiple times with different environment variables. Claude will treat each account as an independent named MCP and will not confuse them. Claude will show separate tools for each account, for example "Post this to My Business" will automatically select the correct account. Each account must be an Instagram business or creator account, and must be added as a tester in the Meta app (Meta app → Use cases → Step 2: Generate access tokens → Add account).
Getting a Token
The server uses the Instagram Login API (graph.instagram.com).
Step 1 — Create or open a Meta app
- Go to developers.facebook.com → My Apps
- Create a new app or open an existing app
- Add the use case: "Manage messaging & content on Instagram"
Step 2 — Generate an access token
- Use cases → Customize → API Setup with Instagram Login
- Step 2: Generate access tokens → click Generate next to the account
- Copy the token → this is the
META_ACCESS_TOKEN - The numeric IG User ID is displayed below the username on the same page
Step 3 — Refresh before expiration (60 days)
The README mentions that the refresh command can be run in the project folder, but does not provide the specific command content.
Use cases
- Content creators who want to get post performance data through chat, compare Reels performance, and generate title drafts.
- Professionals (such as doctors) who want to reply to comments in batches and professionally, and track follower growth and post engagement rates.
- Small businesses that want to publish product content in natural language, reply to order direct messages, and analyze the performance of post types.
- Users who need multi-account management can connect multiple Instagram accounts at the same time in Claude Desktop.
Limitations and prerequisites
- An Instagram Business or Creator account is required.
- A Meta Developer app is required, with the "Manage messaging & content on Instagram" use case added.
- When publishing images and videos, the media must be located at a public HTTPS URL—Instagram pulls the content from that URL. Local file paths cannot be used. Cloudinary (free), S3, or a public GitHub raw URL can be used.
- Each account used for multi-account configuration must be added as a tester in the Meta app.
- Tokens are valid for 60 days and need to be refreshed.
- The README mentions "Demo GIF coming soon"; no demo content has been provided yet.
- The project is built with FastMCP and is based on the Instagram Graph API.
- It uses the MIT license and can be used, forked, and commercially deployed for free.
Troubleshooting and contributions
The README includes a Troubleshooting section, but does not list specific troubleshooting content. PRs are welcome: if adding a new tool or fixing a metric name mismatch, it must be tested against a real Instagram account, the tool table in the README must be updated, and the API permissions required by the new tool must be noted.