Mcp-instagram-dm MCP Server

Read, send, search, and manage Instagram Direct Messages through natural language with any MCP-compatible AI assistant.

Local serverstdioMIT

What is the Mcp-instagram-dm MCP Server?

mcp-instagram-dm is an MCP project maintained in the kynuxdev/mcp-instagram-dm repository. The maintainer describes its purpose as “Read, send, search, and manage Instagram Direct Messages through natural language with any MCP-compatible AI assistant”. Read the project documentation for the complete scope.

Installation

The documented npm package is mcp-instagram-dm. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.

Configuration values

The example declares INSTAGRAM_SESSION_ID, INSTAGRAM_CSRF_TOKEN, INSTAGRAM_DS_USER_ID. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

How to install the Mcp-instagram-dm MCP Server

{
  "mcpServers": {
    "instagram": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-instagram-dm"
      ],
      "env": {
        "INSTAGRAM_SESSION_ID": "your_session_id",
        "INSTAGRAM_CSRF_TOKEN": "YOUR_INSTAGRAM_CSRF_TOKEN",
        "INSTAGRAM_DS_USER_ID": "your_user_id"
      }
    }
  }
}

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

Configuration

VariableDescriptionRequired
INSTAGRAM_SESSION_IDDeclared in the maintainer’s client configuration.Check documentation
INSTAGRAM_CSRF_TOKENDeclared in the maintainer’s client configuration.Check documentation
INSTAGRAM_DS_USER_IDDeclared in the maintainer’s client configuration.Check documentation