Instagram Dm MCP
I

Instagram Dm MCP

This is an Instagram private message MCP server project that allows users to send Instagram direct messages through platforms such as Claude, includes various message management functions, and hosts a hackathon to encourage innovative use.
2.5 points
5.9K

What is the Instagram DM MCP Server?

This is a server based on the Model Context Protocol (MCP) that allows users to send direct messages through their own Instagram accounts. It supports sending multimedia content such as text, pictures, and videos, and provides message management functions.

How to use the Instagram DM MCP Server?

Provide Instagram account information by configuring environment variables or command - line parameters, and then connect to the MCP server in Claude Desktop or Cursor. After that, you can use various tools to send messages, view chat histories, etc.

Applicable Scenarios

Suitable for various scenarios such as automated marketing, customer service, and social interaction. Users can send messages in batches programmatically or integrate with AI assistants to achieve intelligent replies.

Main Features

Send Messages
Supports sending various types of direct messages, such as text, pictures, and videos.
Message Management
Provides functions such as viewing chat histories and marking messages as read.
Media Download
Allows downloading pictures or videos from messages, but does not include shared posts or stories.
User Information Query
Can obtain other users' IDs, usernames, profile information, etc.
Search Function
Supports searching chat histories by username or keywords.
Advantages
Supports multiple message types (text, pictures, videos)
Easy to integrate into AI assistants such as Claude Desktop or Cursor
Provides rich message management functions
Limitations
Requires Instagram account login, which may involve privacy issues
Some advanced functions are still under development
Relies on third - party tools (such as Claude Desktop) for integration

How to Use

Clone the Repository
Use the git command to clone the project to your local computer.
Install Dependencies
Install all the Python packages required by the project.
Configure Credentials
Set Instagram account information through environment variables or command - line parameters.
Connect to the MCP Server
Configure the MCP server according to the tool you are using (such as Claude Desktop or Cursor).
Start the Server
Run the MCP server to start receiving and processing message requests.

Usage Examples

Automated Customer Service System
Integrate the Instagram DM MCP server with an AI assistant to create a system that automatically replies to customer messages.
Bulk Sending of Marketing Information
Use the server to send promotional information to multiple target users to increase brand exposure.
Social Media Analysis
Analyze interaction patterns on social media by obtaining user information and chat histories.

Frequently Asked Questions

Can I use this server without an Instagram account?
Will the server save my Instagram password?
Can I use multiple Instagram accounts simultaneously?
What should I do if the login fails?
Does it support Chinese messages?

Related Resources

GitHub Repository
The project code repository, containing all source code and documentation
MCP Official Documentation
The official documentation of the Model Context Protocol for more information
Instagram API Documentation
The official Instagram API documentation for in - depth understanding of the underlying mechanism
Claude Desktop Integration Guide
A detailed guide on how to configure the MCP server in Claude Desktop
Twitter Community
Join our Twitter community to get the latest updates and technical discussions

Installation

Copy the following command to your Client for configuration
{
     "mcpServers": {
       "instagram_dms": {
           "command": "uv",
           "args": [
             "run",
             "--directory",
             "PATH/TO/instagram_dm_mcp",
             "python",
             "src/mcp_server.py"
           ]
        }
      }
    }

{
      "mcpServers": {
        "instagram_dms": {
          "command": "python",
          "args": [
            "{{PATH_TO_SRC}}/instagram_dm_mcp/src/ mcp_server.py"
          ]
        }
      }
    }

{
     "mcpServers": {
       "instagram_dms": {
         "command": "python",
         "args": [
           "{{PATH_TO_SRC}}/instagram_dm_mcp/src/mcp_server.py",
           "--username",
           "{{YOUR_INSTAGRAM_USERNAME}}",
          "--password",
          "{{YOUR_INSTAGRAM_PASSWORD}}"
         ]
       }
     }
   }
Note: Your key is sensitive information, do not share it with anyone.
G
Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
16.6K
4.3 points
N
Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
14.8K
4.5 points
M
Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
24.5K
5 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
44.7K
4.3 points
U
Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
20.2K
5 points
F
Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
44.3K
4.5 points
M
Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
30.2K
4.8 points
C
Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
62.4K
4.7 points
AIBase
Zhiqi Future, Your AI Solution Think Tank
© 2025AIBase