You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cardea-tidb/cardea-tidb-mcp-server/src/main.rs
+1-10Lines changed: 1 addition & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ use rmcp::transport::{
11
11
};
12
12
use rustls::crypto::{CryptoProvider, ring::default_provider};
13
13
use std::{env, path::PathBuf};
14
-
use tidb::{TidbServer, set_search_tool_prompt};
14
+
use tidb::TidbServer;
15
15
use tokio::sync::RwLockasTokioRwLock;
16
16
use tracing::{error, info};
17
17
use tracing_subscriber::{self, layer::SubscriberExt, util::SubscriberInitExt};
@@ -41,12 +41,6 @@ struct Args {
41
41
/// Maximum number of query results to return
42
42
#[arg(long, default_value = "10")]
43
43
limit:u64,
44
-
/// The prompt for the `search` mcp tool
45
-
#[arg(
46
-
long,
47
-
default_value = "Please extract 3 to 5 keywords from my question, separated by spaces. Then, try to return a tool call that invokes the keyword search tool.\n\nMy question is: {query}"
0 commit comments