Instagram MCP Server

Instagram MCP server provides comprehensive Instagram Graph API integration with 57 tools for publishing, comments, story management, insights, and direct messaging.

May 4, 2025
MCP ServerSocial MediaInstagram MCP Server
GitHub stars

Overview

The Instagram MCP Server brings the full power of Instagram's platform to AI assistants via the Meta Graph API. With 57 tools covering posts, stories, comments, insights, direct messages, and content management, this server provides the most comprehensive Instagram integration available. It also includes Threads API support for managing both platforms.

Community MCP Server:

Integrates with the Instagram Graph API and Threads API through Meta's platform

Key Features

📷

Publish Content

Create and publish feed posts, carousels, reels, and stories with media and captions

💬

Comments & Engagement

Read, reply to, and moderate comments on your posts and reels

📊

Analytics & Insights

Access detailed analytics on reach, impressions, engagement, and audience demographics

✉️

Direct Messages

Send and receive DMs, manage conversations, and handle message requests

📱

Story Management

Post stories, view story insights, and manage story replies and interactions

👥

Audience Management

View follower data, manage blocked users, and analyze audience growth

Available Tools

Quick Reference

ToolPurpose
create_postCreate a new feed post with image or video media
get_insightsGet analytics data for posts, stories, or your account
manage_commentsRead, reply, and moderate comments on your content
send_dmSend a direct message to a user
create_storyPost a story with media and interactive stickers
get_audienceView audience demographics and growth metrics

Detailed Usage

create_post

Publish a new feed post with media and caption.

{
  "media_url": "https://example.com/photo.jpg",
  "caption": "Check out our latest product launch! 🚀",
  "media_type": "image"
}
get_insights

Get analytics for your account, posts, or stories.

{
  "metric": "reach",
  "period": "last_30_days"
}
manage_comments

Read, reply to, or moderate comments on your posts.

{
  "media_id": "123456789",
  "action": "reply",
  "comment_id": "987654321",
  "text": "Thanks for your feedback!"
}
send_dm

Send a direct message to an Instagram user.

{
  "recipient_id": "user_12345",
  "message": "Hi! Thanks for following us."
}

Installation

{
  "mcpServers": {
    "instagram": {
      "command": "npx",
      "args": ["-y", "meta-mcp"],
      "env": {
        "META_ACCESS_TOKEN": "your_meta_access_token",
        "INSTAGRAM_BUSINESS_ID": "your_business_id"
      }
    }
  }
}

Meta Business Account Required:

You'll need an Instagram Business or Creator account connected to a Meta Business Account. Get your access token from the Meta for Developers platform.

Use Cases

Content Scheduling

Have AI create and schedule Instagram posts based on your content calendar and brand guidelines.

Engagement Automation

Automate responses to comments and DMs with contextually appropriate replies.

Performance Reports

Generate weekly or monthly performance reports with insights on reach, engagement, and growth.

Community Moderation

Use AI to moderate comments, flag inappropriate content, and manage your community.

Sources