@danielsimonjr/memory-mcp 12.7.1 → 12.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -4
- package/dist/server/toolHandlers.js +3 -3
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Memory MCP Server
|
|
2
2
|
|
|
3
|
-
[](https://github.com/danielsimonjr/memory-mcp)
|
|
4
4
|
[](https://www.npmjs.com/package/@danielsimonjr/memory-mcp)
|
|
5
5
|
[](LICENSE)
|
|
6
6
|
[](https://modelcontextprotocol.io)
|
|
@@ -707,9 +707,10 @@ Discrete facts about entities. Each observation should be atomic and independent
|
|
|
707
707
|
|----------|-------------|---------|
|
|
708
708
|
| `MEMORY_FILE_PATH` | Path to storage file | `memory.jsonl` (current directory) |
|
|
709
709
|
| `MEMORY_STORAGE_TYPE` | Storage backend: `jsonl` or `sqlite` | `jsonl` |
|
|
710
|
-
| `MEMORY_EMBEDDING_PROVIDER` | Embedding provider: `openai`, `local`, or `none` | `none` |
|
|
710
|
+
| `MEMORY_EMBEDDING_PROVIDER` | Embedding provider: `openai`, `local`, `llamacpp`, or `none` | `none` |
|
|
711
711
|
| `MEMORY_OPENAI_API_KEY` | OpenAI API key (required if provider is `openai`) | - |
|
|
712
|
-
| `MEMORY_EMBEDDING_MODEL` | Embedding model to use | `text-embedding-3-small` (OpenAI) / `Xenova/all-MiniLM-L6-v2` (local) |
|
|
712
|
+
| `MEMORY_EMBEDDING_MODEL` | Embedding model to use | `text-embedding-3-small` (OpenAI) / `Xenova/all-MiniLM-L6-v2` (local) / `llamacpp-local` (llamacpp) |
|
|
713
|
+
| `MEMORY_EMBEDDING_BASE_URL` | Base URL of a local `llama-server` (used when provider is `llamacpp`) | `http://127.0.0.1:8080` |
|
|
713
714
|
| `MEMORY_AUTO_INDEX_EMBEDDINGS` | Auto-index entities on creation | `false` |
|
|
714
715
|
|
|
715
716
|
### Storage Backends
|
|
@@ -908,9 +909,10 @@ We welcome contributions!
|
|
|
908
909
|
|
|
909
910
|
All notable changes are documented in **[CHANGELOG.md](CHANGELOG.md)**.
|
|
910
911
|
|
|
911
|
-
**Current version**: v12.7.
|
|
912
|
+
**Current version**: v12.7.2 - [View full changelog](CHANGELOG.md)
|
|
912
913
|
|
|
913
914
|
Recent highlights:
|
|
915
|
+
- **v12.7.2**: Bumped `@danielsimonjr/memoryjs` `^3.0.0` → `^3.1.0` — Node 24 `better-sqlite3` prebuilds (`^12.11.1`) and the `llamacpp` embedding provider (`MEMORY_EMBEDDING_PROVIDER=llamacpp` + `MEMORY_EMBEDDING_BASE_URL`). No new tools.
|
|
914
916
|
- **v12.7.0** (241 tools): Upgraded `@danielsimonjr/memoryjs` `^2.8.1` → `^3.0.0` and surfaced its new features as 16 tools — event memory (5), reconstructive Cue–Tag–Content memory + snapshot persistence (5), relation consolidation (2), agent reflection (4) — plus v3 graph-channel / evidence-path options on `hybrid_search`. Refactored handlers onto the new `ManagerContext` accessors (`hybridSearchManager`, `governanceManager`, `eventManager`, `reflectionManager`, `reconstructiveMemory()`, `close()`).
|
|
915
917
|
- **v12.5.0** (225 tools): 10 engineering / diagnostic tools mirroring the memoryjs CLI surface (`diag`, `health`, `check_graph`, `reindex`, cache stats/clear, `graph_size`, `inspect_entity`, `hierarchy_tree`, `entity_neighbors`).
|
|
916
918
|
- **v12.3.2** (215 tools): Backport of the deferred `set_project_scope` / `get_project_scope` pair.
|
|
@@ -896,7 +896,7 @@ export const toolHandlers = {
|
|
|
896
896
|
semantic_search: async (ctx, args) => {
|
|
897
897
|
const semanticSearch = ctx.semanticSearch;
|
|
898
898
|
if (!semanticSearch) {
|
|
899
|
-
return formatTextResponse('Semantic search is not available. Set MEMORY_EMBEDDING_PROVIDER environment variable to "openai" or "
|
|
899
|
+
return formatTextResponse('Semantic search is not available. Set MEMORY_EMBEDDING_PROVIDER environment variable to "openai", "local", or "llamacpp".');
|
|
900
900
|
}
|
|
901
901
|
const query = validateWithSchema(args.query, SearchQuerySchema, 'Invalid search query');
|
|
902
902
|
const limit = args.limit !== undefined
|
|
@@ -919,7 +919,7 @@ export const toolHandlers = {
|
|
|
919
919
|
find_similar_entities: async (ctx, args) => {
|
|
920
920
|
const semanticSearch = ctx.semanticSearch;
|
|
921
921
|
if (!semanticSearch) {
|
|
922
|
-
return formatTextResponse('Semantic search is not available. Set MEMORY_EMBEDDING_PROVIDER environment variable to "openai" or "
|
|
922
|
+
return formatTextResponse('Semantic search is not available. Set MEMORY_EMBEDDING_PROVIDER environment variable to "openai", "local", or "llamacpp".');
|
|
923
923
|
}
|
|
924
924
|
const entityName = validateWithSchema(args.entityName, z.string().min(1), 'Invalid entity name');
|
|
925
925
|
const limit = args.limit !== undefined
|
|
@@ -942,7 +942,7 @@ export const toolHandlers = {
|
|
|
942
942
|
index_embeddings: async (ctx, args) => {
|
|
943
943
|
const semanticSearch = ctx.semanticSearch;
|
|
944
944
|
if (!semanticSearch) {
|
|
945
|
-
return formatTextResponse('Semantic search is not available. Set MEMORY_EMBEDDING_PROVIDER environment variable to "openai" or "
|
|
945
|
+
return formatTextResponse('Semantic search is not available. Set MEMORY_EMBEDDING_PROVIDER environment variable to "openai", "local", or "llamacpp".');
|
|
946
946
|
}
|
|
947
947
|
const forceReindex = args.forceReindex !== undefined
|
|
948
948
|
? validateWithSchema(args.forceReindex, z.boolean(), 'Invalid forceReindex value')
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@danielsimonjr/memory-mcp",
|
|
3
|
-
"version": "12.7.
|
|
3
|
+
"version": "12.7.2",
|
|
4
4
|
"description": "Enhanced MCP memory server with hierarchies, compression, archiving, graph algorithms, semantic search, temporal KG, RBAC, bitemporal validity, OCC, procedural memory, causal reasoning, world model, do_not_remember exclusions, decision rationale, project context, heuristic guidelines, tool affordance + observer, observation dedup, spell correction, event memory, reconstructive memory, relation consolidation, agent reflection, and 241 advanced tools",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"engines": {
|
|
@@ -58,12 +58,12 @@
|
|
|
58
58
|
"tools:build": "cd tools/chunking-for-files && npm run build && cd ../compress-for-context && npm run build && cd ../create-dependency-graph && npm run build && cd ../migrate-from-jsonl-to-sqlite && npm run build"
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@danielsimonjr/memoryjs": "^3.
|
|
61
|
+
"@danielsimonjr/memoryjs": "^3.1.0",
|
|
62
62
|
"@modelcontextprotocol/sdk": "^1.30.0",
|
|
63
63
|
"zod": "^4.4.3"
|
|
64
64
|
},
|
|
65
65
|
"overrides": {
|
|
66
|
-
"better-sqlite3": "^12.
|
|
66
|
+
"better-sqlite3": "^12.11.1"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@types/node": "^26",
|