@node2flow/instagram-mcp

@node2flow/instagram-mcp

MCP server for Instagram Graph API providing 25 tools for publishing photos, reels, carousels, and stories, managing comments, viewing insights, and searching hashtags.

Category
Visit Server

README

@node2flow/instagram-mcp

npm version Smithery License: MIT

MCP server for Instagram Graph API — publish photos, reels, carousels, and stories, manage comments, view insights, and search hashtags through 25 tools.

Quick Start

Claude Desktop / Cursor

{
  "mcpServers": {
    "instagram": {
      "command": "npx",
      "args": ["-y", "@node2flow/instagram-mcp"],
      "env": {
        "INSTAGRAM_ACCESS_TOKEN": "your_access_token",
        "INSTAGRAM_ACCOUNT_ID": "your_ig_business_account_id"
      }
    }
  }
}

Streamable HTTP (for n8n, custom clients)

INSTAGRAM_ACCESS_TOKEN=xxx npx @node2flow/instagram-mcp --http
# Server starts on http://localhost:3000/mcp

Docker

docker compose up -d

Configuration

Variable Required Description
INSTAGRAM_ACCESS_TOKEN Yes Facebook/Instagram User Access Token with instagram_* permissions
INSTAGRAM_ACCOUNT_ID No Instagram Business Account ID (find via Facebook Page settings)

Getting an Access Token

  1. Go to Meta for Developers > Graph API Explorer
  2. Select your app, request these permissions:
    • instagram_basic — Read profile and media
    • instagram_content_publish — Publish media
    • instagram_manage_comments — Manage comments
    • instagram_manage_insights — Read insights
    • pages_show_list, pages_read_engagement
  3. Generate a User Access Token and exchange for a long-lived token

Finding Your Instagram Account ID

GET /me/accounts?fields=instagram_business_account

The instagram_business_account.id is your Instagram Account ID.

25 Tools

Category Tools Description
Account (3) ig_get_account, ig_get_account_insights, ig_list_media Profile info, analytics, media list
Publishing (4) ig_publish_photo, ig_publish_carousel, ig_publish_reel, ig_publish_story Create posts, reels, carousels, stories
Media (3) ig_get_media, ig_get_media_insights, ig_get_children Media details, analytics, carousel items
Comments (5) ig_list_comments, ig_get_comment, ig_reply_comment, ig_delete_comment, ig_hide_comment Comment management + moderation
Stories (2) ig_list_stories, ig_get_story_insights Active stories + analytics
Hashtags (3) ig_search_hashtag, ig_get_hashtag_recent, ig_get_hashtag_top Hashtag research + discovery
Mentions (2) ig_list_tags, ig_get_mentioned_media Tagged and mentioned media

Prompts

Prompt Description
content-publishing Guide for publishing photos, reels, carousels, and stories
analytics-guide Guide for viewing account and media insights

License & Links

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured