Skip to content

Commit f2fd83f

Browse files
groksrcclaude
andcommitted
Rename mcp_stdio_target variable to mcp_transport
Follow-up from review: the variable now holds "https" or "stdio", so the old name was misleading. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Drew Cain <groksrc@gmail.com>
1 parent a35fc53 commit f2fd83f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/basic_memory/cli/commands/project.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -189,11 +189,11 @@ async def _list_projects(ws: str | None = None):
189189
has_sync = bool(entry and entry.local_sync_path)
190190
# Determine MCP transport based on project routing mode
191191
if entry and entry.mode == ProjectMode.CLOUD:
192-
mcp_stdio_target = "https"
192+
mcp_transport = "https"
193193
elif cloud_project is not None and local_project is None:
194-
mcp_stdio_target = "https"
194+
mcp_transport = "https"
195195
else:
196-
mcp_stdio_target = "stdio"
196+
mcp_transport = "stdio"
197197

198198
# Show workspace name (type) for cloud-sourced projects
199199
ws_label = ""
@@ -206,7 +206,7 @@ async def _list_projects(ws: str | None = None):
206206
"local_path": local_path,
207207
"cloud_path": cloud_path,
208208
"cli_route": cli_route,
209-
"mcp_stdio": mcp_stdio_target,
209+
"mcp_stdio": mcp_transport,
210210
"sync": has_sync,
211211
"is_default": is_default,
212212
}

0 commit comments

Comments
 (0)