Skip to content

Add flag to disable project switching #110

@wtfzambo

Description

@wtfzambo

Bug Description

The --project flag seems to be ignored when running certain commands. This is a problem especially when trying to run scoped MCP server with uvx basic-memory --project=... mcp.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Install version 0.12.3
  2. Run command bm project add work ~/basic-memory/work
  3. Use tool/feature bm --project=work project info or bm --project=work sync
  4. See that both commands don't apply to the work project, but to the default one, main.

Expected Behavior

--project flag is respected in all commands.

Actual Behavior

--project flag is not respected in all commands, including, apparently, mcp command. Which means to change projects one must do bm project default other_project instead.

Environment

  • OS: macOS 15.4.1
  • Python version: 3.12.1
  • Basic Memory version: 0.12.3
  • Installation method: uv
  • Claude Desktop version (if applicable): N/A

Additional Context

  • Logs or screenshots
Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions