Commit Graph

94 Commits

Author SHA1 Message Date
Barry Yip 306f6abe81
Merge pull request #16 from SootyOwl/feat/add-message-search
Add search messages tool
2025-10-20 15:45:02 +08:00
Sooty 26bacdbefc docs(README): update functionalities and add message search feature
- Add "Search messages in a server" to the list of functionalities
- Document `discord_search_messages` in the Messages and Reactions section
2025-10-15 16:40:40 +01:00
Sooty cdff846b2a feat(toolList): add enums for message filter options
- Added enum values for 'has', 'authorType', 'sortBy', and 'sortOrder'
2025-10-15 16:38:04 +01:00
Sooty 70c4843d9e feat(server): include content filter in search messages handler
- Added content parameter to searchMessagesHandler
- Updated URLSearchParams to append content if provided
2025-10-15 16:37:50 +01:00
Sooty 457b1e11f3 feat(schemas): add content filter to SearchMessagesSchema
- Added 'content' as an optional field to allow searching for messages
  containing specific text.
2025-10-15 16:29:31 +01: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
Sooty f2fc159fd6 fix(transport): add discord_list_servers tool to StreamableHttpTransport 2025-10-15 13:02:48 +01:00
Barry Yip e707f7d646
Merge pull request #14 from SootyOwl/copilot/add-guild-listing-tool
Add server listing tool
2025-10-13 17:54:53 +08: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] e813f60835 Update README to document discord_list_guilds tool
Co-authored-by: SootyOwl <7614538+SootyOwl@users.noreply.github.com>
2025-10-11 22:58:46 +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
copilot-swe-agent[bot] 6310e9dadc Initial analysis complete - planning guild list feature
Co-authored-by: SootyOwl <7614538+SootyOwl@users.noreply.github.com>
2025-10-11 22:52:18 +00:00
copilot-swe-agent[bot] d125c07f6a Initial plan 2025-10-11 22:49:49 +00:00
IAPP-BY e550b5078b Update README.md and package version tag 2025-07-10 11:59:32 +08:00
IAPP-BY 06aa6ecca1 Update docker-publish.yml 2025-07-10 11:50:11 +08:00
IAPP-BY 6ed5adbc7e feat: add automated Docker build and push workflow
- Add GitHub Actions workflow for Docker Hub publishing
- Support multi-platform builds (linux/amd64, linux/arm64)
- Auto-tag with semantic versioning and latest
- Include build caching and Docker Hub description sync
- Trigger on main branch push and version tags
2025-07-10 11:41:49 +08:00
Barry Yip 8ce4f1765e
Update README.md 2025-07-09 11:04:24 +08: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 c37e55d5f5 Fixing Tool Scan issues 2025-06-10 15:01:06 +08:00
IAPP-BY 00dae9e426 Re-enable the discord_login tools 2025-06-10 14:56:00 +08:00
Barry Yip 9a1529dc05 Update smithery.yaml 2025-06-07 23:31:14 +08:00
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