ID

Instagram DM

Created 4 months ago

MCP server for sending Instagram Direct Messages.

development documentation public instagram mcp

What is Instagram DM?

Send DMs on Instagram via your LLM

Documentation

Instagram DM MCP server

This is a Model Context Protocol (MCP) server for sending instagram Direct Messages. With this you can send Instagram Direct Messages from your account (more capabilities coming soon).

Hackathon Submission

Build anything using this Instagram DM MCP (can be technical, no-code or low-code) and submit! No restrictions, open to anyone/anywhere to join.

Installation## Prerequisites

  • Python 3.11+
  • Anthropic Claude Desktop app (or Cursor)
  • Pip (Python package manager)

Steps

  1. Clone this repository
  2. Install dependencies
  3. Configure Instagram credentials
  4. Connect to the MCP server
  5. Restart Claude Desktop / Cursor

Usage

Below is a list of all available tools and what they do:

  • send_message: Send an Instagram direct message to a user by username.
  • send_photo_message: Send a photo as an Instagram direct message to a user by username.
  • send_video_message: Send a video as an Instagram direct message to a user by username.
  • list_chats: Get Instagram Direct Message threads from your account.

Troubleshooting

Instagram Login Hanging: The server now includes automatic session management to prevent login hangs.

Feedback

Your feedback will be massively appreciated. Please tell us which features on that list you like to see next or request entirely new ones.

Server Config

{
  "mcpServers": {
    "instagram-dm-server": {
      "command": "npx",
      "args": [
        "instagram-dm"
      ]
    }
  }
}

Links & Status

Repository: github.com
Hosted: No
Global: No
Official: No

Project Info

Hosted Featured
Created At: Jul 07, 2025
Updated At: Aug 07, 2025
Author: Tanmay
Category: community
License: MIT License
Tags:
development documentation public