Add 12 new tools for Discord server management:
Role management:
- discord_list_roles: list all roles with properties
- discord_create_role: create roles with color, hoist, permissions
- discord_edit_role: modify existing role properties
- discord_delete_role: remove a role
Member management:
- discord_assign_role: add a role to a member
- discord_remove_role: remove a role from a member
- discord_list_members: list guild members with roles
- discord_get_member: get detailed member info
Channel enhancements:
- discord_create_voice_channel: create voice channels with optional category
- discord_set_channel_permissions: set permission overrides on channels/categories
- discord_remove_channel_permissions: remove permission overrides
- Add categoryId parameter to discord_create_text_channel
Also adds GuildMembers intent for member/role operations.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add new tool to list all threads (posts) in a Discord forum channel,
including both active and archived threads. This addresses the limitation
where discord_search_messages only returns 25 message results and doesn't
provide a complete thread listing.
- Fetch active threads via channel.threads.fetchActive()
- Optionally fetch archived threads via channel.threads.fetchArchived()
- Deduplicate and sort threads by creation date (newest first)
- Return thread metadata including id, name, creator, dates, message count
- Implement searchMessagesHandler to search for messages in a Discord server.
- Add SearchMessagesSchema for input validation.
- Update toolList to include discord_search_messages tool.
- Modify transport and tools to handle new search messages functionality.
- Added handlers, schemas, and MCP tool wiring for creating, editing, and deleting Discord categories (GuildCategory).
- Fixed all .create/.edit argument errors for both category and text channel operations.
- Registered new tools in toolList and MCP server.
Modularize tool list and handlers for better maintainability
- Move tool list to separate toolList.ts file
- Split handlers into functional modules (channel, reactions, webhooks)
- Optimize import structure and switch statement in index.ts
- Maintain same functionality with improved code organization