Nika
Nika — Discord MCP Server
AI 어시스턴트가 Discord 커뮤니티를 운영할 수 있게 해주는 종합적인 Model Context Protocol 서버입니다: 메시징, 중재, 역할, 채널, 포럼, 웹훅, 초대, 예약 이벤트, AutoMod, 온보딩, 이모지/스티커, 권한 덮어쓰기, 음성 관리 — 111개 도구와 원시 REST 패스스루(discord_api_request)를 갖춰 Discord API가 할 수 있는 모든 것에 접근할 수 있습니다.
Python + discord.py(영구 게이트웨이 연결) 및 FastMCP로 구축되었습니다.
설정
1. Discord 봇 만들기 (완료)
애플리케이션: Nika (ID
1538805149865091092)활성화된 인텐트: Server Members, Message Content
토큰:
.env에 저장됨 (절대 커밋하지 마세요 —.gitignore가 보호합니다)
2. 서버에 봇 초대하기
이 URL을 열고 서버를 선택하세요 (전체 기능을 위해 관리자 권한을 부여하세요):
https://discord.com/api/oauth2/authorize?client_id=1538805149865091092&permissions=8&scope=bot%20applications.commands⚠️ 대부분의 도구가 작동하려면 봇이 서버에 있어야 합니다.
3. 설치 및 구성
python -m venv .venv
.venv\Scripts\pip install -e ".[dev]".env (이미 생성됨):
DISCORD_TOKEN=... # bot token
DISCORD_GUILD_ID= # optional: default server id → makes guildId optional everywhere
MCP_TRANSPORT=stdio # stdio | http
HTTP_HOST=0.0.0.0 # HTTP mode only
HTTP_PORT=8085
LOG_LEVEL=INFORelated MCP server: Cloud Discord
사용법
stdio (기본 — Claude Desktop, VS Code, Cursor 등)
.venv\Scripts\python -m discord_mcpClaude Desktop claude_desktop_config.json:
{
"mcpServers": {
"nika": {
"command": "d:\\Projects\\david\\DiscordMCP\\.venv\\Scripts\\python.exe",
"args": ["-m", "discord_mcp"],
"cwd": "d:\\Projects\\david\\DiscordMCP"
}
}
}HTTP (streamable) — 원격 액세스, n8n, 다중 클라이언트
.venv\Scripts\python -m discord_mcp --transport http --port 8085
# endpoint: http://localhost:8085/mcp클라이언트 구성:
{
"mcpServers": {
"nika": { "url": "http://localhost:8085/mcp" }
}
}Docker
docker compose up -d # builds + runs HTTP mode on :8085
docker run -i --rm -e DISCORD_TOKEN=$env:DISCORD_TOKEN discord-mcp:latest # stdioMCP Inspector로 테스트
npx @modelcontextprotocol/inspector .venv\Scripts\python.exe -m discord_mcp도구 참조 (111개 도구)
영역 | 도구 |
서버 |
|
채널 |
|
메시지 |
|
멤버 |
|
역할 |
|
DM |
|
중재 |
|
음성 |
|
이벤트 |
|
권한 |
|
초대 |
|
웹훅 |
|
포럼 |
|
이모지 & 스티커 |
|
AutoMod |
|
온보딩 & 감사 |
|
원시 API |
|
설계 노트
하이브리드 게이트웨이 + REST: 하나의 영구 discord.py 게이트웨이 연결이 실시간 상태(멤버/채널 조회, 이름→ID)를 제공하며, 변경 작업은 동일한 클라이언트를 통해 수행됩니다. 도구 호출은
asyncio.run_coroutine_threadsafe를 통해 게이트웨이 루프에 연결됩니다.안전성: 원시 도구는 변경 메서드에
confirmDestructive=true를 요구합니다;prune_members는 기본적으로 dry run으로 실행됩니다; 파괴적 도구는 감사 로그에 기록되는reason을 허용합니다.선택적
guildId:.env에서DISCORD_GUILD_ID를 설정하면 모든guildId매개변수가 선택 사항이 됩니다.오류: Discord 오류는 읽기 쉬운 메시지로 변환됩니다 (예:
Missing permissions: ...).
제한 사항
봇 토큰이 필요합니다 (사용자 토큰/셀프봇 자동화는 Discord 서비스 약관을 위반합니다).
메시지 읽기에는 봇이 채널을 볼 수 있어야 하며, 콘텐츠의 경우 Message Content 인텐트가 필요합니다.
음성 오디오 스트리밍/수신을 지원하지 않습니다.
개발
.venv\Scripts\python -m pytest # 22 unit tests구성: discord_mcp/bot.py (게이트웨이 브리지) · discord_mcp/server.py (FastMCP) · discord_mcp/tools/*.py (도메인별 모듈) · discord_mcp/utils/ (직렬화기, 임베드).
라이선스
MIT
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
- AlicenseBqualityDmaintenanceA Discord MCP server that enables AI assistants to interact with Discord platforms, providing functionalities like sending messages, managing channels, creating forum posts, and handling webhooks.214651MIT
- Alicense-qualityDmaintenanceAn MCP server that gives AI agents full admin control over Discord servers with 59 tools for messaging, moderation, roles, channels, forums, reactions, files, and more, deployed on Cloudflare Workers.4MIT
- Alicense-qualityDmaintenanceComprehensive Discord MCP server with 66 tools that provides rich message context including emoji reactions, thread indicators, and attachment metadata inline. Enables AI assistants to interact with Discord servers for messaging, moderation, roles, channels, and more.1591MIT
- AlicenseBqualityDmaintenanceA Discord MCP server that enables AI assistants to interact with the Discord platform, providing features like message sending, channel management, forum operations, reactions, and webhook management.22465MIT
Related MCP Connectors
An MCP server that integrates with Discord to provide AI-powered features.
MCP server for Gainium — manage trading bots, deals, and balances via AI assistants
Security-first WordPress MCP server. 129 tools for Claude, ChatGPT, Gemini. Free on wp.org.
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/alive2/discord-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server