feat(memory): add MEMORY_FILE_PATH environment variable support
- Add environment variable MEMORY_FILE_PATH to configure custom storage location - Support both absolute and relative paths - Update documentation with configuration examples - Bump version to 0.6.3
This commit is contained in:
parent
0e7d79c580
commit
04209ec248
1 changed files with 33 additions and 6 deletions
|
|
@ -158,6 +158,29 @@ Add this to your claude_desktop_config.json:
|
|||
}
|
||||
```
|
||||
|
||||
#### NPX with custom setting
|
||||
|
||||
The server can be configured using the following environment variables:
|
||||
|
||||
```json
|
||||
{
|
||||
"mcpServers": {
|
||||
"memory": {
|
||||
"command": "npx",
|
||||
"args": [
|
||||
"-y",
|
||||
"@modelcontextprotocol/server-memory"
|
||||
],
|
||||
"env": {
|
||||
"MEMORY_FILE_PATH": "/path/to/custom/memory.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
- `MEMORY_FILE_PATH`: Path to the memory storage JSON file (default: `memory.json` in the server directory)
|
||||
|
||||
### System Prompt
|
||||
|
||||
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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue