← Back to Plugins
MCP Server MCP

Discord MCP

github By github 👁 1 views ▲ 0 votes

Safe Discord access for reading guild data and optionally managing bot messages

Homepage Verified source GitHub

Install

npx -y @hypark5540/[email protected]

Configuration Example

{
  "remotes": [],
  "packages": [
    {
      "registryType": "npm",
      "registryBaseUrl": "https://registry.npmjs.org",
      "identifier": "@hypark5540/discord-mcp",
      "version": "0.1.1",
      "runtimeHint": "npx",
      "transport": {
        "type": "stdio"
      },
      "environmentVariables": [
        {
          "description": "Discord bot token",
          "isRequired": true,
          "isSecret": true,
          "name": "DISCORD_TOKEN"
        },
        {
          "description": "Expose message send and edit tools",
          "default": "false",
          "choices": [
            "false",
            "true"
          ],
          "name": "DISCORD_ENABLE_WRITES"
        },
        {
          "description": "Expose the own-message delete tool; writes must also be enabled",
          "default": "false",
          "choices": [
            "false",
            "true"
          ],
          "name": "DISCORD_ENABLE_DELETES"
        },
        {
          "description": "Permit writes without a guild or channel allowlist",
          "default": "false",
          "choices": [
            "false",
            "true"
          ],
          "name": "DISCORD_ALLOW_UNRESTRICTED_WRITES"
        },
        {
          "description": "Comma-separated Discord guild IDs",
          "name": "DISCORD_ALLOWED_GUILD_IDS"
        },
        {
          "description": "Comma-separated Discord channel IDs",
          "name": "DISCORD_ALLOWED_CHANNEL_IDS"
        },
        {
          "description": "Maximum serialized MCP response size in characters",
          "format": "number",
          "default": "50000",
          "name": "DISCORD_MAX_RESPONSE_CHARS"
        }
      ]
    },
    {
      "registryType": "pypi",
      "registryBaseUrl": "https://pypi.org",
      "identifier": "hypark-discord-mcp",
      "version": "0.1.1",
      "runtimeHint": "uvx",
      "transport": {
        "type": "stdio"
      },
      "environmentVariables": [
        {
          "description": "Discord bot token",
          "isRequired": true,
          "isSecret": true,
          "name": "DISCORD_TOKEN"
        },
        {
          "description": "Expose message send and edit tools",
          "default": "false",
          "choices": [
            "false",
            "true"
          ],
          "name": "DISCORD_ENABLE_WRITES"
        },
        {
          "description": "Expose the own-message delete tool; writes must also be enabled",
          "default": "false",
          "choices": [
            "false",
            "true"
          ],
          "name": "DISCORD_ENABLE_DELETES"
        },
        {
          "description": "Permit writes without a guild or channel allowlist",
          "default": "false",
          "choices": [
            "false",
            "true"
          ],
          "name": "DISCORD_ALLOW_UNRESTRICTED_WRITES"
        },
        {
          "description": "Comma-separated Discord guild IDs",
          "name": "DISCORD_ALLOWED_GUILD_IDS"
        },
        {
          "description": "Comma-separated Discord channel IDs",
          "name": "DISCORD_ALLOWED_CHANNEL_IDS"
        },
        {
          "description": "Maximum serialized MCP response size in characters",
          "format": "number",
          "default": "50000",
          "name": "DISCORD_MAX_RESPONSE_CHARS"
        }
      ]
    },
    {
      "registryType": "oci",
      "identifier": "ghcr.io/hypark5540/discord-mcp:0.1.1",
      "runtimeHint": "docker",
      "transport": {
        "type": "stdio"
      },
      "environmentVariables": [
        {
          "description": "Discord bot token",
          "isRequired": true,
          "isSecret": true,
          "name": "DISCORD_TOKEN"
        },
        {
          "description": "Expose message send and edit tools",
          "default": "false",
          "choices": [
            "false",
            "true"
          ],
          "name": "DISCORD_ENABLE_WRITES"
        },
        {
          "description": "Expose the own-message delete tool; writes must also be enabled",
          "default": "false",
          "choices": [
            "false",
            "true"
          ],
          "name": "DISCORD_ENABLE_DELETES"
        },
        {
          "description": "Permit writes without a guild or channel allowlist",
          "default": "false",
          "choices": [
            "false",
            "true"
          ],
          "name": "DISCORD_ALLOW_UNRESTRICTED_WRITES"
        },
        {
          "description": "Comma-separated Discord guild IDs",
          "name": "DISCORD_ALLOWED_GUILD_IDS"
        },
        {
          "description": "Comma-separated Discord channel IDs",
          "name": "DISCORD_ALLOWED_CHANNEL_IDS"
        },
        {
          "description": "Maximum serialized MCP response size in characters",
          "format": "number",
          "default": "50000",
          "name": "DISCORD_MAX_RESPONSE_CHARS"
        }
      ]
    }
  ]
}
mcp model-context-protocol npm pypi oci

Comments

Sign in to leave a comment

Loading comments...