Instagram MCP Server
Instagram MCP server provides comprehensive Instagram Graph API integration with 66 tools for publishing, comments, story management, insights, and direct messaging.
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.
| Tool | Purpose |
|---|---|
meta_exchange_token | Exchange a short-lived token for a long-lived token (~60 days) |
meta_refresh_token | Extend an Instagram/Facebook token or refresh a Threads token |
meta_debug_token | Inspect token validity, expiration, and scopes |
meta_get_app_info | Get Meta App information |
meta_subscribe_webhook | Subscribe to webhook notifications |
meta_get_webhook_subscriptions | List current webhook subscriptions |
ig_publish_photo | Publish a photo post |
ig_publish_video | Publish a video post |
ig_publish_carousel | Publish a carousel/album (2-10 items) |
ig_publish_reel | Publish a Reel |
ig_publish_story | Publish a Story (24hr) |
ig_get_container_status | Check media container processing status |
ig_get_media_list | List published media |
ig_get_media | Get media details |
ig_delete_media | Delete a media post |
ig_get_media_insights | Get media analytics (views, reach, saved, shares) |
ig_toggle_comments | Enable/disable comments on a post |
ig_get_comments | Get comments on a post |
ig_get_comment | Get comment details |
ig_post_comment | Post a comment |
ig_get_replies | Get replies to a comment |
ig_reply_to_comment | Reply to a comment |
ig_hide_comment | Hide/unhide a comment |
ig_delete_comment | Delete a comment |
ig_get_profile | Get account profile info |
ig_get_account_insights | Get account-level analytics (views, reach, follower_count) |
ig_business_discovery | Look up another business account |
ig_get_collaboration_invites | Get pending collaboration invites |
ig_respond_collaboration_invite | Accept or decline collaboration invites |
ig_search_hashtag | Search hashtag by name |
ig_get_hashtag | Get hashtag info |
ig_get_hashtag_recent | Get recent media for a hashtag |
ig_get_hashtag_top | Get top media for a hashtag |
ig_get_mentioned_comments | Get comments mentioning you |
ig_get_tagged_media | Get media you're tagged in |
ig_get_conversations | List DM conversations |
ig_get_messages | Get messages in a conversation |
ig_send_message | Send a DM |
ig_get_message | Get message details |
threads_publish_text | Publish a text post |
threads_publish_image | Publish an image post |
threads_publish_video | Publish a video post |
threads_publish_carousel | Publish a carousel (2-20 items) |
threads_delete_post | Delete a post (max 100/day) |
threads_get_container_status | Check container processing status |
threads_get_publishing_limit | Check remaining publishing quota |
threads_get_posts | List published posts |
threads_get_post | Get post details |
threads_get_profile_posts | List a public profile's posts by username |
threads_search_posts | Search public posts by keyword or topic tag |
threads_get_replies | Get top-level replies to a post |
threads_get_conversation | Get all replies, including nested |
threads_reply | Reply to a post |
threads_hide_reply | Hide a reply |
threads_unhide_reply | Unhide a reply |
threads_get_pending_replies | Get replies awaiting approval |
threads_manage_pending_reply | Approve or ignore a pending reply |
threads_get_profile | Get Threads profile info |
threads_get_user_threads | List the user's threads |
threads_lookup_profile | Look up a public profile by username |
threads_get_mentions | Get posts where the user was mentioned |
threads_search_locations | Search for locations to tag |
threads_get_location | Get a location object by ID |
threads_get_oembed | Get embed HTML/metadata for a public post |
threads_get_post_insights | Get post analytics |
threads_get_user_insights | Get 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
Related Articles & Guides
LinkedIn MCP Server
LinkedIn MCP server provides AI assistants with professional networking capabilities including content publishing, engagement, and profile management on the world's largest professional network.
Reddit MCP Server
Reddit MCP server provides AI assistants with the ability to browse subreddits, search content, analyze user activity, and discover trending topics across Reddit's communities.
TikTok MCP Server
Clipwise MCP server gives AI assistants Clipwise service information, creator use-case scenarios, and viral TikTok trend search through three MCP tools.