MCP Catalogs
Home

ig-mcp

by jlbadano·127·Score 46

Production-ready MCP server enabling AI applications to interact with Instagram Business accounts through the Graph API.

mediacommunicationproductivity
31
Forks
7
Open issues
3 mo ago
Last commit
2d ago
Indexed

Overview

The ig-mcp server provides comprehensive access to Instagram's business features through MCP tools, resources, and prompts. It enables profile information retrieval, media management, publishing capabilities, conversation handling, and analytics. The server includes robust authentication handling with clear documentation for both standard and advanced access levels. The codebase is well-structured with proper error handling, rate limiting, and security considerations.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:Social media managers analyzing engagement metrics and creating content strategies
you:Marketing teams automating Instagram content publishing
you:Business owners monitoring their Instagram performance through AI assistants
you:What permissions are required for Instagram DM features?
you:How do I handle token expiration?

When to choose this

Choose this MCP server if you need to integrate Instagram Business API into AI applications for content management, analytics, or customer interactions through DMs.

When NOT to choose this

Avoid this if you need personal Instagram account integration, don't have a Facebook-connected business account, or require features not available through the Instagram Graph API.

Tools this server exposes

8 tools extracted from the README
  • Get Profile Info

    Retrieve Instagram business profile details

  • Get Media Posts

    Fetch recent posts from an Instagram account

  • Get Media Insights

    Retrieve engagement metrics for specific posts

  • Publish Media

    Upload and publish images/videos to Instagram

  • Get Account Pages

    List Facebook pages connected to the account

  • Get Conversations

    List Instagram DM conversations (requires Advanced Access)

  • Get Conversation Messages

    Read messages from specific conversations (requires Advanced Access)

  • Send DM

    Reply to Instagram direct messages (requires Advanced Access)

Comparable tools

facebook-api-mcpsocial-media-automationcontent-management-api

Installation

Installation

  1. Clone the repository:
git clone <repository-url>
cd ig-mcp
  1. Install dependencies:
pip install -r requirements.txt
  1. Set up environment variables:
cp .env.example .env
# Edit .env with your Instagram API credentials
  1. Configure the MCP server:
# Edit config.json with your specific settings
  1. Add to Claude Desktop:
{
  "mcpServers": {
    "instagram": {
      "command": "python",
      "args": ["/path/to/ig-mcp/src/instagram_mcp_server.py"],
      "env": {
        "INSTAGRAM_ACCESS_TOKEN": "your_access_token"
      }
    }
  }
}

FAQ

What permissions are required for Instagram DM features?
Instagram direct messaging features require Advanced Access approval from Meta, specifically the 'instagram_manage_messages' permission, which needs to go through the App Review process.
How do I handle token expiration?
The server provides a refresh strategy using the Facebook Graph API to exchange expired tokens for new ones. Long-lived tokens expire after 60 days, so implement automatic refresh before expiration.

Compare ig-mcp with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.