Classifer
Provides tools for managing and interacting with a Discord server, including building systems from registry actions, reading server state, scheduling tasks, and handling events, allowing Claude to operate a Discord server through a data-driven registry.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Cognition
A Discord system where behavior is stored as data and applied live.
Overview
Cognition separates Discord behavior from the bot source code. Actions, components, triggers and schedules live in a SQLite registry. The running bot reads that registry when an interaction happens and executes the matching behavior.
Claude can inspect and change the registry through the MCP server. Most server changes can be applied without adding a new handler or restarting the Discord process.
Related MCP server: discord-mcp
Architecture
Cognition runs as two processes.
flowchart LR
Claude[Claude] --> MCP[MCP server]
MCP <--> Registry[(SQLite Registry)]
MCP --> Discord[Discord REST API]
Discord <--> Bot[Cognition bot]
Bot <--> RegistryMCP server
Used for reading server state, editing registry data, scheduling work and performing controlled structural operations through Discord REST.
Cognition bot
Keeps the Discord gateway connection alive and handles interactions, events and scheduled execution.
Registry
Stores the behavior the bot can execute:
actions
components
triggers
schedules
sessions
counters
snapshots
audit records
Registry actions
Actions are small primitives that can be composed into larger flows.
{
"key": "ticket_open",
"kind": "channel_create",
"params": {
"name": "ticket-{{user.name}}",
"parent_id": "CATEGORY_ID"
}
}The dispatcher looks up the action when the component is used and passes it to the executor.
Nested actions can use values created earlier in the same flow such as {{created.id}}.
Components and events
A registry action can be started by:
Source | Example |
Component | Button or modal interaction |
Trigger | Member join, message or reaction event |
Schedule | Cron based execution |
All three use the same registry and executor.
Safety
Structural changes create snapshots before writing where restoration is possible.
Destructive operations use a separate confirmation flow. The system first prepares a plan tied to the exact operation. The final apply step only accepts the matching confirmation token.
Unknown predicates and invalid requirements fail closed instead of allowing the action to continue.
Setup
Requirements:
Node.js 22.5 or newer
Discord application
Discord bot with the required intents
npm install
cp .env.example .envSet the Discord token and guild ID in .env, then run:
npm run smoke
npm run bootstrap
npm run botInstall the Claude Code plugin with:
node scripts/install-plugin.jsThe MCP tools can also be called directly from the command line:
npm run call guild_snapshot
npm run checkProject layout
bot/ Discord gateway process
shared/ Registry and execution logic
classifer/ MCP server
skills/ Operating guidance for Cognition tools
scripts/ Setup and project utilitiesLicense
This repository is source available. See LICENSE for the project terms.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Build and change Discord bots by describing them: slash commands, events, embeds, modals and data.
Discord MCP server for ChatGPT, Claude and any AI agent: list servers and channels, read channel messages, search messages, send message, reply to message, send DM, read mentions and assign role in your own Discord account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to Discord yourself; Cotlet does not store your password and you need no Discord API key. About the official Discord API: Yes, Discord has an official API for bots and OAuth2 apps, but it acts as a bot that a server manager adds, not as you, and Discord has no official MCP server for it (checked 5 Nov 2026). The MCP server on Discord's docs site only searches documentation. Setup and FAQ: https://cotlet.dev/integrations/discord-api-mcp-server
Build Discord communities with AI: roles, channels, modules, automations and reviewed announcements.
Kite is a no-code Discord bot builder that hosts your bot. Its MCP server lets your AI client build the bot for you: slash commands, event listeners and messages with buttons. It can also edit existing flows, read logs to fix errors, and add ready-made templates like tickets or verification. Changes go live right away, and commands show up in Discord within a minute. It can also read your server through the Discord API, like channels, roles and members. Claude, ChatGPT, Claude Code, Codex and VS Code connect by signing in. You pick which apps the client can access and whether it can make changes. Other clients like Cursor use a Kite API token. Earlier versions of every flow can be restored in Kite.
Related MCP Servers
- AlicenseAqualityCmaintenanceAn MCP server that provides native Discord tools for Claude Code, enabling bidirectional communication with remote agents or humans via the Discord REST API. It allows users to send messages, read channel history, and manage reactions directly from their local environment.63MIT
- AlicenseNot gradedqualityDmaintenanceEnables managing a Discord server using natural language through AI clients like Claude, with 139 admin tools across 20 categories for roles, channels, members, messages, threads, moderation, and more.264 npm47MIT
- AlicenseNot gradedqualityDmaintenanceEnables Claude to manage Discord servers through the Discord API, supporting server info, messaging, channel management, webhooks, and user interactions.7 npmMIT
- AlicenseAqualityCmaintenanceEnables Claude or any MCP client to operate a Discord bot through 35 tools, covering reading channels, searching history, posting and replying, managing channels, threads and roles, moderating members, and reading the audit log. It runs locally as a stateless subprocess, making plain HTTPS calls to Discord's REST API with no gateway connection.35MIT