Discord MCP server

Integrates Discord chat, enabling message sending and reading.
Back to servers
Provider
Kola Ademola
Release date
Feb 04, 2025
Language
Python

The MCP Discord Chat server implements the Model Context Protocol (MCP) and provides a simple note storage system with summarization capabilities. This server allows you to create, store, and summarize notes through a standardized interface that can be accessed from Claude.

Installation

For Claude Desktop

The MCP Discord Chat server can be configured to work with Claude Desktop on different operating systems.

On MacOS

Edit your Claude Desktop configuration file located at:

~/Library/Application\ Support/Claude/claude_desktop_config.json

On Windows

Edit your Claude Desktop configuration file located at:

%APPDATA%/Claude/claude_desktop_config.json

Configuration Options

You have two ways to configure the server:

For Development/Unpublished Servers

Add this configuration to your claude_desktop_config.json file:

"mcpServers": {
  "mcp-discord-chat": {
    "command": "uv",
    "args": [
      "--directory",
      "/Users/koladev/speakeasy-projects/mcp-discord-chat",
      "run",
      "mcp-discord-chat"
    ]
  }
}

Make sure to adjust the directory path to match your system.

For Published Servers

Once the server is published, you can use this simpler configuration:

"mcpServers": {
  "mcp-discord-chat": {
    "command": "uvx",
    "args": [
      "mcp-discord-chat"
    ]
  }
}

Usage

Working with Notes

The MCP Discord Chat server implements a note storage system with the following features:

  • Each note has a unique name and content
  • Notes are accessible via a custom note:// URI scheme
  • All notes have a text/plain mimetype

Available Functionality

Adding Notes

You can add notes to the server using the add-note tool. This tool requires:

  • name: A string identifier for the note
  • content: The text content of the note

When you add a note, the server will update its state and notify clients of the change.

Summarizing Notes

The server provides a summarize-notes prompt that creates summaries of all stored notes. You can control the detail level with an optional "style" argument:

  • brief: For shorter summaries
  • detailed: For more comprehensive summaries

The server generates a prompt that combines all your current notes with your style preference.

Troubleshooting

For debugging issues with the MCP server, the MCP Inspector tool is recommended. You can launch it using npm:

npx @modelcontextprotocol/inspector uv --directory /path/to/mcp-discord-chat run mcp-discord-chat

After launching, the Inspector will display a URL that you can open in your browser to begin debugging the server connection and communication.

How to add this MCP server to Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > MCP and click "Add new global MCP server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "cursor-rules-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "cursor-rules-mcp"
            ]
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later