@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.
README
@node2flow/instagram-mcp
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
- Go to Meta for Developers > Graph API Explorer
- Select your app, request these permissions:
instagram_basic— Read profile and mediainstagram_content_publish— Publish mediainstagram_manage_comments— Manage commentsinstagram_manage_insights— Read insightspages_show_list,pages_read_engagement
- 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
- License: MIT
- npm: @node2flow/instagram-mcp
- GitHub: node2flow-th/instagram-mcp-community
- Smithery: node2flow/instagram
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。