MCP server for Instagram direct messaging

MCP server for Instagram direct messaging

instagram-direct-messages•bytaskmaster-ai

An MCP server built with fastmcp and instagrapi that enables AI assistants to read recent Instagram direct messages and send DMs to Instagram users.

License: Not specified•Runtime: Awaiting documentation review•Category: communication social

WHAT IT DOES

  • •Reads recent direct messages from an Instagram inbox with thread information.
  • •Sends direct messages to Instagram users.
  • •Supports several authentication methods, including environment variables.

BEST FOR

  • •AI assistants that need to review recent Instagram DM threads.
  • •AI assistants that need to send Instagram direct messages on a user's behalf.

ABOUT INSTAGRAM-DIRECT-MESSAGES

MCP server for Instagram direct messaging is cataloged as an MCP server attributed to taskmaster-ai. An MCP server built with fastmcp and instagrapi that enables AI assistants to read recent Instagram direct messages and send DMs to Instagram users. It is categorized under communication social. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for MCP server for Instagram direct messaging are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What Instagram messaging actions does this MCP server support?

It supports reading recent direct messages from the inbox with thread information and sending direct messages to Instagram users.

How can Instagram credentials be provided?

Credentials can be supplied through command-line arguments, a credentials file, or environment variables such as INSTAGRAM_SESSION_ID, INSTAGRAM_CSRF_TOKEN, and INSTAGRAM_DS_USER_ID.

Upstream README

View this exact version on GitHub

README.md · 30dad3061ff2 · Fetched 2026-11-13 08:48:41 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

Instagram DM MCP Server

An MCP (Model-Consumer Protocol) server for Instagram direct messaging functionality, built with fastmcp and instagrapi. This server enables AI assistants to read and send Instagram direct messages.

Current Version: 1.3.5

Features

  • Read recent direct messages from your Instagram inbox with comprehensive thread information
  • Send direct messages to Instagram users
  • Simple greeting resource (example functionality)
  • Health check endpoint with status information
  • Proper logging to stderr to avoid JSON parsing issues
  • Support for various authentication methods, including environment variables

Installation

  1. Install the package globally:
npm install -g instagram-dm-mcp
  1. Run the setup script to install Python dependencies:
instagram-dm-mcp-setup
  1. Register the server with Claude Desktop and configure credentials:
instagram-dm-mcp install

You will be prompted to paste in your Instagram cookies information. If you arne't sure how to get this, log into Instagram on Chrome, right-click on the page, and select "Inspect". Go to the "Application" tab, then click on "Cookies" in the left sidebar. You should see a list of cookies. Copy the values for sessionid, csrftoken, and ds_user_id.

The install command will automatically register the Instagram DM MCP server with Claude Desktop and add it to your Claude Desktop configuration file. The command will configure the server to use the npx approach, which makes it easier to maintain. You can also copy-paste the same setup to Claude or any other MCP client.

You can provide Instagram credentials in several ways:

  • Using command-line arguments:

    instagram-dm-mcp install --session-id YOUR_SESSION_ID --csrf-token YOUR_CSRF_TOKEN --ds-user-id YOUR_DS_USER_ID
    
  • Using a credentials file:

    instagram-dm-mcp install --from-file /path/to/instagram_cookies.json
    
  • Using environment variables (INSTAGRAM_SESSION_ID, INSTAGRAM_CSRF_TOKEN, and INSTAGRAM_DS_USER_ID)

The installer will add these credentials as environment variables in the Claude Desktop configuration file, creating a configuration like this:

"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"
    }
  }
}

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for MCP server for Instagram direct messaging from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/instagram-direct-messages)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related communication social MCP Servers

Alternative and complementary servers in the same category

View all in communication social →

An AI receptionist platform with an MCP server for accessing business calls, contacts and appointments from AI assistants.

52
Communication

Pidgeon provides an MCP server and an email inbox API that gives AI agents their own addresses for sending, awaiting, and replying to email.

Repository stats unavailable
Communication