neuron
A Discord MCP server that gives AI agents full control of a Discord bot — messages, channels, roles, threads, forums, events, webhooks, reactions, moderation, image generation, and real-time voice.
README
neuron
A Discord MCP server that gives AI agents full control of a Discord bot — messages, channels, roles, threads, forums, events, webhooks, reactions, moderation, image generation, and real-time voice.
Built with Bun, discord.js, and the MCP TypeScript SDK.
Features
- Messaging — send, edit, delete, pin, bulk-delete, fetch history, wait for new events in real time
- Channels & threads — create/edit/delete channels, threads, and forum posts
- Server management — roles, members, invites, webhooks, scheduled events, moderation (kick/ban/timeout)
- Voice — join voice channels, speak with ElevenLabs TTS, or run a full conversational voice agent that listens and replies
- Images — generate images with OpenAI and post them straight to a channel
- Event streaming —
discord_wait_for_eventsblocks until new messages/reactions/etc. arrive, so an agent can run a continuous listen-and-respond loop
Setup
-
Create a bot in the Discord Developer Portal, enable the Message Content, Server Members, and Presence privileged intents as needed, and invite it to your server.
-
Install dependencies:
bun install -
Configure credentials:
cp .env.example .env # then fill in DISCORD_BOT_TOKEN (required) and the optional keysVariable Required Purpose DISCORD_BOT_TOKENyes Bot token for the Discord API ELEVENLABS_API_KEYfor voice TTS and the conversational voice agent ELEVENLABS_VOICE_IDno Voice to speak with (has a default) OPENAI_API_KEYfor images discord_generate_imageIMAGE_OUTPUT_DIRno Where to save generated images
Usage
The server speaks MCP over stdio. Point any MCP client at it — for example, with Claude Code:
claude mcp add discord -- bun run /path/to/neuron/src/index.ts
Or in an mcpServers config:
{
"mcpServers": {
"discord": {
"command": "bun",
"args": ["run", "/path/to/neuron/src/index.ts"]
}
}
}
You can also run it directly to check that it starts:
bun start
Tools
<details> <summary>All 57 tools</summary>
Messages — discord_send_message, discord_get_message, discord_get_messages, discord_edit_message, discord_delete_message, discord_bulk_delete_messages, discord_pin_message, discord_unpin_message, discord_get_pinned_messages, discord_wait_for_events
Reactions — discord_add_reaction, discord_remove_reaction, discord_get_reactions
Channels & threads — discord_get_channel, discord_get_channels, discord_create_channel, discord_edit_channel, discord_delete_channel, discord_create_thread, discord_delete_thread, discord_archive_thread, discord_unarchive_thread, discord_add_thread_member, discord_remove_thread_member, discord_create_forum_post
Guilds & members — discord_get_guild, discord_get_guilds, discord_get_member, discord_get_members, discord_get_user, discord_kick_member, discord_ban_member, discord_timeout_member
Roles — discord_get_roles, discord_create_role, discord_edit_role, discord_delete_role, discord_add_role, discord_remove_role
Invites & webhooks — discord_get_invites, discord_create_invite, discord_delete_invite, discord_create_webhook, discord_send_webhook_message, discord_delete_webhook
Events — discord_get_events, discord_create_event, discord_delete_event
Voice — discord_join_voice, discord_leave_voice, discord_speak, discord_get_voice_status, discord_get_voice_members, discord_start_voice_agent, discord_stop_voice_agent, discord_get_voice_agent_status
Misc — discord_generate_image, discord_set_avatar
</details>
License
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.