Commit Graph

72 Commits

Author SHA1 Message Date
Barry Yip f2c5a97f41 Fix: smithery deployment 2025-06-07 23:29:47 +08:00
Barry Yip 2bb68155f1 Update smithery.yaml 2025-06-07 23:27:00 +08:00
Barry Yip a56ec56d00 Fix: fixing discord bot login issue 2025-06-07 23:23:47 +08:00
Barry Yip 163e221120 Update smithery.yaml 2025-06-04 00:37:33 +08:00
IAPP-BY a85b5c20e1 Update smithery.yaml 2025-06-03 15:12:26 +08:00
IAPP-BY 04b9e81ec7 Update smithery.yaml 2025-06-03 15:03:18 +08:00
IAPP-BY eea277913c Update smithery.yaml 2025-06-03 14:57:49 +08:00
IAPP-BY 02389fc9f0 Update smithery.yaml 2025-06-03 14:26:13 +08:00
IAPP-BY 0460890c40 Update smithery.yaml 2025-06-03 14:23:36 +08:00
IAPP-BY 33140c1a0a Update smithery.yaml 2025-06-03 14:08:41 +08:00
IAPP-BY d7ff9b3bba Update smithery.yaml 2025-06-03 14:02:42 +08:00
IAPP-BY 06285d895f Update Dockerfile 2025-06-03 13:58:36 +08:00
IAPP-BY c877963fe1 Fix: Smithery deployment issue 2025-06-03 13:57:47 +08:00
IAPP-BY 7e7896b13e Update Dockerfile 2025-06-03 13:50:51 +08:00
IAPP-BY 899c78f08c Update Dockerfile 2025-06-03 13:48:41 +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
Barry Yip 5d1ddf6b87
Merge pull request #6 from shaskola/main
feat: add Discord category management (create/edit/delete)
2025-05-21 15:12:48 +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
Shaskola c827761ccb feat: add Discord category management (create, edit, delete)
- Implement handlers for creating, editing, and deleting categories in Discord ([createCategoryHandler](cci:1://file:///e:/Figma%20plugins/mcp-discord/src/tools/channel.ts:54:0-88:1), [editCategoryHandler](cci:1://file:///e:/Figma%20plugins/mcp-discord/src/tools/channel.ts:90:0-123:1), [deleteCategoryHandler](cci:1://file:///e:/Figma%20plugins/mcp-discord/src/tools/channel.ts:125:0-155:1)) in [src/tools/channel.ts](cci:7://file:///e:/Figma%20plugins/mcp-discord/src/tools/channel.ts:0:0-0:0)
- Add input validation schemas for category operations in `src/schemas.ts`
- Register new handlers in [src/tools/tools.ts](cci:7://file:///e:/Figma%20plugins/mcp-discord/src/tools/tools.ts:0:0-0:0) and expose them in [src/toolList.ts](cci:7://file:///e:/Figma%20plugins/mcp-discord/src/toolList.ts:0:0-0:0)
- Route category management tools in [src/server.ts](cci:7://file:///e:/Figma%20plugins/mcp-discord/src/server.ts:0:0-0:0) for MCP tool execution
- Update tool definitions to include input schemas and descriptions for category management

This enables full programmatic management of Discord categories via the MCP-Discord server.
2025-05-21 01:33:56 -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 982be7ae06 Update README.md 2025-05-15 02:17:56 +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 7b500bffa8 Update Dockerfile 2025-05-15 01:35:12 +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 e5fa49080f Update smithery.yaml 2025-05-15 00:56:36 +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 7a872977a3 Update README.md 2025-05-13 23:52:12 +08:00
Barry Yip e8dea14908 Update README.md 2025-05-13 23:49:59 +08:00
Barry Yip 062d39c361
Update README.md 2025-05-11 16:38:14 +08:00
Barry Yip 40eb39ea21 Merge branch 'main' of https://github.com/barryyip0625/mcp-discord 2025-05-11 15:12:30 +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