Skip to content

Memory Engine MCP v1.7.0

Latest

Choose a tag to compare

@SimoneB79 SimoneB79 released this 03 Aug 13:07

v1.7.0 — Test Suite, Auth/Hardening, Backup/Restore, Benchmark, SQLite Concurrency

Major engineering hardening release. 135 tests, token auth, full backup/restore, recall benchmarking, and SQLite concurrency improvements.

Testing (P1)

  • 135 tests across 9 files, all passing in ~14s
  • Covers: CRUD, bonds, graph, merge, decay, errors, contradictions, FTS, migrations, ranking, recall, auth, backup, concurrency

Auth & Hardening (P2)

  • auth.py — API token (constant-time hmac.compare_digest), Bearer extraction
  • Secure bind (127.0.0.1 default), input validation, rate limiting (120 req/min)
  • Web UI auth on all /api/* endpoints

Backup / Restore / Export (P3)

  • backup.py — SQLite snapshots, JSON export/import, verify, cleanup
  • 4 new MCP tools: backup_database, restore_database, export_all, import_data

Benchmark (P4)

  • benchmark.py — CLI recall quality suite (Precision@K, Recall, MRR, latency p50/p95)

SQLite Concurrency (P5)

  • PRAGMAs: synchronous=NORMAL, temp_store=MEMORY, mmap_size=256MB
  • Retry on SQLITE_BUSY with exponential backoff

Backward Compatible

No breaking changes. Auth disabled by default — existing deployments work unchanged.

Full Changelog: https://github.com/SimoneB79/memory-engine-mcp/blob/main/CHANGELOG.md