
narla-venkata-anand-sai-kumar/openinstaflow
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
OpenInstaFlow — An MCP server that exposes the Instagram Graph API to any MCP client (Claude Desktop, Claude Code, Cursor )
개요
An MCP server that exposes the to any MCP client (Claude Desktop, Claude Code, Cursor, …). — point the server at your Instagram Business/Creator account and the model can read your profile, posts and insights, publish media, manage Facebook Pages, and handle DMs. Runs as a stdio subprocess — no server to host. Just npx openinstaflow. — live, attachable context: instagram://profile, instagram://media, instagram://insights. — ready-made templates: analyze_engagement, content_strategy, hashtag_analysis. Add it to your MCP client config (Claude Desktop: claude_desktop_config.json; Claude Code: .mcp.json): Restart the client and the OpenInstaFlow tools/resources/prompts appear. Set these in the server's env block (above): Every tool also accepts optional access_token / ig_user_id arguments that the env for that single call — so one running server can drive multiple accounts.
README
원문 README의 일부입니다. 원문 보기.
OpenInstaFlow — Instagram MCP server
An MCP server that exposes the Instagram Graph API to any MCP client (Claude Desktop, Claude Code, Cursor, …). Bring your own Meta token — point the server at your Instagram Business/Creator account and the model can read your profile, posts and insights, publish media, manage Facebook Pages, and handle DMs.
Runs as a stdio subprocess — no server to host. Just npx openinstaflow.
Features
🔧 Tools (model-controlled)
| Tool | What it does |
|---|---|
get_profile_info |
Profile details: username, bio, website, follower/following/media counts, avatar |
get_media_posts |
Recent posts (caption, type, permalink, like/comment counts) with paging |
get_media_insights |
Per-post engagement (reach, likes, comments, saves, shares, …) |
publish_media |
Publish an image / reel / story / carousel from public media URLs |
get_account_pages |
List connected Facebook Pages + their Page tokens + linked IG account (FB Login) |
get_conversations |
List Instagram DM threads (Advanced Access) |
get_conversation_messages |
Read messages in a thread (Advanced Access) |
send_dm |
Reply to a DM (Advanced Access) |
📊 Resources (application-controlled) — live, attachable context:
instagram://profile, instagram://media, instagram://insights.
💬 Prompts (user-controlled) — ready-made templates:
analyze_engagement, content_strategy, hashtag_analysis.
Quick start
Add it to your MCP client config (Claude Desktop: claude_desktop_config.json; Claude Code: .mcp.json):
{
"mcpServers": {
"openinstaflow": {
"command": "npx",
"args": ["-y", "openinstaflow"],
"env": {
"IG_ACCESS_TOKEN": "",
"IG_USER_ID": "",
"IG_LOGIN_KIND": "ig_login"
}
}
}
}
Restart the client and the OpenInstaFlow tools/resources/prompts appear.
Authentication
Set these in the server’s env block (above):
| Var | Required | Notes |
|---|---|---|
IG_ACCESS_TOKEN |
✅ | Long-lived Instagram/Meta access token with content-publishing scope |
IG_USER_ID |
✅ (most tools) | Your Instagram Business/Creator account id |
IG_LOGIN_KIND |
– | ig_login (default, graph.instagram.com) or fb_login (graph.facebook.com, required for Pages + DMs) |
IG_GRAPH_VERSION |
– | Graph version for the facebook.com base (default v23.0) |
FB_PAGE_ID / FB_PAGE_ACCESS_TOKEN |
– | Page id + token for Pages/DM tools (FB Login) |
META_APP_ID / META_APP_SECRET |
– | Only needed if you add token-refresh/debug flows |
Every tool also accepts optional access_token / ig_user_id arguments that override the env for
that single call — so one running server can drive multiple accounts.
Permissions
- Reading + publishing need a Business/Creator account and the usual content-publishing
설치
npx -y openinstaflow설정
{
"mcpServers": {
"openinstaflow": {
"command": "npx",
"args": ["-y", "openinstaflow"],
"env": {
"IG_ACCESS_TOKEN": "<your long-lived token>",
"IG_USER_ID": "<your IG business account id>",
"IG_LOGIN_KIND": "ig_login"
}
}
}
}