discord-mcp
Verified Safeby vab-labo
Overview
This MCP server fetches messages from specified Discord channels, enabling an LLM to access and process Discord communication history.
Installation
npx tsx src/index.tsEnvironment Variables
- DISCORD_BOT_TOKEN
Security Notes
The code appears secure. It properly validates input parameters using Zod, handles the Discord Bot Token via environment variables (DISCORD_BOT_TOKEN), and limits the number of messages fetched (1-100) to prevent excessive load. No 'eval' or other dangerous dynamic code execution patterns were found. Interactions are limited to the Discord API via the official `@discordjs/rest` library, reducing custom network attack surface. The bot requires 'Read Message History' permission, which is appropriate for its function.
Similar Servers
slack-mcp-server
Provides a Model Context Protocol (MCP) server for integrating Slack workspace data and communication capabilities with AI models and agents.
mcp-discord
Enables AI assistants to interact with the Discord platform by providing a set of Discord-related functionalities via the Model Context Protocol (MCP).
mcp-server-llmling
mcp-server-llmling serves as a Machine Chat Protocol (MCP) server, providing a YAML-based system to configure and manage LLM applications, including resources, prompts, and tools.
lyra-tool-discovery
This MCP server is designed to fetch, parse, and organize documentation from websites implementing the llms.txt standard. It transforms raw documentation into structured, agent-ready formats, exposing tools for AI agents, LLMs, and automation workflows to consume documentation programmatically.