Commit Graph

8 Commits

Author SHA1 Message Date
Ben Tallman f5e6859ff8 feat: add role management, member tools, voice channels, and channel permissions
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>
2026-03-09 15:20:51 -07:00
LiQiuDGG 8021295cbb feat: add discord_list_forum_threads tool
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
2026-01-13 09:56:37 -05:00
Sooty ca68246e9b refactor: move server-related tools from channel.ts to server.ts
improves code organisation a bit
2025-10-15 16:21:25 +01:00
Sooty 470842e396 feat(server): add search messages handler and schema
- 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.
2025-10-15 16:21:25 +01:00
copilot-swe-agent[bot] 730d79d9b9 Rename tool from discord_list_guilds to discord_list_servers for consistency
Co-authored-by: SootyOwl <7614538+SootyOwl@users.noreply.github.com>
2025-10-13 09:10:32 +00:00
copilot-swe-agent[bot] 9cdafc31c0 Add discord_list_guilds tool to list bot's guild memberships
Co-authored-by: SootyOwl <7614538+SootyOwl@users.noreply.github.com>
2025-10-11 22:54:40 +00:00
Shaskola 6f80c47b89 feat: add Discord category management (create/edit/delete)
- 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.
2025-05-21 01:44:07 -05:00
Barry Yip 56faf1ad85 Modularize tool list and handlers
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
2025-05-02 16:23:44 +08:00