Koskamo

Discord MCP

An open-source Model Context Protocol server for Discord that enables AI agents to perform caller-owned operations on Discord communities. It provides 222 typed tools for managing messages, channels, roles, and moderation, supporting workflows like building guilds, verifying changes, and running background tasks through a local stdio or HTTP endpoint.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

Discord MCP logo, by cappyeoCommunity listingLocal stdioSource reviewed; not executedPublished by cappyeo
Vendor documentation

What you can do with it

  • Manage messages, threads, forums, roles, events, polls, and onboarding
  • Moderate a server with permission checks, role audits, bans, and AutoMod
  • Build a server from a prompt with resumable execution and final verification
  • Run background workflows with durable sequences and cooperative cancellation

Source and maintenance

Community listingRegistry 0.32.1
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

@discord-mcp/cli 0.32.1

npm
@discord-mcp/cli package definition
{
  "version": "0.32.1",
  "transport": "stdio",
  "identifier": "@discord-mcp/cli",
  "registryType": "npm",
  "environmentVariables": [
    {
      "name": "DISCORD_TOKEN",
      "format": "string",
      "isRequired": true,
      "description": "Discord bot token. The optional Bot prefix is accepted."
    },
    {
      "name": "DISCORD_EXPECTED_BOT_ID",
      "format": "string",
      "description": "Expected Discord bot ID. Startup fails if the token belongs to another bot."
    },
    {
      "name": "ALLOWED_GUILDS",
      "format": "string",
      "description": "Comma-separated Discord guild IDs this deployment may operate against."
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "discord-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@discord-mcp/cli@0.32.1"
      ],
      "env": {
        "DISCORD_TOKEN": "<YOUR_DISCORD_TOKEN>",
        "DISCORD_EXPECTED_BOT_ID": "<YOUR_DISCORD_EXPECTED_BOT_ID>",
        "ALLOWED_GUILDS": "<YOUR_ALLOWED_GUILDS>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "discord-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@discord-mcp/cli@0.32.1"
      ],
      "env": {
        "DISCORD_TOKEN": "<YOUR_DISCORD_TOKEN>",
        "DISCORD_EXPECTED_BOT_ID": "<YOUR_DISCORD_EXPECTED_BOT_ID>",
        "ALLOWED_GUILDS": "<YOUR_ALLOWED_GUILDS>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "discord-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@discord-mcp/cli@0.32.1"
      ],
      "env": {
        "DISCORD_TOKEN": "<YOUR_DISCORD_TOKEN>",
        "DISCORD_EXPECTED_BOT_ID": "<YOUR_DISCORD_EXPECTED_BOT_ID>",
        "ALLOWED_GUILDS": "<YOUR_ALLOWED_GUILDS>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "discord-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@discord-mcp/cli@0.32.1"
      ],
      "env": {
        "DISCORD_TOKEN": "<YOUR_DISCORD_TOKEN>",
        "DISCORD_EXPECTED_BOT_ID": "<YOUR_DISCORD_EXPECTED_BOT_ID>",
        "ALLOWED_GUILDS": "<YOUR_ALLOWED_GUILDS>"
      }
    }
  }
}

Let your agent find its tools

Find servers like Discord MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.