# Discord Mcp

> An MCP server for interacting with Discord

- **Type:** MCP server
- **Install:** `agentstack add mcp-bennettschwartz-discord-mcp`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [BennettSchwartz](https://agentstack.voostack.com/s/bennettschwartz)
- **Installs:** 0
- **Category:** [Communication](https://agentstack.voostack.com/c/communication)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [BennettSchwartz](https://github.com/BennettSchwartz)
- **Source:** https://github.com/BennettSchwartz/discord-mcp
- **Website:** http://discord-mcp.gustycube.com/

## Install

```sh
agentstack add mcp-bennettschwartz-discord-mcp
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Discord MCP Server

A **Model Context Protocol** server that provides AI agents with secure access to Discord's REST API and Gateway events.

  

## Features

🔧 **120+ Discord API Tools** - Complete coverage of Discord's REST API  
🔒 **Security First** - Guild/channel allowlists, safe defaults, no accidental mentions  
⚡ **Real-time Events** - Gateway integration for live Discord activity  
🎯 **Smart Routing** - Auto-generated tools from declarative API catalog  
📦 **Modular Packs** - Enable only the functionality you need  

## Quick Start

```bash
# Clone and install
git clone https://github.com/GustyCube/discord-mcp
cd discord-mcp
npm install

# Configure your bot
cp .env.example .env
# Add your DISCORD_BOT_TOKEN and other settings

# Build and run
npm run build
npm start
```

## Documentation

📖 **Complete documentation available at [discord-mcp.gustycube.com](https://discord-mcp.gustycube.com/)**

### Quick Links
- [Getting Started](https://discord-mcp.gustycube.com/getting-started)
- [Configuration](https://discord-mcp.gustycube.com/configuration) 
- [Available Tools](https://discord-mcp.gustycube.com/tools)
- [Security Model](https://discord-mcp.gustycube.com/security)
- [Examples](https://discord-mcp.gustycube.com/examples)

## Example: Claude Desktop Integration

Add to your `mcp.json`:

```json
{
  "mcpServers": {
    "discord": {
      "command": "node",
      "args": ["/path/to/discord-mcp/dist/index.js"],
      "env": {
        "DISCORD_BOT_TOKEN": "your_bot_token_here",
        "ALLOW_GUILD_IDS": "123456789,987654321",
        "ALLOW_CHANNEL_IDS": "111111111,222222222"
      }
    }
  }
}
```

## What You Can Do

- **📝 Message Management** - Send, edit, delete messages and reactions
- **👥 User & Guild Info** - Get user profiles, guild details, member lists  
- **🔊 Channel Operations** - List channels, manage permissions, create threads
- **🎭 Rich Content** - Send embeds, manage webhooks, upload files
- **⚡ Live Events** - Subscribe to message events, member joins, etc.
- **🛡️ Moderation** - Manage bans, kicks, roles (with appropriate permissions)

## Contributing

See the [full documentation](https://discord-mcp.gustycube.com/) for development setup, API reference, and contribution guidelines.

## License

MIT License - see [LICENSE](LICENSE) file for details.

## Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [BennettSchwartz](https://github.com/BennettSchwartz)
- **Source:** [BennettSchwartz/discord-mcp](https://github.com/BennettSchwartz/discord-mcp)
- **License:** MIT
- **Homepage:** http://discord-mcp.gustycube.com/

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** yes
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/mcp-bennettschwartz-discord-mcp
- Seller: https://agentstack.voostack.com/s/bennettschwartz
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
