LabscoMCP early access ↗
trypeggyMCP SERVER

Instagram DMs

Send and read Instagram direct messages from your own account, download media from chats, and look up users, posts and followers.

by trypeggy ↗Social Media Accounts & PostingCommunity

LABSCO SUMMARY

DMs without opening the app.

It works from your own account rather than through a business API, which is why it runs on an ordinary personal profile — and it covers more than sending: reading and searching your chats, downloading media from messages, and looking up users, their posts, stories and followers.

What it is

An MCP server for Instagram direct messages. It signs in as your account to send DMs (text, photo and video each have their own call) and to read, search and mark your chats, download media from messages, and look up users.

What you get

  • A text direct message sent from your account
  • A photo sent as a direct message
  • A video sent as a direct message; plus your inbox read back — list_chats, list_messages, list_pending_chats, search_threads, mark_message_seen — media downloaded from messages, user lookups (get_user_info, get_user_posts, get_user_stories, get_user_followers, get_user_following) and like_media
  • Credentials read from a .env file instead of the command line

Requirements

Python 3.11 or newer and an Instagram account. Your username and password go in a .env file, which setup_env.py will create for you; they can also be passed as command-line arguments.

Setup effort

Build from source — clone the repository, then follow the steps on this page and add the configuration for your client