Skip to content

fix(mcp): support --project flag#242

Closed
715d wants to merge 1 commit intobasicmachines-co:mainfrom
715d:main
Closed

fix(mcp): support --project flag#242
715d wants to merge 1 commit intobasicmachines-co:mainfrom
715d:main

Conversation

@715d
Copy link
Copy Markdown

@715d 715d commented Jul 29, 2025

This PR makes it so that the mcp sub-command respects the --project flag.

For example you can now do basic-memory --project foo mcp and expect the MCP to start up with the current project already set to foo.

I'm making use of this feature by having a wrapper script that Claude uses to launch the MCP automatically setting the --project flag to the correct name based on the git repo Claude was launched from.

I find this much more reliable than hoping that Claude automatically switches to the right project (or remembering to explicitly tell it every time).

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Jul 29, 2025

CLA assistant check
All committers have signed the CLA.

@715d 715d marked this pull request as ready for review July 29, 2025 17:12
@groksrc
Copy link
Copy Markdown
Member

groksrc commented Aug 2, 2025

@715d Thanks for the PR. We're holding this for internal reasons for the next release but we will look at getting it merged soon.

Signed-off-by: 715d <162734016+715d@users.noreply.github.com>
@phernandez
Copy link
Copy Markdown
Member

This will be implemented in #298 and released in v0.15.0

@phernandez phernandez closed this Sep 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants