fix(mcp): add direct Redis command execution

This commit is contained in:
t8y2 committed 2026-06-26 22:27:31 +08:00
1 parent 76e2d33cd3
commit 23b44cc2b9
15 files changed
+774 -26

No files matched your search

+1
View File
@@ -52,6 +52,7 @@ pub fn dbx_mcp_enabled_tools(agent_mode: bool) -> Vec<&'static str> {
let mut tools = vec!["dbx_list_connections", "dbx_list_tables", "dbx_describe_table", "dbx_get_schema_context"];
if agent_mode {
tools.push("dbx_execute_query");
tools.push("dbx_execute_redis_command");
}
tools
}