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
Copy file name to clipboardExpand all lines: src/memory/README.md
+23Lines changed: 23 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -158,6 +158,29 @@ Add this to your claude_desktop_config.json:
158
158
}
159
159
```
160
160
161
+
#### NPX with custom setting
162
+
163
+
The server can be configured using the following environment variables:
164
+
165
+
```json
166
+
{
167
+
"mcpServers": {
168
+
"memory": {
169
+
"command": "npx",
170
+
"args": [
171
+
"-y",
172
+
"@modelcontextprotocol/server-memory"
173
+
],
174
+
"env": {
175
+
"MEMORY_FILE_PATH": "/path/to/custom/memory.json"
176
+
}
177
+
}
178
+
}
179
+
}
180
+
```
181
+
182
+
-`MEMORY_FILE_PATH`: Path to the memory storage JSON file (default: `memory.json` in the server directory)
183
+
161
184
### System Prompt
162
185
163
186
The prompt for utilizing memory depends on the use case. Changing the prompt will help the model determine the frequency and types of memories created.
0 commit comments