Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/redisctl-mcp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ path = "src/main.rs"

[dependencies]
# MCP framework
tower-mcp = { version = "0.4.0", features = ["http", "oauth"] }
tower-mcp = { version = "0.5.0", features = ["http", "oauth"] }
schemars = "1.2"

# Internal crates
Expand Down
29 changes: 0 additions & 29 deletions crates/redisctl-mcp/src/tools/cloud.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ pub fn list_subscriptions(state: Arc<AppState>) -> Tool {
},
)
.build()
.expect("valid tool")
}

/// Input for getting a specific subscription
Expand Down Expand Up @@ -88,7 +87,6 @@ pub fn get_subscription(state: Arc<AppState>) -> Tool {
},
)
.build()
.expect("valid tool")
}

/// Input for listing databases
Expand Down Expand Up @@ -127,7 +125,6 @@ pub fn list_databases(state: Arc<AppState>) -> Tool {
},
)
.build()
.expect("valid tool")
}

/// Input for getting a specific database
Expand Down Expand Up @@ -166,7 +163,6 @@ pub fn get_database(state: Arc<AppState>) -> Tool {
},
)
.build()
.expect("valid tool")
}

// ============================================================================
Expand Down Expand Up @@ -205,7 +201,6 @@ pub fn get_account(state: Arc<AppState>) -> Tool {
},
)
.build()
.expect("valid tool")
}

/// Input for getting account system logs
Expand Down Expand Up @@ -249,7 +244,6 @@ pub fn get_system_logs(state: Arc<AppState>) -> Tool {
},
)
.build()
.expect("valid tool")
}

/// Input for getting account session logs
Expand Down Expand Up @@ -293,7 +287,6 @@ pub fn get_session_logs(state: Arc<AppState>) -> Tool {
},
)
.build()
.expect("valid tool")
}

/// Input for getting supported regions
Expand Down Expand Up @@ -333,7 +326,6 @@ pub fn get_regions(state: Arc<AppState>) -> Tool {
},
)
.build()
.expect("valid tool")
}

/// Input for getting database modules
Expand Down Expand Up @@ -370,7 +362,6 @@ pub fn get_modules(state: Arc<AppState>) -> Tool {
},
)
.build()
.expect("valid tool")
}

// ============================================================================
Expand Down Expand Up @@ -409,7 +400,6 @@ pub fn list_tasks(state: Arc<AppState>) -> Tool {
},
)
.build()
.expect("valid tool")
}

/// Input for getting a specific task
Expand Down Expand Up @@ -446,7 +436,6 @@ pub fn get_task(state: Arc<AppState>) -> Tool {
},
)
.build()
.expect("valid tool")
}

// ============================================================================
Expand Down Expand Up @@ -487,7 +476,6 @@ pub fn list_account_users(state: Arc<AppState>) -> Tool {
},
)
.build()
.expect("valid tool")
}

/// Input for getting a specific account user
Expand Down Expand Up @@ -524,7 +512,6 @@ pub fn get_account_user(state: Arc<AppState>) -> Tool {
},
)
.build()
.expect("valid tool")
}

// ============================================================================
Expand Down Expand Up @@ -563,7 +550,6 @@ pub fn list_acl_users(state: Arc<AppState>) -> Tool {
},
)
.build()
.expect("valid tool")
}

/// Input for getting a specific ACL user
Expand Down Expand Up @@ -600,7 +586,6 @@ pub fn get_acl_user(state: Arc<AppState>) -> Tool {
},
)
.build()
.expect("valid tool")
}

/// Input for listing ACL roles
Expand Down Expand Up @@ -635,7 +620,6 @@ pub fn list_acl_roles(state: Arc<AppState>) -> Tool {
},
)
.build()
.expect("valid tool")
}

/// Input for listing Redis rules
Expand Down Expand Up @@ -670,7 +654,6 @@ pub fn list_redis_rules(state: Arc<AppState>) -> Tool {
},
)
.build()
.expect("valid tool")
}

// ============================================================================
Expand Down Expand Up @@ -720,7 +703,6 @@ pub fn get_backup_status(state: Arc<AppState>) -> Tool {
},
)
.build()
.expect("valid tool")
}

/// Input for getting slow log
Expand Down Expand Up @@ -764,7 +746,6 @@ pub fn get_slow_log(state: Arc<AppState>) -> Tool {
},
)
.build()
.expect("valid tool")
}

/// Input for getting database tags
Expand Down Expand Up @@ -803,7 +784,6 @@ pub fn get_tags(state: Arc<AppState>) -> Tool {
},
)
.build()
.expect("valid tool")
}

/// Input for getting database certificate
Expand Down Expand Up @@ -845,7 +825,6 @@ pub fn get_database_certificate(state: Arc<AppState>) -> Tool {
},
)
.build()
.expect("valid tool")
}

// ============================================================================
Expand Down Expand Up @@ -962,7 +941,6 @@ pub fn create_database(state: Arc<AppState>) -> Tool {
},
)
.build()
.expect("valid tool")
}

// ============================================================================
Expand Down Expand Up @@ -1060,7 +1038,6 @@ pub fn update_database(state: Arc<AppState>) -> Tool {
},
)
.build()
.expect("valid tool")
}

// ============================================================================
Expand Down Expand Up @@ -1124,7 +1101,6 @@ pub fn delete_database(state: Arc<AppState>) -> Tool {
},
)
.build()
.expect("valid tool")
}

// ============================================================================
Expand Down Expand Up @@ -1192,7 +1168,6 @@ pub fn backup_database(state: Arc<AppState>) -> Tool {
},
)
.build()
.expect("valid tool")
}

// ============================================================================
Expand Down Expand Up @@ -1273,7 +1248,6 @@ pub fn import_database(state: Arc<AppState>) -> Tool {
},
)
.build()
.expect("valid tool")
}

// ============================================================================
Expand Down Expand Up @@ -1333,7 +1307,6 @@ pub fn delete_subscription(state: Arc<AppState>) -> Tool {
},
)
.build()
.expect("valid tool")
}

// ============================================================================
Expand Down Expand Up @@ -1401,7 +1374,6 @@ pub fn flush_database(state: Arc<AppState>) -> Tool {
},
)
.build()
.expect("valid tool")
}

// ============================================================================
Expand Down Expand Up @@ -1523,7 +1495,6 @@ pub fn create_subscription(state: Arc<AppState>) -> Tool {
},
)
.build()
.expect("valid tool")
}

/// Instructions text describing all Cloud tools
Expand Down
Loading
Loading