Metadata-Version: 2.4
Name: zerya-discord-mcp
Version: 1.1.0
Summary: Permission-aware search over your Discord history for Claude and other AI agents (MCP server library)
Keywords: discord,mcp,model-context-protocol,claude,ai-agents,search,full-text-search,hikari
Author: Zerya
Author-email: Zerya <us@zerya.dev>
License-Expression: Apache-2.0
License-File: LICENSE
Classifier: Development Status :: 5 - Production/Stable
Classifier: Framework :: AsyncIO
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Communications :: Chat
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Topic :: Text Processing :: Indexing
Classifier: Typing :: Typed
Requires-Dist: hikari>=2.7
Requires-Dist: pydantic>=2.13
Requires-Dist: pydantic-settings>=2.16
Requires-Dist: rapidfuzz>=3.14
Requires-Dist: simplemma>=2.0
Requires-Dist: tzdata>=2025.2
Requires-Dist: hikari-arc>=2.3 ; extra == 'arc'
Requires-Dist: mcp>=2.3 ; extra == 'mcp'
Requires-Dist: starlette>=1.0 ; extra == 'mcp'
Requires-Python: >=3.14, <3.15
Project-URL: Homepage, https://github.com/Zerya-Dev/discord-mcp
Project-URL: Documentation, https://github.com/Zerya-Dev/discord-mcp#readme
Project-URL: Issues, https://github.com/Zerya-Dev/discord-mcp/issues
Project-URL: Changelog, https://github.com/Zerya-Dev/discord-mcp/blob/main/CHANGELOG.md
Provides-Extra: arc
Provides-Extra: mcp
Description-Content-Type: text/markdown

# zerya-discord-mcp

**Permission-aware search over your whole Discord history, for Claude and other AI agents.**

The library behind [zerya-discord-mcp](https://github.com/Zerya-Dev/discord-mcp): embed it in a
[hikari](https://github.com/hikari-py/hikari) bot to get a SQLite full-text index of your server, a query engine
that returns context "hooks", live per-member Discord permissions, and a remote MCP server with its own OAuth 2.1
sign-in (`/mcp login`). Works as a claude.ai custom connector and in Claude Code.

```bash
pip install "zerya-discord-mcp[arc,mcp]"   # the core alone: pip install zerya-discord-mcp
```

```python
from zerya_discord_mcp import REQUIRED_INTENTS, Config, ZeryaDiscordMcp
from zerya_discord_mcp.arc import McpPlugin  # [arc] extra
from zerya_discord_mcp.mcp import McpAsgiApp  # [mcp] extra

bot = hikari.GatewayBot(token, intents=hikari.Intents.ALL_UNPRIVILEGED | REQUIRED_INTENTS)
zdm = ZeryaDiscordMcp(bot, Config())  # settings from ZDM_* environment variables
arc_client.add_plugin(McpPlugin(zdm))  # starts and stops with the bot, adds /mcp and /mcp-setup
app = McpAsgiApp(zdm)  # ASGI app to serve at the root of ZDM_PUBLIC_URL
```

Without arc or without MCP, see the
[examples](https://github.com/Zerya-Dev/discord-mcp/tree/main/examples).

Prefer a ready-made bot? Use the Docker image `ghcr.io/zerya-dev/zerya-discord-mcp-bot`. Documentation, security model and configuration:
<https://github.com/Zerya-Dev/discord-mcp>.
