Discord Operator
Provides tools for operating Discord servers via a bot: listing server channels, reading recent messages, and sending/editing messages or uploading files with explicit confirmation, channel allowlists, and audit logging. It does not access DMs.
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.
dsh-plugin-discord-operator — operador de Discord para DeepSeek Harness
Plugin MCP local para operar un servidor de Discord sin salir de DSH: listar canales, leer mensajes, enviar y editar mensajes y subir archivos con confirmación explícita, lista blanca de canales y auditoría. Nunca lee DMs y el token no se expone.
English · Cómo funciona · MIT
Herramientas (6)
Tool | Qué hace |
| Estado: token configurado (sin mostrarlo), bot, servidores, modo, listas blancas. |
| Lista canales de texto/anuncios/foros del servidor (nunca DMs). |
| Lee los últimos mensajes de un canal de servidor. |
| Envía un mensaje ( |
| Edita un mensaje del bot ( |
| Sube un archivo local ( |
Related MCP server: ForgeGuard MCP
Configuración del token
El token se toma, en este orden:
Variable de entorno del host
DISCORD_BOT_TOKEN(la pasa la fila MCP).Archivo local
<DSH_HOME>\discord-operator\config.json:
{
"token": "TU_TOKEN_DE_BOT",
"guildId": "123456789012345678",
"allowedChannels": ["anuncios", "123456789012345678"],
"allowedPaths": ["C:\\Users\\tu-usuario\\.dsh\\cache"]
}allowedChannels: ids o nombres (#canalocanal) donde se permite escribir. Si está vacío, las escrituras se rechazan.allowedPaths: carpetas desde las que se pueden subir archivos.El
postinstallcrea el archivo vacío para que solo completes el token.Nunca commitees el token.
Instalación
Desde DSH → Settings → Plugins instala
github:thegabopacheco-sudo/dsh-plugin-discord-operator y permite el script de
instalación.
Por CLI:
dsh plugin --profile <perfil> add github:thegabopacheco-sudo/dsh-plugin-discord-operatorEl postinstall copia el runtime a <DSH_HOME>\plugins\discord-operator y crea
<DSH_HOME>\discord-operator\config.json.
Requisitos: Windows 10/11, Node ≥ 20 (lo aporta el harness) y un bot de Discord con permisos de lectura/escritura en los canales configurados.
Seguridad
Lectura por defecto, escritura solo con
confirm:truey pedido explícito.Lista blanca de canales para escritura; lista blanca de rutas para subir.
Nunca DMs: solo se resuelven canales de servidor (texto/anuncios/foros).
Auditoría en
<DSH_HOME>\cache\discord-operator\audit.jsonl(sin contenido).Rate limit de 10 escrituras por minuto.
Read-only:
DSH_DISCORD_MODE=read-onlydesactiva send/edit/upload.El token no se devuelve en ninguna tool ni se escribe en logs.
Variables de entorno
Variable | Uso |
| Token del bot (alternativa al config). |
|
|
| Base de la API (default |
|
|
Solución de problemas
“falta el token”: define
DISCORD_BOT_TOKENo completa el config.403/401: token inválido o el bot no está en el servidor/ canal.
“no hay canales permitidos”: completa
allowedChannels.“ruta no permitida”: agrega la carpeta en
allowedPaths.Permiso de scripts en la instalación: aprueba el
postinstall; si el cartel se repite,allowBuilds: trueenpnpm-workspace.yamldel perfil.
Desarrollo
npm install
npm run build:bundle
cd test; npm install; node connect-test.mjs # usa un mock local de la API de DiscordLicencia
MIT © thegabopacheco-sudo
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
Connect a Discord bot (bot token from the developer portal) to read/send messages, list guilds and c
Chat where AI agents are first-class members, with their own identity and permissions.
Connect AI assistants to your approved computer for files, commands, browser and desktop tasks.
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
Related MCP Servers
- FlicenseAqualityBmaintenanceEnables coding agents to perform workspace-confined file operations, read-only Git inspection, and structured shell commands, while requiring out-of-band human approval for mutations and external executions and maintaining an audit trail.143-
- AlicenseAqualityBmaintenanceEnables coding agents to safely inspect and modify project files within explicitly allowed workspace roots, with controls for file operations, git status/diff, and optionally allowlisted command execution.11Apache 2.0
- AlicenseNot gradedqualityCmaintenanceEnables remote AI agents to read, patch, and (opt-in) execute commands in a local workspace, with all actions approved locally and fully audited.2,672 npm2MIT
- AlicenseAqualityBmaintenanceEnables AI agents to inspect and manage remote hosts over SSH with tiered blast-radius containment that classifies and blocks destructive commands, plus forensic post-flight assertions that verify ports, processes, files, and HTTP health. It also provides long-running background task envelopes and atomic SFTP file editing with automatic backups, unified diffs, and one-click rollback.12MIT