SSyncDev

Instagram Dm MCP Server

This is a Model Context Protocol (MCP) server for sending instagram Direct Messages.

Local serverstdioPython

What is the Instagram Dm MCP Server?

Instagram Dm MCP becomes available to MCP clients through the Instagram Dm MCP. This is a Model Context Protocol (MCP) server for sending instagram Direct Messages.

What Instagram Dm MCP does

This is a Model Context Protocol (MCP) server for sending instagram Direct Messages.

Requirements

  • Python 3.11+ - Anthropic Claude Desktop app (or Cursor) - Pip (Python package manager), install with python -m pip install - An instagram account

Practical notes

  • Maintained by trypeggy, written in Python.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
send_messageSend an Instagram direct message to a user by username.
send_photo_messageSend a photo as an Instagram direct message to a user by username.
send_video_messageSend a video as an Instagram direct message to a user by username.
list_chatsGet Instagram Direct Message threads (chats) from your account, with optional filters/limits.
list_messagesGet messages from a specific Instagram Direct Message thread by thread ID. Now exposes item_type and shared post/reel info for each message. Use this to determine which download tool to use.
download_media_from_messageDownload a direct-uploaded photo or video from a DM message (not for shared posts/reels/clips).
download_shared_post_from_messageDownload media from a shared post, reel, or clip in a DM message (not for direct uploads).
list_media_messagesList all messages containing direct-uploaded media (photo/video) in a DM thread.
mark_message_seenMark a specific message in an Instagram Direct Message thread as seen.
list_pending_chatsGet Instagram Direct Message threads from your pending inbox.
search_threadsSearch Instagram Direct Message threads by username or keyword.
get_thread_by_participantsGet an Instagram Direct Message thread by participant user IDs.
get_thread_detailsGet details and messages for a specific Instagram Direct Message thread by thread ID.
get_user_id_from_usernameGet the Instagram user ID for a given username.

How to install the Instagram Dm MCP Server

{
  "mcpServers": {
    "instagram_dms": {
      "command": "uv",
      "args": [
        "run",
        "--directory",
        "PATH/TO/instagram_dm_mcp",
        "python",
        "src/mcp_server.py"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

  • Python 3.11+ - Anthropic Claude Desktop app (or Cursor) - Pip (Python package manager), install with python -m pip install - An instagram account

Example prompts to try

  • “Use Instagram Dm MCP to send message.”
  • “Use Instagram Dm MCP to send photo message.”
  • “Use Instagram Dm MCP to send video message.”

Frequently asked questions

This is a Model Context Protocol (MCP) server for sending instagram Direct Messages. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.