mcp: upgrade + made stateless

This commit is contained in:
nym21
2025-08-07 22:34:46 +02:00
parent 3508d1e315
commit 05861c9113
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ pub fn init(path: Option<&Path>) {
});
Builder::from_env(Env::default().default_filter_or(
"info,bitcoin=off,bitcoincore-rpc=off,fjall=off,lsm_tree=off,rolldown=off,brk_rolldown=off,rmcp=off,rmcp=off,tracing=off",
"info,bitcoin=off,bitcoincore-rpc=off,fjall=off,lsm_tree=off,rolldown=off,brk_rolldown=off,rmcp=off,brk_rmcp=off,tracing=off",
))
.format(move |buf, record| {
let date_time = Timestamp::now()
+1 -1
View File
@@ -12,7 +12,7 @@ build = "build.rs"
axum = { workspace = true }
brk_interface = { workspace = true }
log = { workspace = true }
brk_rmcp = { version = "0.3.0", features = [
brk_rmcp = { version = "0.4.1", features = [
"transport-worker",
"transport-streamable-http-server",
] }
+1 -1
View File
@@ -26,7 +26,7 @@ where
move || Ok(MCP::new(interface)),
LocalSessionManager::default().into(),
StreamableHttpServerConfig {
// stateful_mode: false, // breaks Claude
stateful_mode: false,
..Default::default()
},
);