Skip to main content
Glama

Instagram DM MCP Server

by trypeggy
MIT License
  • Apple

Instagram DM MCP server

This is a Model Context Protocol (MCP) server for sending instagram DMs

Installation

Prerequisites

  • Python 3.11+
  • Anthropic Claude Desktop app (or Cursor)
  • Pip (Python package manager), install with python -m pip install
  • An instagram account

Steps

  1. Clone this repository
    git clone https://github.com/trypeggy/instagram_dm_mcp.git cd instagram_dm_mcp
  2. Connect to the MCP serverCopy the below json with the appropriate {{PATH}} values and {{API KEY}}:
    { "mcpServers": { "instagram_dms": { "command": "python", "args": [ "{{PATH_TO_SRC}}/instagram_dm_mcp/src/mcp_server.py", "--username", "{{YOUR_INSTAGRAM_USERNAME}}", "--password", "{{YOUR_INSTAGRAM_PASSWORD}}" ] } } }
    For Claude Desktop:Save this as claude_desktop_config.json in your Claude Desktop configuration directory at:
    ~/Library/Application Support/Claude/claude_desktop_config.json
    For Cursor:Save this as mcp.json in your Cursor configuration directory at:
    ~/.cursor/mcp.json
  3. Restart Claude Desktop / CursorOpen Claude Desktop and you should now see the Instagram DM MCP as an available integration.Or restart Cursor.

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.


License

This project is licensed under the MIT License.

License Python

-
security - not tested
A
license - permissive license
-
quality - not tested

A Model Context Protocol server that enables Claude or Cursor to send direct messages on Instagram, allowing AI assistants to interact with Instagram's messaging system.

  1. Installation
    1. Prerequisites
    2. Steps
  2. Feedback
    1. License

      Related MCP Servers

      • -
        security
        F
        license
        -
        quality
        A Model Context Protocol server that enhances Claude in Cursor AI with advanced reasoning capabilities including Monte Carlo Tree Search, Beam Search, R1 Transformer, and Hybrid Reasoning methods.
        Last updated -
        1
        TypeScript
      • -
        security
        A
        license
        -
        quality
        A Model Context Protocol server that provides a seamless email management interface through Claude, allowing users to search, read, and send emails directly through natural language conversations.
        Last updated -
        40
        Python
        MIT License
        • Apple
      • -
        security
        A
        license
        -
        quality
        An implementation of the Model Context Protocol Server that allows AI clients like Cursor or Claude Desktop to manage Ghost CMS blogs by exposing capabilities like creating posts, adding tags, and uploading images.
        Last updated -
        2
        JavaScript
        MIT License
      • -
        security
        A
        license
        -
        quality
        A Model Context Protocol server that enables Claude to interact with Mattermost instances, supporting post management, channel operations, user management, and reaction management.
        Last updated -
        128
        1
        TypeScript
        MIT License

      View all related MCP servers

      MCP directory API

      We provide all the information about MCP servers via our MCP API.

      curl -X GET 'https://glama.ai/api/mcp/v1/servers/trypeggy/instagram_dm_mcp'

      If you have feedback or need assistance with the MCP directory API, please join our Discord server