Instagram DM MCP Server
Instagram DM MCP サーバー
Instagramダイレクトメッセージ機能用のMCP(モデル・コンシューマー・プロトコル)サーバー。fastmcpとinstagrapi fastmcp使用して構築されています。このサーバーにより、AIアシスタントがInstagramダイレクトメッセージを読み取り、送信できるようになります。
現在のバージョン: 1.3.5
特徴
包括的なスレッド情報とともに、Instagram の受信トレイから最近のダイレクトメッセージを読むことができます
Instagramユーザーにダイレクトメッセージを送信する
シンプルな挨拶リソース(機能例)
ステータス情報を含むヘルスチェックエンドポイント
JSON 解析の問題を回避するために stderr に適切にログを記録する
環境変数を含むさまざまな認証方法のサポート
Related MCP server: Instagram DMs MCP
インストール
npm パッケージとして(推奨)
パッケージをグローバルにインストールします。
npm install -g instagram-dm-mcpセットアップ スクリプトを実行して、Python の依存関係をインストールします。
instagram-dm-mcp-setupサーバーをClaude Desktopに登録し、資格情報を設定します。
instagram-dm-mcp installInstagramのCookie情報を貼り付けるよう求められます。取得方法がわからない場合は、ChromeでInstagramにログインし、ページを右クリックして「検証」を選択してください。「アプリケーション」タブに移動し、左側のサイドバーにある「Cookie」をクリックします。Cookieのリストが表示されます。sessionid、 csrftoken 、 ds_user_idの値sessionidコピーしてください。
installコマンドは、Instagram DM MCPサーバーをClaude Desktopに自動的に登録し、Claude Desktopの設定ファイルに追加します。このコマンドは、サーバーをnpxアプローチを使用するように設定するため、メンテナンスが容易になります。同じ設定をClaudeや他のMCPクライアントにコピー&ペーストすることもできます。
Instagram の認証情報は、いくつかの方法で提供できます。
コマンドライン引数の使用:
instagram-dm-mcp install --session-id YOUR_SESSION_ID --csrf-token YOUR_CSRF_TOKEN --ds-user-id YOUR_DS_USER_ID資格情報ファイルの使用:
instagram-dm-mcp install --from-file /path/to/instagram_cookies.json環境変数(INSTAGRAM_SESSION_ID、INSTAGRAM_CSRF_TOKEN、INSTAGRAM_DS_USER_ID)の使用
インストーラーはこれらの資格情報を環境変数として Claude Desktop 構成ファイルに追加し、次のような構成を作成します。
"mcpServers": {
// other servers...
"InstagramDM": {
"command": "npx",
"args": [
"-y",
"instagram-dm-mcp",
"start"
],
"env": {
"INSTAGRAM_SESSION_ID": "your-session-id",
"INSTAGRAM_CSRF_TOKEN": "your-csrf-token",
"INSTAGRAM_DS_USER_ID": "your-ds-user-id"
}
}
}This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables Claude or Cursor to send direct messages on Instagram, allowing AI assistants to interact with Instagram's messaging system.177MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to read, send, and manage Instagram direct messages, including viewing conversations, sending DMs to users, reacting to messages, and searching for users by username.10
- FlicenseBqualityDmaintenanceEnables AI agents to control Instagram accounts programmatically, supporting profile management, media interaction, direct messaging, and follower management.132
- AlicenseNot gradedqualityDmaintenanceAn MCP server that wraps instagrapi to read, engage, and send DMs from a personal Instagram account, supporting 24 tools for auth, profile, engagement, and messages.MIT
Related MCP Connectors
Instagram for AI agents: publish, read comments and DMs, insights, and engage from your account.
MCP server for QPost — lets AI agents publish video and image posts to YouTube, TikTok, Instagram.
Instagram, WhatsApp and Messenger DMs through official Meta Business APIs.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/taskmaster-ai/insta-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server