Instagram MCP Server

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

October 19, 2026
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 66 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

The server exposes 66 tools across Instagram, Threads, and the Meta platform. These are the exact tool names from the upstream README.

ToolPurpose
meta_exchange_tokenExchange a short-lived token for a long-lived token (~60 days)
meta_refresh_tokenExtend an Instagram/Facebook token or refresh a Threads token
meta_debug_tokenInspect token validity, expiration, and scopes
meta_get_app_infoGet Meta App information
meta_subscribe_webhookSubscribe to webhook notifications
meta_get_webhook_subscriptionsList current webhook subscriptions
ig_publish_photoPublish a photo post
ig_publish_videoPublish a video post
ig_publish_carouselPublish a carousel/album (2-10 items)
ig_publish_reelPublish a Reel
ig_publish_storyPublish a Story (24hr)
ig_get_container_statusCheck media container processing status
ig_get_media_listList published media
ig_get_mediaGet media details
ig_delete_mediaDelete a media post
ig_get_media_insightsGet media analytics (views, reach, saved, shares)
ig_toggle_commentsEnable/disable comments on a post
ig_get_commentsGet comments on a post
ig_get_commentGet comment details
ig_post_commentPost a comment
ig_get_repliesGet replies to a comment
ig_reply_to_commentReply to a comment
ig_hide_commentHide/unhide a comment
ig_delete_commentDelete a comment
ig_get_profileGet account profile info
ig_get_account_insightsGet account-level analytics (views, reach, follower_count)
ig_business_discoveryLook up another business account
ig_get_collaboration_invitesGet pending collaboration invites
ig_respond_collaboration_inviteAccept or decline collaboration invites
ig_search_hashtagSearch hashtag by name
ig_get_hashtagGet hashtag info
ig_get_hashtag_recentGet recent media for a hashtag
ig_get_hashtag_topGet top media for a hashtag
ig_get_mentioned_commentsGet comments mentioning you
ig_get_tagged_mediaGet media you're tagged in
ig_get_conversationsList DM conversations
ig_get_messagesGet messages in a conversation
ig_send_messageSend a DM
ig_get_messageGet message details
threads_publish_textPublish a text post
threads_publish_imagePublish an image post
threads_publish_videoPublish a video post
threads_publish_carouselPublish a carousel (2-20 items)
threads_delete_postDelete a post (max 100/day)
threads_get_container_statusCheck container processing status
threads_get_publishing_limitCheck remaining publishing quota
threads_get_postsList published posts
threads_get_postGet post details
threads_get_profile_postsList a public profile's posts by username
threads_search_postsSearch public posts by keyword or topic tag
threads_get_repliesGet top-level replies to a post
threads_get_conversationGet all replies, including nested
threads_replyReply to a post
threads_hide_replyHide a reply
threads_unhide_replyUnhide a reply
threads_get_pending_repliesGet replies awaiting approval
threads_manage_pending_replyApprove or ignore a pending reply
threads_get_profileGet Threads profile info
threads_get_user_threadsList the user's threads
threads_lookup_profileLook up a public profile by username
threads_get_mentionsGet posts where the user was mentioned
threads_search_locationsSearch for locations to tag
threads_get_locationGet a location object by ID
threads_get_oembedGet embed HTML/metadata for a public post
threads_get_post_insightsGet post analytics
threads_get_user_insightsGet account-level analytics

Detailed Usage

ig_publish_photoβ–Ά

Publishes a photo post and supports alt text.

ig_get_account_insightsβ–Ά

Returns account-level analytics such as views, reach, and follower count.

ig_reply_to_commentβ–Ά

Replies to a comment on an Instagram post.

ig_send_messageβ–Ά

Sends a direct message through Instagram Messaging.

threads_publish_textβ–Ά

Publishes a Threads text post with optional polls, GIFs, topic tags, and link attachments.

threads_search_postsβ–Ά

Searches public Threads posts by keyword or topic tag.

Installation

{
  "mcpServers": {
    "meta": {
      "command": "npx",
      "args": ["-y", "@mikusnuz/meta-mcp"],
      "env": {
        "INSTAGRAM_ACCESS_TOKEN": "your_ig_token",
        "INSTAGRAM_USER_ID": "your_ig_user_id",
        "INSTAGRAM_MESSAGING_ACCESS_TOKEN": "your_page_access_token",
        "INSTAGRAM_PAGE_ID": "your_linked_page_id",
        "THREADS_ACCESS_TOKEN": "your_threads_token",
        "THREADS_USER_ID": "your_threads_user_id"
      }
    }
  }
}

Meta Business Account Required:

Instagram requires a Business or Creator account. Set only the variables for the platforms you use β€” Instagram needs INSTAGRAM_ACCESS_TOKEN and INSTAGRAM_USER_ID; the DM tools additionally need INSTAGRAM_MESSAGING_ACCESS_TOKEN and INSTAGRAM_PAGE_ID. Create a Meta Developer App at developers.facebook.com.

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