Metadata-Version: 2.4
Name: mcp-discord-bot
Version: 2026.11.25.0
Summary: MCP server for Discord application bots and Discord Agent Proxy instances
Project-URL: Homepage, https://github.com/AceDataCloud/DiscordBotMCP
Project-URL: Documentation, https://platform.acedata.cloud/documents/development_discord_bot?utm_source=pypi&utm_medium=referral&utm_campaign=evergreen
Project-URL: Repository, https://github.com/AceDataCloud/DiscordBotMCP
Project-URL: Issues, https://github.com/AceDataCloud/DiscordBotMCP/issues
Project-URL: Changelog, https://github.com/AceDataCloud/DiscordBotMCP/blob/main/CHANGELOG.md
Author-email: AceDataCloud <support@acedata.cloud>
Maintainer-email: AceDataCloud <support@acedata.cloud>
License-Expression: MIT
License-File: LICENSE
Keywords: acedata,api,automation,bot,claude,discord,llm,mcp,model-context-protocol
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Communications :: Chat
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.10
Requires-Dist: httpx>=0.27.0
Requires-Dist: loguru>=0.7.0
Requires-Dist: mcp<2,>=1.2.0
Requires-Dist: pydantic>=2.0.0
Requires-Dist: python-dotenv>=1.0.0
Provides-Extra: all
Requires-Dist: build>=1.2.0; extra == 'all'
Requires-Dist: mypy>=1.10.0; extra == 'all'
Requires-Dist: pre-commit>=3.7.0; extra == 'all'
Requires-Dist: pytest-asyncio>=0.23.0; extra == 'all'
Requires-Dist: pytest-cov>=5.0.0; extra == 'all'
Requires-Dist: pytest>=8.0.0; extra == 'all'
Requires-Dist: respx>=0.21.0; extra == 'all'
Requires-Dist: ruff>=0.4.0; extra == 'all'
Requires-Dist: twine>=5.0.0; extra == 'all'
Provides-Extra: dev
Requires-Dist: mypy>=1.10.0; extra == 'dev'
Requires-Dist: pre-commit>=3.7.0; extra == 'dev'
Requires-Dist: ruff>=0.4.0; extra == 'dev'
Provides-Extra: release
Requires-Dist: build>=1.2.0; extra == 'release'
Requires-Dist: twine>=5.0.0; extra == 'release'
Provides-Extra: test
Requires-Dist: pytest-asyncio>=0.23.0; extra == 'test'
Requires-Dist: pytest-cov>=5.0.0; extra == 'test'
Requires-Dist: pytest>=8.0.0; extra == 'test'
Requires-Dist: respx>=0.21.0; extra == 'test'
Description-Content-Type: text/markdown

<!-- Generated by scripts/marketing_readmes.py from README.md; do not edit. -->
# MCP Discord Bot Server

Inspect a Discord application bot and the servers it has joined from a local MCP client.

[![AceDataCloud/DiscordBotMCP MCP server](https://glama.ai/mcp/servers/AceDataCloud/DiscordBotMCP/badges/score.svg)](https://glama.ai/mcp/servers/AceDataCloud/DiscordBotMCP)

## Connect a Discord application bot

Create a bot in the [Discord Developer Portal](https://discord.com/developers/applications) and install it in the server you want to inspect. Supply the application's bot token to the local MCP process through `DISCORDBOT_TOKEN`. These tools use the [Discord REST API](https://docs.discord.com/developers/reference) with bot authentication and require no privileged gateway intents.

Configure the MCP client to run the following command over stdio. For example, with [uv](https://docs.astral.sh/uv/) installed and `DISCORDBOT_TOKEN` set in the client's environment:

```json
{
  "mcpServers": {
    "discord-bot": {
      "command": "uvx",
      "args": ["mcp-discord-bot", "--bot-account"]
    }
  }
}
```

Call `discord_whoami` for the bot's ID and username. `discord_list_guilds` returns up to 200 server IDs and names. Pass the last ID as `after` to read another page.

## Existing proxy installations

Running `mcp-discord-bot` without `--bot-account` preserves the separate Discord Agent Proxy interface. That client uses the instance URL `DISCORD_BOT_BASE_URL` and its own proxy access token `DISCORD_BOT_TOKEN`. The application bot mode uses only `DISCORDBOT_TOKEN` and connects directly to Discord. Discord [prohibits automation of personal accounts](https://support.discord.com/hc/en-us/articles/115002192352-Automated-User-Accounts-Self-Bots).

## Documentation

<!-- canonical-documentation -->
[Documentation](https://platform.acedata.cloud/documents/development_discord_bot?utm_source=pypi&utm_medium=referral&utm_campaign=evergreen)

## License

MIT
