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.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ClassiferAdd a button that opens a private ticket in the support channel."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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 Server
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.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceAn 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.6133MIT
- Alicense-qualityBmaintenanceEnables AI clients to manage Discord servers through natural language, offering tools for guilds, channels, messages, roles, members, webhooks, invites, and automations. Includes a conversational agent that responds to @mentions in Discord.8Apache 2.0
- Alicense-qualityDmaintenanceEnables 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.20421MIT
- Alicense-qualityDmaintenanceEnables Claude to manage Discord servers through the Discord API, supporting server info, messaging, channel management, webhooks, and user interactions.10MIT
Related MCP Connectors
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
Hosted MCP server to manage a restaurant menu from AI agents - 39 tools over the DuckHub API.
Markdown-first MCP server for Notion API with 8 composite tools and 39 actions.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/justpainful/Cognition'
If you have feedback or need assistance with the MCP directory API, please join our Discord server