Discord Raw API MCP 서버
이 MCP 서버는 단일의 유연한 도구를 통해 원시 Discord API 액세스를 제공합니다. REST API 호출과 슬래시 명령 구문을 모두 지원합니다.
설치
Smithery를 통해 설치
Smithery 를 통해 Claude Desktop용 Discord Raw API를 자동으로 설치하는 방법:
지엑스피1
수동 설치
Discord 봇을 설정하세요:
Discord 개발자 포털 에서 새 애플리케이션을 만드세요
봇을 생성하고 토큰을 복사하세요
필요한 권한 있는 인텐트 활성화:
메시지 내용 의도
존재 의도
서버 멤버의 의도
OAuth2 URL 생성기를 사용하여 봇을 서버에 초대하세요
패키지를 복제하고 설치합니다.
구성
claude_desktop_config.json
에 이것을 추가하세요
용법
REST API 스타일
슬래시 명령 스타일
예시
역할 생성:
메시지 보내기:
서버 정보 얻기:
추천사항:
모델에 이러한 내용을 다시 상기시킬 필요가 없도록 서버, 채널, 사용자 ID와 몇 가지 예를 프로젝트 지식에 추가하고, 시작하기 위해 다음과 같은 내용을 추가하세요.
Discord 원시 API 도구를 효과적으로 사용하는 방법은 다음과 같습니다. 도구의 이름은 discord_api이며 세 가지 매개변수를 사용합니다.
메서드: HTTP 메서드("GET", "POST", "PUT", "PATCH", "DELETE")
엔드포인트: Discord API 엔드포인트(예: "guilds/{guild.id}/roles")
payload: 요청 본문에 대한 선택적 JSON 객체 내가 사용한 주요 예:
역할 생성:
카테고리 및 채널 만들기:
채널을 카테고리로 이동:
메시지 보내기:
역할 할당:
이 도구는 전체 Discord API를 지원하므로 Discord API 설명서에서 더 많은 엔드포인트와 기능을 확인할 수 있습니다. 응답에는 후속 요청에 사용할 수 있는 ID 및 기타 메타데이터가 포함됩니다. 전문가 팁:
후속 요청에서 사용할 생성 요청에서 반환된 ID를 저장합니다.
~~유니코드 이모티콘을 메시지 내용에 직접 포함할 수 있나요~~? 모델에게 :champagne_glass:와 같은 디스코드 이모티콘을 사용하라고 알려주세요. - 유니코드 이모티콘이 포함된 메시지는 Claude Desktop에서 멈춥니다.
채널 유형: 0 = 텍스트, 2 = 음성, 4 = 카테고리, 13 = 무대
역할 색상은 10진수 형식입니다(16진수 아님)
대부분의 수정 엔드포인트는 PATCH 방법을 사용합니다.
빈 페이로드는 null이 아닌 {}이어야 합니다.
특허
MIT 라이센스
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.
봇 관리, 서버 구성 및 메시지 작업을 위해 REST API 호출과 슬래시 명령 구문을 모두 사용하여 Discord API와 직접 상호 작용할 수 있습니다.
Related Resources
Related MCP Servers
- -securityFlicense-qualityEnables LLMs to interact with Discord channels by sending and reading messages through Discord's API, with a focus on maintaining user control and security.Last updated -193135
- AsecurityAlicenseAqualityA Discord Model Context Protocol server that enables AI assistants to interact with Discord, providing functionality for sending messages, managing channels, handling forum posts, and working with reactions.Last updated -223445MIT License
- -securityFlicense-qualityA Discord bot server that integrates with Mastra's MCP Bot component to provide intelligent assistance and answer questions about Mastra.ai through direct messages and slash commands.Last updated -1932
- -securityFlicense-qualityA secure server that enables interaction with Discord channels through JWT-authenticated API calls, allowing users to send messages, fetch channel data, search content, and perform moderation actions.Last updated -