Discord Message Finder MCP
Read-only MCP server for finding Discord messages. It enables searching guild messages, locating messages from jump URLs, and reading context around results.
README
Discord Message Finder MCP
Read-only MCP server for finding Discord messages. It does not send, edit, delete, react to, or moderate messages. The tools are built around answering questions like "where was this discussed?", "which channel has the message?", and "show the context around this result."
Features
- Search guild messages with Discord's native search filters.
- Locate a message from a Discord jump URL or channel/message IDs.
- Read context before and after a message.
- List searchable channels and active threads.
- Scan recent channel history when native guild search is not enough.
- Return stable Discord jump links, timestamps, channel IDs, author IDs, attachments, embeds, and readable snippets.
Requirements
- Node.js 20 or newer.
- A Discord bot token.
- The bot must be in the target guild and have
View ChannelandRead Message Historywhere you want to search. - For message content search/results, enable the Discord
MESSAGE CONTENT INTENTprivileged intent for the application.
Setup
npm install
npm run build
Create an environment file or configure your MCP client with these variables:
DISCORD_BOT_TOKEN=your_bot_token
DISCORD_DEFAULT_GUILD_ID=optional_default_guild_id
DISCORD_ALLOWED_GUILD_IDS=optional_comma_separated_allowlist
Example MCP client configuration:
{
"mcpServers": {
"discord-search": {
"command": "node",
"args": ["/Users/dh/work/discord-mcp/build/index.js"],
"env": {
"DISCORD_BOT_TOKEN": "YOUR_BOT_TOKEN",
"DISCORD_DEFAULT_GUILD_ID": "YOUR_GUILD_ID"
}
}
}
}
Tools
check_discord_access
Checks whether the token works and whether a guild can be read.
list_guild_channels
Lists guild channels and optionally active threads, with IDs and parent/category context.
search_guild_messages
Uses Discord guild search to find messages by content, author, channel, mentions, attachments, links, pin status, and time/message bounds.
find_in_recent_history
Scans recent message history across selected channels or matching channel names. This is useful when Discord search indexing is delayed or when you want a bounded recent-history search.
locate_message
Fetches one exact message from a jump URL or channel/message IDs and returns where it lives.
get_message_context
Fetches an exact message plus surrounding messages before and after it.
read_channel_messages
Reads recent messages from a channel with Discord's before, after, or around pagination.
Notes
Discord's native search can return an indexing response with a retry delay, and search access depends on the application's Message Content privileged intent. The server surfaces those responses explicitly instead of hiding them.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。