feat(MCP): Implement the base framework for a RedisVL MCP server#532
feat(MCP): Implement the base framework for a RedisVL MCP server#532vishal-bala wants to merge 10 commits intofeat/RAAE-1395-redisvl-mcpfrom
Conversation
🛡️ Jit Security Scan Results✅ No security findings were detected in this PR
Security scan by Jit
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: cf0f0895a2
ℹ️ 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".
2f58b0f to
1d1e5cc
Compare
6b17caa to
f197652
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
There are 3 total unresolved issues (including 2 from previous reviews).
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

This PR implements the base framework for a RedisVL MCP server. In this iteration, the goal is to introduce the scaffolding for the MCP server to the extent that the server is runnable but does not have any meaningful functionality.
Note
Medium Risk
Introduces a new MCP server startup/shutdown path that opens Redis connections, inspects index metadata, and instantiates vectorizers; failures here could impact runtime behavior and resource cleanup. Risk is mitigated by extensive unit/integration coverage for config validation and lifecycle handling.
Overview
Adds an initial
redisvl.mcppackage that makes RedisVL runnable as an MCP server via the optionalmcpextra (fastmcp+pydantic-settings).The new framework loads/validates a YAML MCP config (with
${ENV}substitution), enforces a single index binding, inspects an existing Redis search index at startup, applies schema override patches when FT.INFO is incomplete, and initializes anAsyncSearchIndexplus a configured vectorizer with concurrency/timeout guards.Also adds a stable MCP error contract (
MCPErrorCode,RedisVLMCPError,map_exception), updates import-sanity tests to skipredisvl.mcpwhen extras aren’t installed, and adds unit + integration tests covering config validation, schema override safety, vector dim mismatch, and resource cleanup on failure/shutdown.Written by Cursor Bugbot for commit 08ca214. This will update automatically on new commits. Configure here.