Instagram DM MCP Server
Instagram DM MCP Server
Instagram DM을 보내고 읽기 위한 MCP(Model Context Protocol) 서버입니다.
빠른 시작
uv run mcp_server.py서버는 stdin/stdout을 통해 JSON-RPC 2.0으로 통신합니다.
Related MCP server: Instagram MCP Server
설정
config/config.json.template을config/config.json으로 복사하고sessionid, 선택적username,max_messages_per_thread를 추가하세요.config/recipients.json.template을config/recipients.json으로 복사하세요. 선택적 별칭(alias)이 있는 Instagram 사용자 이름 목록입니다..json파일은 gitignore 처리되며,.template파일은 가이드로 추적됩니다.
도구
send_dm(recipient, message)
특정 수신자에게 DM을 보냅니다.
매개변수:
recipient(필수) - DM을 보낼 Instagram 사용자 이름message(필수) - 보낼 메시지 텍스트
read_dm(recipient, max_messages=10)
특정 수신자의 스레드에서 마지막 N개의 메시지를 읽습니다.
매개변수:
recipient(필수) - DM을 읽을 Instagram 사용자 이름max_messages(선택) - 스레드당 최대 메시지 수 (생략 시 config의max_messages_per_thread사용)
list_recipients()
구성된 모든 수신자와 해당 별칭을 나열합니다. 에이전트는 이 도구를 사용하여 메시지를 보낼 수 있는 대상을 확인해야 합니다.
매개변수: 없음
구성
필드 | 기본값 | 설명 |
| (필수) | Instagram 세션 ID |
|
| Instagram 사용자 이름 (선택) |
|
| send_dm 사용 시 보내는 메시지 |
|
| 스레드당 읽을 최대 메시지 수 |
오직 recipients.json에 있는 수신자에게만 보내세요. 스크립트를 직접 수정하지 마세요.
수신자 별칭
recipients.json에서 각 항목은 에이전트가 사용할 alias 필드를 포함할 수 있습니다:
[
{
"username": "john_doe",
"alias": "John Doe"
}
]별칭은 선택 사항입니다. 생략하면 사용자 이름이 사용됩니다. 구성된 모든 별칭을 보려면 list_recipients 도구를 사용하세요. 일반 문자열 항목(하위 호환)도 지원됩니다:
["john_doe", "jane_smith"]This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to read and send Instagram direct messages using the Model-Consumer Protocol with instagrapi.3617MIT
- FlicenseBqualityNot gradedmaintenanceEnables AI assistants to interact with Instagram and Facebook accounts through their APIs, supporting messaging, post management, commenting, and content creation.14
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to read, send, and manage Instagram direct messages, including viewing conversations, sending DMs to users, reacting to messages, and searching for users by username.10
- AlicenseNot gradedqualityBmaintenanceEnables reading, publishing, commenting, direct messaging, and pulling insights from Instagram Business or Creator accounts via the Graph API.6MIT
Related MCP Connectors
Instagram for AI agents: publish, read comments and DMs, insights, and engage from your account.
Agent-to-agent network for teams: dm, who-knows-X routing, shared rooms. Human-in-the-loop.
Public Instagram profiles and post feeds by handle, with hashtags and mentions parsed.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/jdenp/instagram-message-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server