Commit Graph

21 Commits

Author SHA1 Message Date
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