
trypeggy/instagram_dm_mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
trypeggy/instagram_dm_mcp는 https://github.com/trypeggy/instagram_dm_mcp.에서 가져온 MCP 서버 후보입니다.
개요
trypeggy/instagram_dm_mcp는 https://github.com/trypeggy/instagram_dm_mcp.에서 가져온 MCP 서버 후보입니다.
개요(AI 번역)
이것은 인스타그램 다이렉트 메시지를 보내기 위한 모델 컨텍스트 프로토콜(MCP) 서버입니다.
이 기능을 통해 계정에서 인스타스타그램 다이렉트 메시지를 보낼 수 있습니다(추가 기능이 곧 제공될 예정입니다).
클로드와 연결했을 때 할 수 있는 예시를 소개합니다.
https://github.com/user-attachments/assets/9c945f25-4484-4223-8d6b-5bf31243464c
이 프로젝트와 우리가 진행 중인 다른 프로젝트에 대한 업데이트를 받으시려면 이메일을 여기로 입력하세요
설치
전제 조건
- 파이썬 3.11+
- Anthropic Claude 데스크톱 앱(또는 커서)
- Pip (Python 패키지 관리자), [[T1]로 설치됨
- 인스타그램 계정
발걸음
-
이 저장소를 복제합니다
-
**의존성 설치
-
UV 사용 (권장):
-
Pip 사용:
- 인스타그램 자격 증명 설정
인스타그램 자격 증명을 제공하는 방법은 두 가지가 있습니다:
옵션 A: 환경 변수 (권장)
빠른 설정 (권장):
헬퍼 스크립트를 실행하세요:
이 경우 인터랙티브하게 자격 증명을 입력하고 .env 파일을 안전하게 생성합니다.
수동 설정:
프로젝트 루트에 .env 파일을 생성합니다:
그 다음 실제 자격증으로 .env를 수정하세요:
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
Instagram DM MCP server
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).
Here’s an example of what you can do when it’s connected to Claude.
https://github.com/user-attachments/assets/9c945f25-4484-4223-8d6b-5bf31243464c
To get updates on this and other projects we work on enter your email here
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
-
Clone this repository
git clone https://github.com/trypeggy/instagram_dm_mcp.git cd instagram_dm_mcp -
Install dependencies
- Using uv (recommended):
uv sync - Using Pip:
pip install -r requirements.txt
-
Configure Instagram credentials
You have two options for providing your Instagram credentials:
Option A: Environment Variables (Recommended)
Quick Setup (Recommended):
Run the helper script:
python setup_env.pyThis will interactively prompt you for your credentials and create the
.envfile securely.Manual Setup:
Create a
.envfile in the project root:cp env.example .envThen edit
.envwith your actual credentials:INSTAGRAM_USERNAME=your_instagram_username INSTAGRAM_PASSWORD=your_instagram_passwordOption B: Command Line Arguments
You can still pass credentials as command line arguments (less secure).
-
Connect to the MCP server
For Claude Desktop:
Save this as
claude_desktop_config.jsonin your Claude Desktop configuration directory at:~/Library/Application Support/Claude/claude_desktop_config.jsonFor Cursor:
Save this as
mcp.jsonin your Cursor configuration directory at:~/.cursor/mcp.jsonConfiguration with Environment Variables (Recommended):
- Using uv
{ "mcpServers": { "instagram_dms": { "command": "uv", "args": [ "run", "--directory", "PATH/TO/instagram_dm_mcp", "python", "src/mcp_server.py" ] } } }- Using Python
{ "mcpServers": { "instagram_dms": { "command": "python", "args": [ "{{PATH_TO_SRC}}/instagram_dm_mcp/src/ mcp_server.py" ] } } }Configuration with Command Line Arguments:
{ "mcpServers": { "instagram_dms": { "command": "python", "args": [ "{{PATH_TO_SRC}}/instagram_dm_mcp/src/mcp_server.py",
설치
This server does not publish a one-line install command.
Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →설정
{
"mcpServers": {
"instagram_dms": {
"command": "uv",
"args": [
"run",
"--directory",
"PATH/TO/instagram_dm_mcp",
"python",
"src/mcp_server.py"
]
}
}
}