From 7dcde1330e142d247ee41c3ad3512da29e74fcca Mon Sep 17 00:00:00 2001 From: Steve Yegge Date: Fri, 31 Oct 2025 02:02:38 -0700 Subject: [PATCH] Remove obsolete --db flag from MCP server The --db flag was removed in bd v0.20.1 in favor of automatic database discovery via cwd. The MCP server now relies on passing the workspace directory via cwd parameter instead of the --db flag. This fixes compatibility with bd v0.20.1+. --- integrations/beads-mcp/src/beads_mcp/bd_client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integrations/beads-mcp/src/beads_mcp/bd_client.py b/integrations/beads-mcp/src/beads_mcp/bd_client.py index 577886ee..7d3dd762 100644 --- a/integrations/beads-mcp/src/beads_mcp/bd_client.py +++ b/integrations/beads-mcp/src/beads_mcp/bd_client.py @@ -185,8 +185,8 @@ class BdCliClient(BdClientBase): List of global flag arguments """ flags = [] - if self.beads_db: - flags.extend(["--db", self.beads_db]) + # NOTE: --db flag removed in v0.20.1, bd now auto-discovers database via cwd + # We pass cwd via _run_command instead if self.actor: flags.extend(["--actor", self.actor]) if self.no_auto_flush: