Instagram DM Server for AI Assistants
@KynuxDev
About Instagram DM Server for AI Assistants
Read, send, search, and manage Instagram Direct Messages through AI assistants via MCP. 15 tools including inbox, send, search, react, and thread management. Cookie-based auth, single dependency, TypeScript strict, auto-pagination.
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"instagram": {
"command": "npx",
"args": [
"-y",
"mcp-instagram-dm"
],
"env": {
"INSTAGRAM_SESSION_ID": "your_session_id",
"INSTAGRAM_CSRF_TOKEN": "your_csrf_token",
"INSTAGRAM_DS_USER_ID": "your_user_id"
}
}
}
}Tools
No tools detected
Fetch the live tool list by running this server in a temporary sandbox using the button above.
Overview
What is Instagram DM Server for AI Assistants?
It is an MCP server that lets AI assistants read, send, search, and manage Instagram Direct Messages through natural language. It connects to Instagram’s DM system using cookie-based authentication and is designed for users of any MCP‑compatible AI assistant.
How to use Instagram DM Server for AI Assistants?
Run npx mcp-instagram-dm after copying three cookies from Chrome DevTools. Add the cookies to your MCP configuration—setup takes about 60 seconds.
Key features of Instagram DM Server for AI Assistants?
- Read inbox, threads, and pending requests
- Send text messages and share links
- Create new threads with one or multiple users
- Like messages with any emoji
- Unsend your own messages and mark conversations seen
- Approve pending DM requests
- Search inbox by username, messages by text, and Instagram users
- Auto‑pagination for 500+ messages with rate limiting
- Single dependency:
@modelcontextprotocol/sdk
Use cases of Instagram DM Server for AI Assistants?
- Automate customer support replies to incoming DMs
- Monitor pending requests and approve relevant conversations
- Find past messages containing specific keywords or usernames
- Schedule or send bulk messages to multiple users
- Build a conversational agent that interacts via Instagram DM
FAQ from Instagram DM Server for AI Assistants?
What authentication method does it use?
Cookie-based authentication from three specific cookies obtained via Chrome DevTools. No API keys are required.
What are the runtime dependencies?
The only dependency is @modelcontextprotocol/sdk. The server is written in TypeScript with strict typing.
Can it handle long conversations?
Yes, it auto-paginates threads with 500+ messages and includes rate limiting to avoid throttling.
What message types are supported?
It handles 14+ message types including text, media, voice, reels, GIFs, and stories.
Where does user data live?
The server communicates directly with Instagram’s servers; no data is stored locally beyond the session cookies.
Frequently asked questions
What authentication method does it use?
Cookie-based authentication from three specific cookies obtained via Chrome DevTools. No API keys are required.
What are the runtime dependencies?
The only dependency is `@modelcontextprotocol/sdk`. The server is written in TypeScript with strict typing.
Can it handle long conversations?
Yes, it auto-paginates threads with 500+ messages and includes rate limiting to avoid throttling.
What message types are supported?
It handles 14+ message types including text, media, voice, reels, GIFs, and stories.
Where does user data live?
The server communicates directly with Instagram’s servers; no data is stored locally beyond the session cookies.
Basic information
More Other MCP servers
🪟 Windows-MCP
CursorTouchMCP Server for Computer Use in Windows
Codelf
unbugA search tool helps dev to solve the naming things problem.
MCP Go 🚀
mark3labsA Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools.
MCP Registry
modelcontextprotocolA community driven registry service for Model Context Protocol (MCP) servers.
Blender
ahujasidOpen-source MCP to use Blender with any LLM
Comments