This is a Model Context Protocol (MCP) server for sending instagram Direct Messages. With this you can send Instagram Direct Messages from your account (more capabilities coming soon).
Hackathon Submission
Build anything using this Instagram DM MCP (can be technical, no-code or low-code) and submit! No restrictions, open to anyone/anywhere to join.
Installation## Prerequisites
Python 3.11+
Anthropic Claude Desktop app (or Cursor)
Pip (Python package manager)
Steps
Clone this repository
Install dependencies
Configure Instagram credentials
Connect to the MCP server
Restart Claude Desktop / Cursor
Usage
Below is a list of all available tools and what they do:
send_message: Send an Instagram direct message to a user by username.
send_photo_message: Send a photo as an Instagram direct message to a user by username.
send_video_message: Send a video as an Instagram direct message to a user by username.
list_chats: Get Instagram Direct Message threads from your account.
Troubleshooting
Instagram Login Hanging: The server now includes automatic session management to prevent login hangs.
Feedback
Your feedback will be massively appreciated. Please tell us which features on that list you like to see next or request entirely new ones.