Skip to main content

Discord Message Context Provider for Claude

Project description

Discord MCP

Discord Message Context Provider for Claude - Enables Claude to search and access Discord messages through the Model Context Protocol (MCP).

Features

  • Connect Claude to your Discord messages using MCP
  • Search messages with BM25 relevance scoring
  • Export Discord channels using DiscordChatExporter
  • Web UI for configuration and monitoring
  • Docker support for containerized deployment

Installation

Using pipx (Recommended)

pipx install discord-mcp

Using pip

pip install discord-mcp

Usage

Setting up Claude Desktop

Configure Claude Desktop to connect to the Discord MCP server by adding the following to your claude_desktop_config.json:

{
  "mcpServers": {
    "discord-mcp": {
      "command": "pipx",
      "args": [
        "run", 
        "discord-mcp"
      ],
      "env": {
        "DISCORD_DATA_DIR": "/path/to/discord_data",
        "DISCORD_USER_TOKEN": "your_discord_token"
      }
    }
  }
}

Running the MCP Server

discord-mcp

Running the Web UI

discord-webui

Configuration

Create a .env file with the following variables:

DISCORD_DATA_DIR=/path/to/discord_data
DISCORD_USER_TOKEN=your_discord_token
DISCORD_WEBUI_PORT=8080
DISCORD_WEBUI_HOST=0.0.0.0

Docker Deployment

docker-compose up -d

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

discord_mcp-0.1.0.tar.gz (82.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

discord_mcp-0.1.0-py3-none-any.whl (95.1 kB view details)

Uploaded Python 3

File details

Details for the file discord_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: discord_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 82.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for discord_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 57e0d9909beb3716e3999189ae254281b27e14aba27e1d7f55b2f6e359eedee9
MD5 b3bd2c8d9f1af73861dd34c4fb3ebe04
BLAKE2b-256 31e4b20b897c2018ece8af9a6ed2edc8617df6ae71b1af995ecf7f900a4fcb83

See more details on using hashes here.

File details

Details for the file discord_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: discord_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 95.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for discord_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e00d001767f755b384f55473fc7ad61ed0a1b2c9fc8771080079a183ebd83d6f
MD5 ff5c6a85211c24c742f03d09f629b902
BLAKE2b-256 80dc998fa4b2c8475ae0a7cc7d2e22d13490ce32d8afbbb2699b7951de450527

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page