fix(mcp): expose message queue topics

Closes #5214
This commit is contained in:
t8y2 committed 2026-08-06 21:49:30 +08:00
1 parent 142ccb175f
commit 48e5ef331a
4 files changed
+63 -3

No files matched your search

+2 -1
View File
@@ -5,8 +5,9 @@ edition = "2021"
license = "Apache-2.0"
[features]
default = ["duckdb-sidecar"]
default = ["duckdb-sidecar", "mq-admin"]
duckdb-sidecar = ["dbx-core/duckdb-sidecar"]
mq-admin = ["dbx-core/mq-admin"]
[[bin]]
name = "dbx-mcp"
+6
View File
@@ -259,6 +259,12 @@ async fn executes_mongo_shell_commands_without_desktop_process() {
server_task.abort();
}
#[test]
#[cfg(feature = "mq-admin")]
fn mcp_default_features_include_message_queue_admin() {
assert_eq!(dbx_core::mq::MqSystemKind::Kafka.as_str(), "kafka");
}
async fn call_query(client: &rmcp::service::RunningService<rmcp::RoleClient, ()>, sql: &str) -> String {
let arguments = json!({
"connection_id": "mongo-e2e",