Update README.md
This commit is contained in:
parent
bb79516c97
commit
31a29131c6
10
README.md
10
README.md
|
@ -49,8 +49,8 @@ MCP-Discord provides the following Discord-related functionalities:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Clone the repository
|
# Clone the repository
|
||||||
git clone https://github.com/barryyip0625/MCP-Discord.git
|
git clone https://github.com/barryyip0625/mcp-discord.git
|
||||||
cd MCP-Discord
|
cd mcp-discord
|
||||||
|
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
npm install
|
npm install
|
||||||
|
@ -70,7 +70,7 @@ DISCORD_TOKEN=your_discord_bot_token
|
||||||
|
|
||||||
2. Using the `--config` parameter when launching:
|
2. Using the `--config` parameter when launching:
|
||||||
```
|
```
|
||||||
node path/to/MCP-Discord/build/index.js --config "{\"DISCORD_TOKEN\":\"your_discord_bot_token\"}"
|
node path/to/mcp-discord/build/index.js --config "{\"DISCORD_TOKEN\":\"your_discord_bot_token\"}"
|
||||||
```
|
```
|
||||||
|
|
||||||
## Usage with Claude/Cursor
|
## Usage with Claude/Cursor
|
||||||
|
@ -82,7 +82,7 @@ node path/to/MCP-Discord/build/index.js --config "{\"DISCORD_TOKEN\":\"your_disc
|
||||||
"discord": {
|
"discord": {
|
||||||
"command": "node",
|
"command": "node",
|
||||||
"args": [
|
"args": [
|
||||||
"path/to/MCP-Discord/build/index.js"
|
"path/to/mcp-discord/build/index.js"
|
||||||
],
|
],
|
||||||
"env": {
|
"env": {
|
||||||
"DISCORD_TOKEN": "your_discord_bot_token"
|
"DISCORD_TOKEN": "your_discord_bot_token"
|
||||||
|
@ -102,7 +102,7 @@ node path/to/MCP-Discord/build/index.js --config "{\"DISCORD_TOKEN\":\"your_disc
|
||||||
"args": [
|
"args": [
|
||||||
"/c",
|
"/c",
|
||||||
"node",
|
"node",
|
||||||
"path/to/MCP-Discord/build/index.js"
|
"path/to/mcp-discord/build/index.js"
|
||||||
],
|
],
|
||||||
"env": {
|
"env": {
|
||||||
"DISCORD_TOKEN": "your_discord_bot_token"
|
"DISCORD_TOKEN": "your_discord_bot_token"
|
||||||
|
|
Loading…
Reference in New Issue