Discord Mcp
एक MCP सर्वर डिस्कॉर्ड एकीकरण के लिए। अपने एआई सहायकों को डिस्कॉर्ड के साथ सहजता से बातचीत करने में सक्षम बनाएं। शक्तिशाली स्वचालन क्षमताओं के साथ अपने डिस्कॉर्ड अनुभव को बढ़ाएं।
सारांश
Discord-MCP क्या है?
Discord-MCP एक शक्तिशाली सर्वर है जो Discord के साथ एकीकृत करने के लिए डिज़ाइन किया गया है, जिससे AI सहायकों और Discord प्लेटफ़ॉर्म के बीच सहज इंटरैक्शन संभव होता है। यह उपकरण उपयोगकर्ता अनुभव को बढ़ाता है, विभिन्न कार्यों को स्वचालित करके और उन्नत कार्यक्षमताएँ प्रदान करके जो Discord समुदायों के भीतर संचार और जुड़ाव को सरल बनाते हैं।
Discord-MCP की विशेषताएँ
- AI एकीकरण: AI सहायकों को सीधे Discord के साथ इंटरैक्ट करने की अनुमति देता है, जो वास्तविक समय में प्रतिक्रियाएँ और सहायता प्रदान करता है।
- स्वचालन क्षमताएँ: दोहराए जाने वाले कार्यों को स्वचालित करता है, जिससे उपयोगकर्ताओं के लिए अपने Discord सर्वरों का प्रबंधन करना आसान हो जाता है।
- उपयोगकर्ता-अनुकूल इंटरफ़ेस: सरलता को ध्यान में रखते हुए डिज़ाइन किया गया है, जिससे यह सभी कौशल स्तरों के उपयोगकर्ताओं के लिए सुलभ है।
- ओपन सोर्स: एक सार्वजनिक रिपॉजिटरी होने के नाते, उपयोगकर्ता इसके विकास में योगदान कर सकते हैं और इसे अपनी आवश्यकताओं के अनुसार अनुकूलित कर सकते हैं।
- सामुदायिक समर्थन: उपयोगकर्ताओं और डेवलपर्स का एक बढ़ता हुआ समुदाय जो Discord-MCP का प्रभावी ढंग से उपयोग करने के लिए सुझाव, तरकीबें और समर्थन साझा करता है।
Discord-MCP का उपयोग कैसे करें
- स्थापना: GitHub से रिपॉजिटरी क्लोन करें और README फ़ाइल में दिए गए स्थापना निर्देशों का पालन करें।
- कॉन्फ़िगरेशन: अपने Discord बॉट को सेट करें और इसे आपके सर्वर के साथ इंटरैक्ट करने की अनुमति देने के लिए आवश्यक अनुमतियाँ कॉन्फ़िगर करें।
- एकीकरण: अपने AI सहायक को Discord-MCP से कनेक्ट करें, जिससे यह आदेशों और संदेशों का उत्तर देने में सक्षम हो सके।
- अनुकूलन: आवश्यकतानुसार कोड को संशोधित करें ताकि कार्यक्षमताओं को आपकी विशिष्ट आवश्यकताओं के अनुसार अनुकूलित किया जा सके।
- जुड़ाव: Discord में अपने AI सहायक का उपयोग करना शुरू करें, इंटरैक्शन को बढ़ाते हुए और कार्यों को स्वचालित करते हुए एक सुगम अनुभव के लिए।
अक्सर पूछे जाने वाले प्रश्न
प्रश्न: क्या Discord-MCP का उपयोग मुफ्त है?
उत्तर: हाँ, Discord-MCP एक ओपन-सोर्स प्रोजेक्ट है और इसका उपयोग मुफ्त है।
प्रश्न: क्या मैं प्रोजेक्ट में योगदान कर सकता हूँ?
उत्तर: बिल्कुल! योगदान का स्वागत है। आप रिपॉजिटरी को फोर्क कर सकते हैं, परिवर्तन कर सकते हैं, और एक पुल अनुरोध सबमिट कर सकते हैं।
प्रश्न: Discord-MCP में कौन सी प्रोग्रामिंग भाषाएँ उपयोग की गई हैं?
उत्तर: Discord-MCP मुख्य रूप से JavaScript और Node.js का उपयोग करके बनाया गया है।
प्रश्न: मैं समस्याओं या बग की रिपोर्ट कैसे करूँ?
उत्तर: आप GitHub रिपॉजिटरी में "Issues" टैब के तहत एक नया मुद्दा बनाकर समस्याओं की रिपोर्ट कर सकते हैं।
प्रश्न: मैं Discord-MCP के लिए दस्तावेज़ीकरण कहाँ पा सकता हूँ?
उत्तर: दस्तावेज़ीकरण रिपॉजिटरी की README फ़ाइल में और सामुदायिक फोरम और चर्चाओं के माध्यम से उपलब्ध है।
Discord-MCP का उपयोग करके, उपयोगकर्ता अपने Discord अनुभव को महत्वपूर्ण रूप से बढ़ा सकते हैं, इंटरैक्शन को अधिक कुशल और आनंददायक बना सकते हैं।
विवरण
📖 Description
A Model Context Protocol (MCP) server for the Discord API (JDA), allowing seamless integration of Discord Bot with MCP-compatible applications like Claude Desktop.
Enable your AI assistants to seamlessly interact with Discord. Manage channels, send messages, and retrieve server information effortlessly. Enhance your Discord experience with powerful automation capabilities.
🔬 Installation
► 🐳 Docker Installation (Recommended)
NOTE: Docker installation is required. Full instructions can be found on docker.com.
{
"mcpServers": {
"mcp-server": {
"command": "docker",
"args": [
"run", "--rm", "-i",
"-e", "DISCORD_TOKEN=<YOUR_DISCORD_BOT_TOKEN>",
"-e", "DISCORD_GUILD_ID=<OPTIONAL_DEFAULT_SERVER_ID>",
"saseq/discord-mcp:latest"
]
}
}
}
<details>
<summary style="font-size: 1.35em; font-weight: bold;">
🔧 Manual Installation
</summary>
Clone the repository
git clone https://github.com/SaseQ/discord-mcp
Build the project
NOTE: Maven installation is required to use the mvn command. Full instructions can be found here.
cd discord-mcp
mvn clean package # The jar file will be available in the /target directory
Configure AI client
Many code editors and other AI clients use a configuration file to manage MCP servers.
The Discord MPC server can be configured by adding the following to your configuration file.
NOTE: You will need to create a Discord Bot token to use this server. Instructions on how to create a Discord Bot token can be found here.
{
"mcpServers": {
"discord-mcp": {
"command": "java",
"args": [
"-jar",
"/absolute/path/to/discord-mcp-0.0.1-SNAPSHOT.jar"
],
"env": {
"DISCORD_TOKEN": "YOUR_DISCORD_BOT_TOKEN",
"DISCORD_GUILD_ID": "OPTIONAL_DEFAULT_SERVER_ID"
}
}
}
}
The DISCORD_GUILD_ID
environment variable is optional. When provided, it sets a default Discord server ID so any tool that accepts a guildId
parameter can omit it.
Install Discord MCP Server automatically via Smithery:
npx -y @smithery/cli@latest install @SaseQ/discord-mcp --client <CLIENT_NAME> --key <YOUR_SMITHERY_KEY>
</details>
<details>
<summary style="font-size: 1.35em; font-weight: bold;">
🖲 Cursor Installation
</summary>
Go to: Settings
-> Cursor Settings
-> MCP
-> Add new global MCP server
Pasting the following configuration into your Cursor ~/.cursor/mcp.json
file is the recommended approach. You may also install in a specific project by creating .cursor/mcp.json
in your project folder. See Cursor MCP docs for more info.
{
"mcpServers": {
"mcp-server": {
"command": "docker",
"args": [
"run", "--rm", "-i",
"-e", "DISCORD_TOKEN=<YOUR_DISCORD_BOT_TOKEN>",
"-e", "DISCORD_GUILD_ID=<OPTIONAL_DEFAULT_SERVER_ID>",
"saseq/discord-mcp:latest"
]
}
}
}
</details>
<details>
<summary style="font-size: 1.35em; font-weight: bold;">
⌨️ Claude Code Installation
</summary>
Run this command. See Claude Code MCP docs for more info.
claude mcp add mcp-server -- docker run --rm -i -e DISCORD_TOKEN=<YOUR_DISCORD_BOT_TOKEN> -e DISCORD_GUILD_ID=<OPTIONAL_DEFAULT_SERVER_ID> saseq/discord-mcp:latest
</details>
🛠️ Available Tools
Server Information
get_server_info
: Get detailed discord server information
User Management
get_user_id_by_name
: Get a Discord user's ID by username in a guild for ping usage<@id>
send_private_message
: Send a private message to a specific useredit_private_message
: Edit a private message from a specific userdelete_private_message
: Delete a private message from a specific userread_private_messages
: Read recent message history from a specific user
Message Management
send_message
: Send a message to a specific channeledit_message
: Edit a message from a specific channeldelete_message
: Delete a message from a specific channelread_messages
: Read recent message history from a specific channeladd_reaction
: Add a reaction (emoji) to a specific messageremove_reaction
: Remove a specified reaction (emoji) from a message
Channel Management
create_text_channel
: Create text a channeldelete_channel
: Delete a channelfind_channel
: Find a channel type and ID using name and server IDlist_channels
: List of all channels
Category Management
create_category
: Create a new category for channelsdelete_category
: Delete a categoryfind_category
: Find a category ID using name and server IDlist_channels_in_category
: List of channels in a specific category
Webhook Management
create_webhook
: Create a new webhook on a specific channeldelete_webhook
: Delete a webhooklist_webhooks
: List of webhooks on a specific channelsend_webhook_message
: Send a message via webhook
<hr>If
DISCORD_GUILD_ID
is set, theguildId
parameter becomes optional for all tools above.
A more detailed examples can be found in the Wiki.
सर्वर कॉन्फ़िगरेशन
{
"mcpServers": {
"discord-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/metorial/mcp-container--saseq--discord-mcp--discord-mcp",
"java -Dserver.port=$PORT $JAVA_OPTS -jar target/*jar"
],
"env": {
"DISCORD_TOKEN": "discord-token"
}
}
}
}