Skip to content

feat(MCP): Add search-records tool to RedisVL MCP#539

Open
vishal-bala wants to merge 11 commits intofeat/RAAE-1396/mcp-frameworkfrom
feat/RAAE-1397/search-tool
Open

feat(MCP): Add search-records tool to RedisVL MCP#539
vishal-bala wants to merge 11 commits intofeat/RAAE-1396/mcp-frameworkfrom
feat/RAAE-1397/search-tool

Conversation

@vishal-bala
Copy link
Collaborator

@vishal-bala vishal-bala commented Mar 25, 2026

Builds on top of #532

This PR implements a tool for searching records in a configured index for the RedisVL MCP.


Note

Medium Risk
Adds a new MCP-facing search API and expands MCP config validation/startup behavior, including hybrid-search capability probing; main risk is behavior changes at startup and query construction across Redis/runtime versions.

Overview
Implements the MCP search-records tool, with request validation (pagination + field projection), result normalization, and support for vector, fulltext, and hybrid queries driven entirely by YAML config (not client-provided mode/tuning).

Adds indexes.<id>.search config (type + validated params) and startup-time validation that rejects hybrid configs requiring native FT.SEARCH-only params when the runtime can only use the aggregate fallback; the server now probes/caches native hybrid support and registers MCP tools after successful initialization.

Introduces a filter parser for search-records.filter that accepts either raw filter strings or a JSON DSL (and/or/not, comparison ops, exists) with deterministic invalid_filter errors, plus corresponding tests and spec updates.

Written by Cursor Bugbot for commit c7b2154. This will update automatically on new commits. Configure here.

@vishal-bala vishal-bala self-assigned this Mar 25, 2026
@vishal-bala vishal-bala added the auto:minor Increment the minor version when merged label Mar 25, 2026
@jit-ci
Copy link

jit-ci bot commented Mar 25, 2026

🛡️ Jit Security Scan Results

CRITICAL HIGH MEDIUM

✅ No security findings were detected in this PR


Security scan by Jit

@vishal-bala vishal-bala marked this pull request as ready for review March 25, 2026 11:58
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d8f5e3d7cd

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto:minor Increment the minor version when merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant