HM

hanweg/mcp-discord

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

169 stars 50 forks 품질 61 트렌드 0MIT

hanweg/mcp-discord는 [[T0]에서 가져온 MCP 서버 후보입니다.

개요

hanweg/mcp-discord는 [[T0]에서 가져온 MCP 서버 후보입니다.

개요(AI 번역)

Claude Desktop과 같은 MCP 클라이언트에 Discord 통합 기능을 제공하는 모델 컨텍스트 프로토콜(MCP) 서버입니다.

사용 가능한 도구

서버 정보

  • list_servers: 사용 가능한 서버 목록
  • get_server_info: 상세한 서버 정보 얻기
  • get_channels: 서버 내 채널 목록
  • list_members: 서버 구성원과 그 역할 목록
  • get_user_info: 사용자에 대한 상세 정보 얻기

메시지 관리

  • send_message: 채널에 메시지 전송
  • read_messages: 최근 메시지 기록 읽기
  • add_reaction: 메시지에 반응을 추가하세요
  • add_multiple_reactions: 메시지에 여러 반응을 추가하세요
  • remove_reaction: 메시지에서 반응을 제거하기
  • moderate_message: 메시지 삭제 및 사용자 타임아웃

채널 관리

  • create_text_channel: 새로운 텍스트 채널 생성
  • delete_channel: 기존 채널을 삭제합니다

역할 관리

  • add_role: 사용자에게 역할 추가
  • remove_role: 사용자의 역할 제거

설치

  1. 디스코드 봇 설정하기:
  • Discord 개발자 포털에서 새 애플리케이션 생성
  • 봇을 생성하고 토큰을 복사합니다
  • 필요한 특권 의도 활성화:
  • 메시지 내용 의도
  • 존재 의도

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

Discord MCP Server

A Model Context Protocol (MCP) server that provides Discord integration capabilities to MCP clients like Claude Desktop.

Available Tools

Server Information

  • list_servers: List available servers
  • get_server_info: Get detailed server information
  • get_channels: List channels in a server
  • list_members: List server members and their roles
  • get_user_info: Get detailed information about a user

Message Management

  • send_message: Send a message to a channel
  • read_messages: Read recent message history
  • add_reaction: Add a reaction to a message
  • add_multiple_reactions: Add multiple reactions to a message
  • remove_reaction: Remove a reaction from a message
  • moderate_message: Delete messages and timeout users

Channel Management

  • create_text_channel: Create a new text channel
  • delete_channel: Delete an existing channel

Role Management

  • add_role: Add a role to a user
  • remove_role: Remove a role from a user

Installation

  1. Set up your Discord bot:

    • Create a new application at Discord Developer Portal
    • Create a bot and copy the token
    • Enable required privileged intents:
      • MESSAGE CONTENT INTENT
      • PRESENCE INTENT
      • SERVER MEMBERS INTENT
    • Invite the bot to your server using OAuth2 URL Generator
  2. Clone and install the package:

# Clone the repository
git clone https://github.com/hanweg/mcp-discord.git
cd mcp-discord

# Create and activate virtual environment
uv venv
.venv\Scripts\activate # On macOS/Linux, use: source .venv/bin/activate

### If using Python 3.13+ - install audioop library: `uv pip install audioop-lts`

# Install the package
uv pip install -e .
  1. Configure Claude Desktop (%APPDATA%\Claude\claude_desktop_config.json on Windows, ~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
    "discord": {
      "command": "uv",
      "args": [
        "--directory",
        "C:\\PATH\\TO\\mcp-discord",
        "run",
        "mcp-discord"
      ],
      "env": {
        "DISCORD_TOKEN": "your_bot_token"
      }
    }

Installing via Smithery

To install Discord Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @hanweg/mcp-discord --client claude

License

MIT License - see LICENSE file for details.

GitHub에서 전체 README 보기

설치

npx -y @smithery/cli install @hanweg/mcp-discord --client claude
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →