MCP Directory

How to add Discord MCP Server (barryyip0625) to Windsurf

Discord MCP for messaging, channel/forum management, reactions and webhooks Paste the config into ~/.codeium/windsurf/mcp_config.json and restart Windsurf.

Last updated June 15, 2026 · 92 · stdio · apikey

Windsurf config for Discord MCP Server (barryyip0625)

npx -y mcp-discord --config <your-discord-bot-token>
{
  "mcpServers": {
    "discord-mcp-server-barryyip0625": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-discord",
        "--config",
        "<your-discord-bot-token>"
      ],
      "env": {
        "DISCORD_TOKEN": "<your-discord-bot-token>"
      }
    }
  }
}

Setup steps

  1. 1Open Windsurf → Cascade → the hammer/MCP icon → Configure (or edit ~/.codeium/windsurf/mcp_config.json).
  2. 2Paste the Discord MCP Server (barryyip0625) config below.
  3. 3Fill in placeholder secrets, then save.
  4. 4Click Refresh in the MCP panel.
  5. 5Discord MCP Server (barryyip0625)'s tools become available to Cascade.

Before you start

  • Node.js v18.0.0 or higher and npm v7.0.0 or higher (or Docker for containerized deployment)
  • A Discord application with a bot, created in the Discord Developer Portal, and its bot token
  • The Message Content, Server Members, and Presence privileged intents enabled for the bot
  • The bot invited to your target server via an OAuth2 invite link with appropriate permissions (Administrator recommended, or granular Send Messages / Manage Channels / Manage Roles / Manage Messages / Add Reactions / View Channels)

What Discord MCP Server (barryyip0625) can do in Windsurf

discord_login

Authenticate the bot with Discord using the configured token

discord_list_servers

List the servers (guilds) the bot is a member of

discord_get_server_info

Get details about a server

discord_send

Send a message to a text channel

discord_read_messages

Read recent messages from a channel

discord_edit_message / discord_delete_message

Edit or delete an existing message

discord_create_text_channel / discord_create_voice_channel / discord_create_forum_channel

Create text, voice, or forum channels

discord_edit_channel / discord_delete_channel

Edit or delete a channel

Security

The Discord bot token grants full control of the bot account; restrict the bot's server permissions/intents to the minimum and never commit the token. Passing it via --config can leak into process listings, so prefer the DISCORD_TOKEN env var.

Discord MCP Server (barryyip0625) + Windsurf FAQ

Where is the Windsurf config file?

Windsurf reads MCP servers from ~/.codeium/windsurf/mcp_config.json. Paste the Discord MCP Server (barryyip0625) config there under the "mcpServers" key and restart the client.

Is Discord MCP Server (barryyip0625) safe to use with Windsurf?

The Discord bot token grants full control of the bot account; restrict the bot's server permissions/intents to the minimum and never commit the token. Passing it via --config can leak into process listings, so prefer the DISCORD_TOKEN env var.

Which intents and permissions does the bot need?

Enable the Message Content, Server Members, and Presence privileged intents. For full functionality the Administrator permission is recommended; otherwise grant the specific permissions for the tools you use (Send/Manage Messages, Manage Channels, Manage Roles, Add Reactions, View Channels).

How do I pass the bot token?

Provide it via the DISCORD_TOKEN environment variable, or pass it on the command line with `npx mcp-discord --config <token>`.

Does it support HTTP transport or only stdio?

Both. Stdio is the default for local MCP clients; you can also run an HTTP server with `--transport http --port 3000` (via build/app.js).

View repo Full Discord MCP Server (barryyip0625) page