FEATURE: Add site directory list tools for categories, groups, and tag groups - #52
Closed
RubenOussoren wants to merge 2 commits into
Closed
FEATURE: Add site directory list tools for categories, groups, and tag groups#52RubenOussoren wants to merge 2 commits into
RubenOussoren wants to merge 2 commits into
Conversation
…g groups Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Member
|
@RubenOussoren I think we probably want to focus on: #51 will make sure I add a toolset for it, but feel free to push to the PR if you prefer |
Contributor
Author
|
@SamSaffron, if we can add the toolset for it to #51, I'm happy with that too. There's no rush for this one at the moment. We can close this PR in favour of #51 then. Please let me know if you need me to do anything further with this then. Thanks you! |
ZogStriP
approved these changes
Aug 17, 2026
Member
|
I merged my PR now ... I think we have a toolset can you test? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Previously, models could only discover a site's categories and groups through MCP resources, which many clients do not surface, the listings were incomplete when category lazy-loading was enabled or groups spanned multiple pages, and there was no way to list tag groups at all.
This change adds three always-registered, read-only, parameterless tools —
discourse_list_categories,discourse_list_groups, anddiscourse_list_tag_groups— that return complete, deduplicated directories with structured output (categories includeparent_category_idso the hierarchy can be reconstructed at any nesting depth), and deprecates thediscourse://site/categoriesanddiscourse://site/groupsresources in favour of them.