Insta MCP
An Instagram private message function MCP server built on fastmcp and instagrapi, supporting AI assistants to read and send Instagram direct messages.
2 points
6.2K

What is the Instagram DM MCP Server?

This is a server based on the MCP protocol that allows AI assistants to read and send private messages on Instagram. It provides powerful features to manage your Instagram communications.

How to use the Instagram DM MCP Server?

You can register the server through simple installation steps and use it to manage and send Instagram messages.

Applicable Scenarios

Suitable for enterprises or individuals who need to automate the management of Instagram private messages, such as customer service and marketing promotions.

Main Features

Read Private Messages
View recent private message records and obtain detailed conversation information.
Send Private Messages
Send new private messages to Instagram users.
Custom Greetings
Set automated greetings to enhance the user experience.
Health Check
Regularly check the server status and report the operating conditions.
Logging
Record important information in the error log for easy debugging.
Advantages
Supports multiple authentication methods, facilitating integration into existing systems.
Provides detailed logging for easy troubleshooting.
Can be easily extended to meet more requirements.
Limitations
Requires correct Instagram session information to work properly.
May be affected by the API limitations of the Instagram platform.

How to Use

Install the Server
First, install the server globally via npm.
Install Dependencies
Run the script to install Python dependencies.
Configure the Server
Configure Instagram credentials using the command line or environment variables.
Start the Server
Start running the Instagram DM MCP server.

Usage Examples

Read Private Messages
An example showing how to get recent private messages.
Send Private Messages
An example showing how to send a private message to other users.

Frequently Asked Questions

How to obtain Instagram session information?
What should I do if I encounter authentication failure?

Related Resources

Official Documentation
Detailed technical documentation.
GitHub Code Repository
Source code and contribution guidelines.
YouTube Tutorial Video
Quick start guide.

Installation

Copy the following command to your Client for configuration
"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"
    }
  }
}
Note: Your key is sensitive information, do not share it with anyone.

Alternatives

G
Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
15.0K
4.5 points
S
Supergateway
Certified
Supergateway is a tool used to convert MCP servers based on standard input and output into services accessible via SSE or WebSocket, facilitating remote debugging and integration.
TypeScript
19.5K
5 points
M
MCP Send Email
An MCP service for sending emails via the Resend API, integrating Cursor/Claude to achieve automatic AI email sending
TypeScript
9.9K
4 points
I
Inbox Zero AI MCP
Inbox Zero is an open-source AI email assistant and client that helps users manage emails efficiently and achieve an empty inbox.
TypeScript
20.3K
5 points
W
Whatsapp
The WhatsApp MCP Server is a tool that connects personal accounts via the WhatsApp Web Multi-Device API. It supports message search, sending, and multimedia processing, and integrates with LLMs such as Claude.
Python
14.0K
5 points
L
Line Bot MCP Server
LINE Bot MCP Server is a service that implements the Model Context Protocol (MCP) for connecting AI agents to LINE official accounts, supporting functions such as pushing text and rich - media messages, broadcasting messages, and retrieving user profiles.
TypeScript
10.7K
4.5 points
R
Rednote MCP
RedNote MCP is a tool that provides services for accessing Xiaohongshu content. It supports functions such as authentication management, keyword - based note search, and command - line initialization, and can access note content via URL.
TypeScript
12.4K
4.5 points
A
Apple MCP Server
The Apple MCP toolset is a collection of native Apple tools based on the MCP protocol, providing integrated services for the Apple ecosystem such as messaging, notes, contacts, email, reminders, and calendar.
TypeScript
11.9K
5 points
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.8K
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
45.2K
4.3 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.6K
4.5 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.3K
5 points
G
Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
15.0K
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
29.4K
4.8 points
AIBase
Zhiqi Future, Your AI Solution Think Tank
© 2025AIBase