feat(mcp): add RedisJSON and RediSearch module tools#840
Merged
joshrotenberg merged 1 commit intomainfrom Mar 6, 2026
Merged
Conversation
Add 34 new database tools for Redis module commands: RedisJSON (16 tools): - Read: json_get, json_mget, json_type, json_arrlen, json_objkeys, json_objlen, json_strlen - Write: json_set, json_numincrby, json_arrappend, json_arrinsert, json_toggle - Destructive: json_del, json_clear, json_arrpop, json_arrtrim RediSearch (18 tools): - Read: ft_list, ft_info, ft_search, ft_aggregate, ft_explain, ft_profile, ft_tagvals, ft_syndump, ft_dictdump - Write: ft_create, ft_alter, ft_synupdate, ft_dictadd, ft_aliasadd, ft_aliasupdate - Destructive: ft_dropindex, ft_aliasdel, ft_dictdel Registered as database:json and database:search sub-modules. Total database tools: 90 -> 124. Closes #835, closes #837
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.
Summary
Add 34 new MCP tools for RedisJSON and RediSearch modules, expanding the database toolset from 90 to 124 tools.
Part of the "redisctl-mcp as Redis Database Powertool" epic (#833).
RedisJSON (16 tools) - #835
json_get,json_mget,json_type,json_arrlen,json_objkeys,json_objlen,json_strlenjson_set(NX/XX),json_numincrby,json_arrappend,json_arrinsert,json_togglejson_del,json_clear,json_arrpop,json_arrtrimRediSearch (18 tools) - #837
ft_list,ft_info,ft_search,ft_aggregate,ft_explain,ft_profile,ft_tagvals,ft_syndump,ft_dictdumpft_create,ft_alter,ft_synupdate,ft_dictadd,ft_aliasadd,ft_aliasupdateft_dropindex,ft_aliasdel,ft_dictdelNotable features:
ft_createsupports full schema definition with field types (TEXT, NUMERIC, TAG, GEO, VECTOR), SORTABLE, WEIGHT, SEPARATOR, AS aliasft_searchsupports LIMIT, SORTBY, RETURN, NOCONTENT, VERBATIM, WITHSCORESft_aggregatesupports LOAD and raw pipeline args for GROUPBY/REDUCE/SORTBYft_profileprofiles both SEARCH and AGGREGATE queriesft_aliasupdateenables zero-downtime index migrations$root defaultRegistered as
database:jsonanddatabase:searchsub-modules, selectable via--tools database:json,database:search.Test plan
cargo clippy -p redisctl-mcp --all-features -- -D warningspassescargo fmt --all -- --checkpassesCloses #835, closes #837