Discord MCP Server logo

Discord MCP Server

by mastra-ai

A Discord bot server that integrates with Mastra's MCP Bot component to provide intelligent assistance and answer questions about Mastra.ai. It handles Discord interactions, manages bot commands, and interfaces with the Mastra component for intelligent responses.

View on GitHub

Last updated: N/A

What is Discord MCP Server?

This is a Discord bot server component designed to work with Mastra's MCP Bot. It manages Discord interactions, bot commands, and provides Discord-specific functionality while interfacing with the Mastra component for intelligent responses.

How to use Discord MCP Server?

To use this server, clone the repository, install dependencies, configure the .env file with your Discord credentials, and run the server using npm start. You'll also need to set up a Discord bot application and invite it to your server.

Key features of Discord MCP Server

  • Direct Message Support

  • Slash Commands

  • Threads

  • Seamless Integration with Mastra MCP component

Use cases of Discord MCP Server

  • Answering user questions about Mastra.ai through Discord

  • Providing intelligent assistance via Discord

  • Managing Discord interactions and message routing

  • Handling bot commands and permissions

FAQ from Discord MCP Server

What is the purpose of this server?

This server acts as a bridge between Discord and the Mastra MCP component, enabling intelligent bot interactions within Discord.

What are the prerequisites for running this server?

You need Node.js v20.0+, npm, a Discord bot token, and access to the discord-mcp-bot component.

How do I get a Discord bot token?

Create a Discord application in the Discord Developer Portal, navigate to the 'Bot' tab, and reset or copy the token.

What slash commands are available?

The available slash commands are /ask to ask the bot a question and /cleardm to clear the bot messages in the user's DMs.

How does this server integrate with Mastra?

It interfaces with the Mastra MCP component to provide intelligent responses and handle Mastra-specific functionality.