You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You: "Create a new project called 'work-notes' in ~/Documents/work"
152
152
```
153
153
154
-
**Single project users:**
154
+
**For users who primarily work in one project:**
155
155
156
-
If you only use one project, you can skip the project selection prompt. Add this to `~/.basic-memory/config.json`:
156
+
Enable Default Project Mode to automatically use your main project. Add this to `~/.basic-memory/config.json`:
157
157
158
158
```json
159
159
{
@@ -162,7 +162,7 @@ If you only use one project, you can skip the project selection prompt. Add this
162
162
}
163
163
```
164
164
165
-
With this enabled, the AI uses your default project automatically without asking.
165
+
With this enabled, the AI uses your default project automatically when no project is specified. You can still override this by explicitly specifying a different project when needed.
Copy file name to clipboardExpand all lines: src/pages/guides/mcp-tools-reference.mdx
+55-5Lines changed: 55 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -117,19 +117,69 @@ Assistant: Perfect! I'll use the 'research' project for our work.
117
117
[Uses project="research" in all subsequent tool calls]
118
118
```
119
119
120
-
### Project Modes
120
+
### Default Project Mode
121
121
122
-
For detailed information about project modes (default project mode, constrained mode, etc.), see the [User Guide - Multi-Project Features](/user-guide#multi-project-features).
122
+
**For single-project users who want automatic project selection:**
123
+
124
+
Enable in `~/.basic-memory/config.json`:
125
+
```json
126
+
{
127
+
"default_project_mode": true,
128
+
"default_project": "main"
129
+
}
130
+
```
131
+
132
+
**Behavior:**
133
+
- Tools automatically use your default project when no `project` parameter is specified
134
+
- You **can still override** by explicitly passing a different project to tools
135
+
- Best for users who primarily work in one project but occasionally need others
136
+
137
+
**Example:**
138
+
```
139
+
# With default_project_mode enabled and default_project="main"
Copy file name to clipboardExpand all lines: src/pages/user-guide.mdx
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -245,9 +245,9 @@ If you only use one project, you can skip the selection prompt. Add this to `~/.
245
245
}
246
246
```
247
247
248
-
With this enabled, the AI uses your default project automatically without asking.
248
+
With this enabled, the AI uses your default project automatically without asking. You can still override this by explicitly specifying a different project in tool calls.
249
249
250
-
### Constrained Project Mode
250
+
### Single Project Mode
251
251
252
252
For focused work sessions or automation, you can lock the MCP server to a specific project:
253
253
@@ -256,15 +256,16 @@ For focused work sessions or automation, you can lock the MCP server to a specif
256
256
basic-memory mcp --project work-notes
257
257
```
258
258
259
+
This **locks** the entire MCP session to one project - the `project` parameter in tool calls will be ignored.
260
+
259
261
**When to use:**
260
262
- Automation workflows that should only access one project
261
263
- Focused work sessions where you want to prevent accidental cross-project operations
262
264
- Team environments with project-specific access
263
265
264
-
**Benefits:**
265
-
- All tools automatically operate within the specified project
266
-
- No risk of accidentally modifying the wrong project
267
-
- Simplified workflow for single-project tasks
266
+
**Key difference from Default Project Mode:**
267
+
-**Single Project Mode**: Locks session to one project, cannot switch
268
+
-**Default Project Mode**: Uses default automatically, but can still switch projects
268
269
269
270
<Warning>
270
271
Moving notes from one project to another is not currently supported. The easiest
Copy file name to clipboardExpand all lines: src/pages/whats-new.mdx
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -67,9 +67,9 @@ If you only use one project, enable automatic project selection:
67
67
```
68
68
69
69
With this enabled:
70
-
- AI uses your default project automatically
71
-
-No project selection prompt
72
-
- Suitable for single knowledge base workflows
70
+
- AI uses your default project automatically when no project is specified
71
+
-You can still override by explicitly passing a different project to tools
72
+
- Suitable for users who primarily work in one project
73
73
74
74
#### Single Project Mode
75
75
@@ -79,7 +79,7 @@ Lock an MCP session to a specific project using the `--project` flag:
79
79
basic-memory mcp --project work-notes
80
80
```
81
81
82
-
All operations in this session use the specified project. Useful for automationand focused work sessions.
82
+
**Key behavior:**All operations in this session use the specified project - the `project` parameter in tool calls is ignored. Useful for automation, security, and focused work sessions where you want to prevent accidental cross-project operations.
0 commit comments