Discord Conversation Logger MCP Server
An MCP (Model Context Protocol) server that allows AI assistants to log conversations to Discord for review and history tracking.
Power your agent
Cài đặt từ nhà phát hành. Không phải endpoint của PlugMCP.
Host a copy with our keys and logs.
Chưa có bản phát hành đóng gói nào trong registry. Làm theo README của kho mã.
URL từ xa hay một lệnh trên máy của bạn? Hai cách cài đặt khác nhau thế nào
Chạy trên PlugMCP
A new server you create. It is not this listing's official endpoint. Use the publisher install when you want their URL and their credentials.
MởTừ nhà phát hành
An MCP (Model Context Protocol) server that allows AI assistants to log conversations to Discord for review and history tracking.
MCP server that enables AI assistants to log conversations to Discord for audit trails, review, and team collaboration
This MCP server provides a simple way for AI assistants to maintain conversation logs in Discord. It's useful for:
cargo install --git https://github.com/SH11235/discord-conversation-logger.git
Or clone and build locally:
git clone https://github.com/SH11235/discord-conversation-logger.git
cd discord-conversation-logger
cargo install --path .
Run the setup script from the repository directory:
./setup-discord-env.sh
Edit ~/.claude/discord-config.json with your Discord credentials:
{
"bot_token": "YOUR_DISCORD_BOT_TOKEN",
"channel_id": "YOUR_CHANNEL_ID",
"thread_name": "Conversation Log" // Optional, defaults to "Conversation Log"
}
Load environment variables (optional for testing):
source ./load-discord-env.sh
Add the MCP server to Claude Code:
# First, load the environment variables (if using discord-config.json):
source ./load-discord-env.sh
# For global use (available in all projects):
claude mcp add -s user discord-conversation-logger discord-conversation-logger \
-e DISCORD_TOKEN="$DISCORD_TOKEN" \
-- --log-channel-id "$LOG_CHANNEL_ID" --log-thread-name "$LOG_THREAD_NAME"
# Or manually specify values:
claude mcp add -s user discord-conversation-logger discord-conversation-logger \
-e DISCORD_TOKEN="your-actual-discord-bot-token" \
-- --log-channel-id "123456789012345678" --log-thread-name "Conversation Log"
# For local project use (default):
claude mcp add discord-conversation-logger discord-conversation-logger \
-e DISCORD_TOKEN="$DISCORD_TOKEN" \
-- --log-channel-id "$LOG_CHANNEL_ID" --log-thread-name "$LOG_THREAD_NAME"
Note: The MCP server reads configuration from environment variables or command-line arguments, not directly from ~/.claude/discord-config.json.
Alternatively, you can manually add the following to your MCP configuration file (~/.claude.json):
{
"mcpServers": {
"discord-conversation-logger": {
"command": "discord-conversation-logger",
"args": [
"--log-channel-id", "your-channel-id",
"--log-thread-name", "AI Conversation Log"
],
"env": {
"DISCORD_TOKEN": "your-discord-bot-token"
}
}
}
}
DISCORD_TOKEN: Your Discord bot tokenLOG_CHANNEL_ID: Discord channel ID for logsLOG_THREAD_NAME: Thread name (default: "Conversation Log")The logger automatically includes the current working directory in the thread name. For example:
LOG_THREAD_NAME is "Conversation Log" and you're working in /home/user/projectThis helps identify which project or context the conversation logs belong to.
Once configured, AI assistants can use the log_conversation tool:
Assistant: I'll log this important decision.
[Uses log_conversation tool with role="assistant", message="Implemented feature X with approach Y"]
{
"role": "human",
"message": "Please implement a new authentication system",
"context": "feature-request"
}
Logged messages appear in Discord as embedded messages with:
To contribute or modify:
git clone https://github.com/SH11235/discord-conversation-logger.git
cd discord-conversation-logger
cargo build
cargo run -- --log-channel-id YOUR_CHANNEL_ID
MIT License - see LICENSE file for details
When using with Claude Code, you can create a CLAUDE.md file in your project to establish logging rules:
# Discord Conversation Logger Rules
## Important Message Logging Rules
Please use discord-conversation-logger MCP to log messages in the following cases:
### 1. User Messages (human)
- Task start/change/completion instructions
- Important decisions or confirmations
- Error reports or issue identification
### 2. Assistant Messages (assistant)
- Task completion reports
- Important suggestions or solutions
- Error resolution methods
- Summary of significant changes made
### 3. System Messages (system)
- Critical errors or warnings
- Important environment changes
- Security-related notifications
## Logging Format
mcp__discord-conversation-logger__log_conversation( message: "Actual message content", role: "human" | "assistant" | "system", context: "Brief context description" )
## Cases Not Requiring Logs
- Simple acknowledgments
- Intermediate progress reports
- Temporary debug outputs
This configuration helps maintain an audit trail of important project decisions and progress.
Contributions are welcome! Please feel free to submit a Pull Request.
Built using:
MCP server that enables AI assistants to log conversations to Discord for audit trails, review, and team collaboration
Công cụ
Chưa có danh sách công cụ. Máy chủ từ xa sẽ có danh sách sau lần kiểm tra tình trạng đầu tiên.
Câu hỏi thường gặp
Sao chép cấu hình stdio cho Cursor, Claude Desktop, Claude Code hoặc VS Code trên trang này. Cấu hình dùng bản cài đặt của nhà phát hành, không phải proxy của PlugMCP.
Bản ghi này không liệt kê biến môi trường bắt buộc nào.
Discord Conversation Logger chạy cục bộ qua stdio.
Kiểm tra lần cuối: 2026-10-28. MCP server that enables AI assistants to log conversations to Discord for audit trails, review, and team collaboration