MCP Connector

Integrate Discord with Your Applications

A Klavis-built MCP server for Discord: send messages, manage channels and roles, via a hosted service or self-hosted Docker image.

Works with discord

84
Spark score
out of 100
Updated 3 months ago
Source checked Sep 15, 2026
Version python-v2.20.0
Models
universal

Add to Favorites

Why it matters

Connect your applications to Discord to automate communication and manage server interactions. This asset provides an API for sending messages, managing channels, and handling user roles.

Outcomes

What it gets done

01

Send, edit, and delete messages via API

02

Manage Discord channels and permissions

03

Retrieve server and member information

04

Automate user role assignments

Source

Get it from source

Spark does not host a copy of it.

Open source

Reports

Agent outcome reports

No reports yet

Capabilities

Tools your agent gets

message_management

Send, edit, and delete messages in Discord channels

channel_operations

Manage channels and channel access permissions

server_management

Retrieve server information and member data

user_interactions

Manage user roles and access permissions

bot_operations

Handle Discord-specific bot functions

Overview

Discord MCP Server

A Klavis-built MCP server for Discord that lets an agent send and moderate messages, manage channels and permissions, and administer roles and members through Discord's own API with OAuth support. Use it when an agent needs to act directly on a Discord server, via Klavis's hosted service or a self-hosted Docker deployment.

What it does

This MCP server integrates Discord into MCP clients, letting an agent send, edit, and delete messages, manage channels and channel permissions, look up server information and member details, manage user roles and permissions, and handle bot-specific Discord functionality. It uses Discord's own API with OAuth support and is built by Klavis, which offers it both as a managed hosted service and as a self-hostable Docker image.

When to use - and when NOT to

Use it when an agent needs to act on a real Discord server: posting or moderating messages, managing channels and roles, or pulling server/member information. The hosted route (via a free Klavis API key) fits production use with no infrastructure to run yourself; the Docker route fits self-hosting when you want to run and manage the server directly with your own Discord bot token. It is a Discord-specific connector, not a general chat-platform integration - it does not cover other platforms.

Capabilities

  • Message Management: send, edit, and delete messages
  • Channel Operations: manage channels and channel permissions
  • Server Management: get server information and member details
  • User Interactions: manage user roles and permissions
  • Bot Operations: handle bot-specific Discord functionality

How to install

For self-hosting via Docker:

# Pull latest image
docker pull ghcr.io/klavis-ai/discord-mcp-server:latest


# Run Discord MCP Server
docker run -p 5000:5000 -e DISCORD_TOKEN=$DISCORD_TOKEN \
  ghcr.io/klavis-ai/discord-mcp-server:latest

Alternatively, use the hosted service: get a free API key at klavis.ai, install the klavis SDK (pip install klavis or npm install klavis), and create a server instance from it, for example klavis.mcp_server.create_server_instance("DISCORD", "user123") in Python. Full documentation is at klavis.ai/docs.

Who it's for

Developers and teams building AI agents or bots that need to operate a Discord server programmatically, whether through a managed hosted endpoint or a self-hosted Docker deployment. Licensed under Apache 2.0.

Source README

Discord MCP Server

A Model Context Protocol (MCP) server for Discord integration. Send messages, manage channels, and interact with Discord servers using Discord's API with OAuth support.

๐Ÿš€ Quick Start - Run in 30 Seconds

๐ŸŒ Using Hosted Service (Recommended for Production)

Get instant access to Discord with our managed infrastructure - no setup required:

๐Ÿ”— Get Free API Key โ†’

pip install klavis
# or
npm install klavis
from klavis import Klavis

klavis = Klavis(api_key="your-free-key")
server = klavis.mcp_server.create_server_instance("DISCORD", "user123")

๐Ÿณ Using Docker (For Self-Hosting)

# Pull latest image
docker pull ghcr.io/klavis-ai/discord-mcp-server:latest


# Run Discord MCP Server
docker run -p 5000:5000 -e DISCORD_TOKEN=$DISCORD_TOKEN \
  ghcr.io/klavis-ai/discord-mcp-server:latest

๐Ÿ› ๏ธ Available Tools

  • Message Management: Send, edit, and delete messages
  • Channel Operations: Manage channels and channel permissions
  • Server Management: Get server information and member details
  • User Interactions: Manage user roles and permissions
  • Bot Operations: Handle bot-specific Discord functionality

๐Ÿ“š Documentation & Support

Resource Link
๐Ÿ“– Documentation www.klavis.ai/docs
๐Ÿ’ฌ Discord Join Community
๐Ÿ› Issues GitHub Issues

๐Ÿค Contributing

We welcome contributions! Please see our Contributing Guide for details.

๐Ÿ“œ License

Apache 2.0 license - see LICENSE for details.


๐Ÿš€ Supercharge AI Applications

Get Free API Key โ€ข Documentation โ€ข Discord

FAQ

Common questions

Discussion

Questions & comments ยท 0

Sign In Sign in to leave a comment.