Sign In

@mcpware/ig-mcp

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mcpware/ig-mcp

Instagram MCP server — 23 tools for the Instagram Graph API. Manage posts, comments, DMs, stories, hashtags, reels, carousels, and analytics.

latest
Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
9
12.5%
Maintainers
1
Weekly downloads
 
Created
Source

@mcpware/ig-mcp

Instagram MCP server — 23 tools for the Instagram Graph API via Model Context Protocol.

Manage posts, comments, DMs, stories, hashtags, reels, carousels, and analytics from Claude Code, Cursor, or any MCP client.

Quick Start

npx @mcpware/ig-mcp

Claude Code / Cursor .mcp.json

{
  "mcpServers": {
    "instagram": {
      "command": "npx",
      "args": ["-y", "@mcpware/ig-mcp"],
      "env": {
        "INSTAGRAM_ACCESS_TOKEN": "your-meta-long-lived-token",
        "INSTAGRAM_ACCOUNT_ID": "your-ig-business-account-id"
      }
    }
  }
}

Prerequisites

  • Instagram Business or Creator account (personal accounts are not supported by the Graph API)
  • Meta long-lived access token with permissions:
    • instagram_basic — profile info, media
    • instagram_content_publish — publish posts, reels, carousels
    • instagram_manage_comments — read/write comments
    • instagram_manage_insights — analytics
    • instagram_manage_messages — DMs (requires Advanced Access from Meta)
    • pages_show_list — connected Facebook pages
  • Instagram Business Account ID — found in Meta Business Suite or via get_account_pages tool

Environment Variables

VariableRequiredDefaultDescription
INSTAGRAM_ACCESS_TOKENYesMeta long-lived access token
INSTAGRAM_ACCOUNT_IDYesInstagram business account ID
INSTAGRAM_API_VERSIONNov19.0Graph API version

Tools (23)

Profile & Account

ToolDescription
get_profile_infoGet profile info (bio, followers, media count)
get_account_pagesList connected Facebook pages
get_account_insightsAccount-level analytics (reach, profile views)
validate_access_tokenCheck if token is valid

Media & Publishing

ToolDescription
get_media_postsGet recent posts with engagement metrics
get_media_insightsDetailed analytics for a specific post
publish_mediaPublish image or video
publish_carouselPublish carousel (2-10 images/videos)
publish_reelPublish a Reel
get_content_publishing_limitCheck daily publishing quota

Comments

ToolDescription
get_commentsGet comments on a post
post_commentPost a comment
reply_to_commentReply to a comment
delete_commentDelete a comment
hide_commentHide/unhide a comment

Direct Messages

ToolDescription
get_conversationsList DM conversations
get_conversation_messagesRead messages in a conversation
send_dmSend a direct message

Discovery & Content

ToolDescription
search_hashtagSearch for a hashtag ID
get_hashtag_mediaGet top/recent media for a hashtag
get_storiesGet current active stories
get_mentionsGet posts you're tagged in
business_discoveryLook up another business account

Limitations

These are Instagram Graph API limitations, not this tool's:

  • Business/Creator accounts only — personal accounts are not supported
  • Long-lived tokens expire after 60 days — refresh before expiry
  • 200 API calls per hour rate limit
  • 25 posts per day publishing limit
  • DMs require Advanced Access — Meta app review required
  • Hashtag search: 30 unique hashtags per 7 days

Credits

TypeScript rewrite of jlbadano/ig-mcp (Python).

License

MIT

Keywords

mcp

FAQs

Package last updated on 18 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts