Skip to content
Back to search

mcp-discord

MCP server for discord bot

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/hanweg--mcp-discord/badge.svg)](/listings/hanweg--mcp-discord)

HTML

<a href="/listings/hanweg--mcp-discord"><img src="/api/listings/hanweg--mcp-discord/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

1. Set up your Discord bot: - Create a new application at [Discord Developer Portal](https://discord.com/developers/applications) - 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 .

3. 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](https://smithery.ai/server/@hanweg/mcp-discord):

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

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 86 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. # Discord MCP Server
  2. [![smithery badge](https://smithery.ai/badge/@hanweg/mcp-discord)](https://smithery.ai/server/@hanweg/mcp-discord)
  3. A Model Context Protocol (MCP) server that provides Discord integration capabilities to MCP clients like Claude Desktop.
  4. <a href="https://glama.ai/mcp/servers/wvwjgcnppa"><img width="380" height="200" src="https://glama.ai/mcp/servers/wvwjgcnppa/badge" alt="mcp-discord MCP server" /></a>
  5. ## Available Tools
  6. ### Server Information
  7. - `list_servers`: List available servers
  8. - `get_server_info`: Get detailed server information
  9. - `get_channels`: List channels in a server
  10. - `list_members`: List server members and their roles
  11. - `get_user_info`: Get detailed information about a user
  12. ### Message Management
  13. - `send_message`: Send a message to a channel
  14. - `read_messages`: Read recent message history
  15. - `add_reaction`: Add a reaction to a message
  16. - `add_multiple_reactions`: Add multiple reactions to a message
  17. - `remove_reaction`: Remove a reaction from a message
  18. - `moderate_message`: Delete messages and timeout users
  19. ### Channel Management
  20. - `create_text_channel`: Create a new text channel
  21. - `delete_channel`: Delete an existing channel
  22. ### Role Management
  23. - `add_role`: Add a role to a user
  24. - `remove_role`: Remove a role from a user
  25. ## Installation
  26. 1. Set up your Discord bot:
  27. - Create a new application at [Discord Developer Portal](https://discord.com/developers/applications)
  28. - Create a bot and copy the token
  29. - Enable required privileged intents:
  30. - MESSAGE CONTENT INTENT
  31. - PRESENCE INTENT
  32. - SERVER MEMBERS INTENT
  33. - Invite the bot to your server using OAuth2 URL Generator
  34. 2. Clone and install the package:
  35. ```bash
  36. # Clone the repository
  37. git clone https://github.com/hanweg/mcp-discord.git
  38. cd mcp-discord
  39. # Create and activate virtual environment
  40. uv venv
  41. .venv\Scripts\activate # On macOS/Linux, use: source .venv/bin/activate
  42. ### If using Python 3.13+ - install audioop library: `uv pip install audioop-lts`
  43. # Install the package
  44. uv pip install -e .
  45. ```
  46. 3. Configure Claude Desktop (`%APPDATA%\Claude\claude_desktop_config.json` on Windows, `~/Library/Application Support/Claude/claude_desktop_config.json` on macOS):
  47. ```json
  48. "discord": {
  49. "command": "uv",
  50. "args": [
  51. "--directory",
  52. "C:\\PATH\\TO\\mcp-discord",
  53. "run",
  54. "mcp-discord"
  55. ],
  56. "env": {
  57. "DISCORD_TOKEN": "your_bot_token"
  58. }
  59. }
  60. ```
  61. ### Installing via Smithery
  62. To install Discord Server for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@hanweg/mcp-discord):
  63. ```bash
  64. npx -y @smithery/cli install @hanweg/mcp-discord --client claude
  65. ```
  66. ## License
  67. MIT License - see LICENSE file for details.

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.