
narla-venkata-anand-sai-kumar/openinstaflow
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
OpenInstaFlow — オープンソース Instagram Graph API を MCP クライアントに公開する MCP サーバー (Claude Desktop, Claude Code, Cursor )
概要
MCP クライアント (Claude デスクトップ、Claude コード、Cursor、...) に露出する MCP サーバー。 — Instagram Business/Creator アカウントでサーバーを指し、モデルがプロフィール、投稿、インサイトを読み込み、メディアを公開し、Facebook ページを管理し、DM を処理します。 stdio サブプロセスとして実行 — ホストにサーバーがない。 npx openinstaflow だけ。 — ライブ、添付可能なコンテキスト: instagram://profile, instagram://media, instagram://insights. — 既製のテンプレート: analytics engagement, content strategy, hashtag analysis. MCP クライアント設定 (Claude デスクトップ: claude desktop config.json; Claude コード: .mcp.json): クライアントを再起動し、OpenInstaFlow ツール/リソース/プロンプトが表示されます。 サーバの env ブロック (above) でこれらを設定します。 すべてのツールは、オプションの access token/ ig user id 引数を 1 つの呼び出しの env として受け入れます。そのため、複数のアカウントを 1 つの実行するサーバーが実行できます.
概要(AI 翻訳)
すべてのMCPにInstagram Graph APIを公開するMCPサーバー クライアント(Claudeデスクトップ、Claudeコード、カーソル、…)。 独自のメタトークンを保有 — サーバをオンにします Instagramビジネス/クリエイターアカウントとモデルは、プロフィール、投稿、インサイトを閲覧できます。 Facebookページを投稿し、DMを処理します。
stdio サブプロセスとして実行 — ホストにサーバーがない。 npx openinstaflow だけ。
##特徴
**
| ツール | お問い合わせ |
お問い合わせ
| [get_profile_info | プロフィール詳細: ユーザー名、バイオ、ウェブサイト、フォロワー/フォロー/メディアカウント、アバター |
| 【[[T2]】 | 最近の投稿(キャプション・タイプ・パーマリンク・いいね・コメント・件数) |
| [get_media_insights | パーポストエンゲージメント(リーチ、いいね、コメント、保存、株式、その他) |
| [publish_media | パブリックメディアURLから画像/リール/ストーリー/カルーセルを公開 |
| [get_account_pages | 接続されたFacebookページ+ページトークン+リンクされたIGアカウント*(FBログイン)* |
| [get_conversations | Instagram DMスレッド一覧 ※(アドバンストアクセス)* |
| [get_conversation_messages | スレッドでメッセージを読む (高度なアクセス) |
| 【[[T8]】 | DM(高度アクセス)に返信 ※ |
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
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"
}
}
}
}