Commit Graph

35 Commits

Author SHA1 Message Date
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
Barry Yip 60052cc4af Update package metadata and add CLI shebang
Enhanced package.json with description, keywords, author, repository, and engine requirements. Added a shebang line to src/index.ts for CLI execution and set up prepublishOnly script to build before publishing.
2025-07-08 21:13:03 +08:00
IAPP-BY 00dae9e426 Re-enable the discord_login tools 2025-06-10 14:56:00 +08:00
IAPP-BY 2758ce00fb feat: remove discord_login tool and update dockerfile 2025-06-03 13:43:38 +08:00
BarryY 158b19cf58 feat: Add category related tools to http transport handler 2025-05-21 15:17:02 +08: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
BarryY baba05c01d fix: Fix client state not updated after login 2025-05-16 16:26:39 +08:00
BarryY 2b4f2bc8e9 fix: Fix login error 2025-05-16 16:14:55 +08:00
BarryY 9683996217 fix: correcting ping method response format 2025-05-16 15:53:35 +08:00
BarryY e393d9bd98 fix: Fix discord bot login timeout issues 2025-05-16 12:42:21 +08:00
BarryY 92116fd82b fix: Increase Discord client ready event timeout from 10s to 30s 2025-05-15 17:56:44 +08:00
BarryY 826f17bd68 fix: Improve Discord login with proper ready event handling and timeout protection 2025-05-15 13:53:50 +08:00
BarryY 8d884428e4 fix: Recreate Discord client instance when switching tokens to ensure clean state 2025-05-15 13:49:15 +08:00
BarryY 8d1040ea73 feat: Add auto-reconnect logic for Discord client when session gets disconnected 2025-05-15 13:39:04 +08:00
BarryY eb2f5a7da3 feat: Enhance Discord login handler with improved error handling and debug logging 2025-05-15 13:29:41 +08:00
BarryY 48f0cb1739 fix: Fix Discord client initialization in HTTP transport 2025-05-15 13:18:08 +08:00
BarryY 944af5def9 fix: Fix Discord client login state handling and improve error reporting 2025-05-15 12:59:38 +08:00
BarryY 73eee8a5cf fix: Fix MCP protocol compatibility by adding ping and tools/call method handlers 2025-05-15 12:47:21 +08:00
Barry Yip e008e87d6b refactor: Remove unused random_string parameter from DiscordLoginSchema 2025-05-15 02:10:10 +08:00
Barry Yip 3c902e350b fix: Add support for tools/list method to resolve MCP scanning issue 2025-05-15 01:53:29 +08:00
Barry Yip c1a0164d78 fix: Fixed MCP protocol lifecycle support 2025-05-15 01:50:20 +08:00
Barry Yip 0f0b957d54 fix: Configure HTTP server to listen on 0.0.0.0:8080 2025-05-15 01:41:58 +08:00
Barry Yip 7da435c107 Change default port to 8080 2025-05-15 01:38:36 +08:00
Barry Yip d18642f0eb feat: Enable runtime Discord Bot Token switching 2025-05-15 01:31:34 +08:00
Barry Yip c2096ae746 Update index.ts 2025-05-15 01:20:37 +08:00
Barry Yip a3e9af1a65 Update index.ts 2025-05-15 01:08:35 +08:00
Barry Yip dfd8e6a724 feat: Add channel details to getServerInfoHandler response 2025-05-14 21:27:13 +08:00
Barry Yip 91030ce575 feat: add unified Discord error handler with clear guidance for unauthorized server access 2025-05-14 00:01:59 +08:00
Barry Yip e10d5166bc feat: add logger utility and improve Discord login error message for token and privileged intents 2025-05-11 15:12:28 +08:00
Barry Yip 7baf5a03e6 feat: implement multi-transport support and optimize Discord MCP server 2025-05-09 00:38:03 +08: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
BarryY 9e329f35ce Added Webhook Management Tools 2025-03-27 16:34:02 +08:00
BarryY c5f1566656 Updated API to support Tool description 2025-03-27 12:15:55 +08:00
BarryY bb79516c97 Initial commit 2025-03-25 12:55:24 +08:00