인스타그램 DM MCP 서버
fastmcp
와 instagrapi
사용하여 구축된 Instagram 다이렉트 메시지 기능을 위한 MCP(Model-Consumer Protocol) 서버입니다. 이 서버를 통해 AI 비서가 Instagram 다이렉트 메시지를 읽고 보낼 수 있습니다.
현재 버전: 1.3.5
특징
- 포괄적인 스레드 정보와 함께 Instagram 받은 편지함의 최근 직접 메시지를 읽어보세요.
- 인스타그램 사용자에게 직접 메시지 보내기
- 간단한 인사말 리소스(예시 기능)
- 상태 정보가 포함된 상태 검사 엔드포인트
- JSON 구문 분석 문제를 방지하기 위해 stderr에 적절하게 로깅합니다.
- 환경 변수를 포함한 다양한 인증 방법 지원
설치
npm 패키지로 (권장)
- 패키지를 전역으로 설치합니다.
지엑스피1
- Python 종속성을 설치하려면 설치 스크립트를 실행하세요.
- Claude Desktop에 서버를 등록하고 자격 증명을 구성합니다.
Instagram 쿠키 정보를 붙여넣으라는 메시지가 표시됩니다. 쿠키 정보를 가져오는 방법을 모르시겠다면 Chrome에서 Instagram에 로그인하고 페이지를 마우스 오른쪽 버튼으로 클릭한 후 "검사"를 선택하세요. "애플리케이션" 탭으로 이동한 다음 왼쪽 사이드바에서 "쿠키"를 클릭하세요. 쿠키 목록이 표시됩니다. sessionid
, csrftoken
, ds_user_id
값을 복사하세요.
install
명령을 실행하면 Instagram DM MCP 서버가 Claude Desktop에 자동으로 등록되고 Claude Desktop 구성 파일에 추가됩니다. 이 명령은 npx
방식을 사용하도록 서버를 구성하여 유지 관리를 용이하게 합니다. 동일한 설정을 Claude 또는 다른 MCP 클라이언트에 복사하여 붙여넣을 수도 있습니다.
Instagram 자격 증명은 여러 가지 방법으로 제공할 수 있습니다.
- 명령줄 인수 사용:
- 자격 증명 파일 사용:
- 환경 변수(INSTAGRAM_SESSION_ID, INSTAGRAM_CSRF_TOKEN 및 INSTAGRAM_DS_USER_ID) 사용
설치 프로그램은 이러한 자격 증명을 Claude Desktop 구성 파일에 환경 변수로 추가하여 다음과 같은 구성을 만듭니다.
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
instagrapi를 사용하여 모델-소비자 프로토콜을 사용하여 AI 어시스턴트가 Instagram 다이렉트 메시지를 읽고 보낼 수 있도록 합니다.
Related MCP Servers
- AsecurityAlicenseAqualityEnables AI models to interact with messages from various messaging platforms (Mobile, Mail, WhatsApp, LinkedIn, Slack, Twitter, Telegram, Instagram, Messenger) through a standardized interface.Last updated -38PythonMIT License
- -securityFlicense-qualityProvides AI agents with comprehensive Twitter functionality through the Model Context Protocol standard, enabling reading tweets, posting content, managing interactions, and accessing timeline data with robust error handling.Last updated -41JavaScript
- -securityAlicense-qualityA Model Context Protocol server that enables AI models and applications to interact directly with Twitter/X, providing capabilities to create posts, reply to tweets, retrieve user data, and manage account actions.Last updated -874TypeScriptMIT License
- -securityFlicense-qualityA Model Context Protocol server that enables AI models to perform function calls through Feishu/Lark messaging platform, using your personal account (no bot configuration needed) to create a full-featured AI assistant.Last updated -91Python