# Discord Bot

> Use this tool when you need to provide AI-powered support in Discord communities through intelligent assistance and automated responses. It solves problems such as managing user inquiries, generating responses, and preventing spam, with inputs including slash commands and direct messages, and outputs including threaded conversations and routed responses. The Discord Bot is ideal for use cases requiring automated support and community management, with key commands like '/ask' and '/cleardm' for user queries and message management.

Canonical page: https://skillsregistry.net/skills/mastra-discord  
JSON: https://api.skillsregistry.net/v1/skills/mastra-discord

## Description

Discord MCP Server provides a bridge between Discord's API and Mastra's MCP Bot component, enabling intelligent assistance for users through slash commands and direct messages. This TypeScript implementation handles Discord interactions, manages bot commands, and routes user questions to the Mastra component for generating responses. It features thread creation for conversations, message chunking for long responses, and cooldown management to prevent spam. The server supports two main commands: '/ask' for querying about Mastra and '/cleardm' for clearing bot messages in direct messages, making it particularly useful for providing AI-powered support in Discord communities.

## Trust

- **Trust score (0–1):** 0.90
- **Verification tier:** verified
- **Last scanned:** 2026-09-28

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** communication
- **Updated:** 2026-09-28

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/mastra-discord)
- **Repository:** <https://github.com/mastra-ai/discord-mcp-server>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "mastra-discord"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/mastra-discord` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/mastra-discord/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
