Patch release with two security advisory fixes: GHSA-w5c8-7f4v-22fv (reported by @pzr21) and GHSA-6wcg-fr6r-q2m5 (reported by @Hama1cco). Thanks to both for the reports.
Set MCP_MEMORY_STORAGE_BACKEND=hybrid yourself if you relied on the Claude Code plugin manifest to select it (see #2184 below).
Fixed
- A hybrid hub no longer pulls back what it forwarded to its secondary (#1506, part 2). Cloudflare stamps a forwarded edit or delete with the time of the forward, so the next pull read it as a newer remote change: the drift scan re-applied the edit on the hub, and a forwarded delete could remove a memory a spoke had re-created in the meantime. The pull now skips a row or tombstone whose stamp is not later than the hub's own forward of that hash (
secondary_forwarded, which now records the window each forward was in flight, migration 024); a later change made on Cloudflare by another machine still applies. - The dashboard ignored the selected Type when creating or editing a memory (#2165). The document upload form and the add/edit memory form both used
id="memoryType", so the handlers read and wrote the upload field. The upload field is nowuploadMemoryType, so new memories are stored with the chosen type and the editor preselects and saves the stored type. - Refreshing the dashboard always reopened the Dashboard section, and a section could not be linked to (#2166).
Switching sections now records the active section in the URL hash (#search,#browse, ...;
the Dashboard itself has none). A refresh or a pasted link reopens that section, and
Back/Forward move between the sections visited. An opened memory keeps the section in the
address, while the link from Share still carries only?memory=. - On Milvus,
conflict:unresolvedstayed on a memory after its last conflict partner was deleted or replaced, and maintenance could not clear it (#2169, #2175).
Onlyresolve_conflicttouched the tag, and it removed it from the winner even when
the winner still contradicted another current memory. A delete, a versioned update, a
semantic-dedup supersede ormark_superseded_batchnow clears the tag from partners
that have no current conflict left, and from a new version that inherited it.
resolve_conflictkeeps the winner's tag while another current conflict remains and
clears it from the loser's other partners, as on sqlite-vec (#1840).
reconcile_conflict_tags, run by the maintenance step, is implemented for Milvus
instead of reportingsupported: false; it clears tags left by bulk deletes, direct
metadata supersedes and the cross-store detection fixed in #2168. Superseded and
deleted memories keep their tags as history. - The plugin's SessionStart hook crashed on machines without the
memoryCLI (#2183).
ensure-server.jstreated a missing executable as an exception, butspawn()reports
it through anerrorevent. Unhandled, that ended the hook with exit 1 and a stack
trace, and the Python fallbacks and the install hint behind it never ran. Each
candidate is checked now, and when the spawned server exits before it is healthy the
hook says so instead of polling for ten seconds.PLUGIN.mdno longer claims the
config file has to be copied first; the bundled one is the fallback. - The plugin's MCP server could not start on a fresh machine (#2184).
claude-hooks/.mcp.jsonlaunched a barepython, which macOS does not have, and
setMCP_MEMORY_STORAGE_BACKEND=hybrid, which makes the server exit at startup
without Cloudflare credentials. The server now starts through
uvx --from "mcp-memory-service[sqlite]" memory serverand uses the default local
backend. Behaviour change: plugin users who relied on the manifest to select the
hybrid backend now have to setMCP_MEMORY_STORAGE_BACKEND=hybridin their own
environment, and uv is a prerequisite for the plugin's
MCP server. - The activity heatmap shaded quiet days as if they were the busiest (#2185).
/api/analytics/activity-heatmapgraded each day against the highest count seen so
far while walking the window oldest first, so the first active day was always level
4, and any day before the peak was graded against a smaller maximum. A day with one
memory three days before a day with eight showed as dark as the peak. The maximum is
taken over the whole window now, before any day is graded;max_countin the
response is unchanged. /api/analytics/tag-usageignored itsperiodparameter (#2188, fixes #2187).
The endpoint documentsperiod=week|month|alland echoed the value back, but always
counted the tags of every memory in the store, soperiod=weekreturned the
all-time numbers.weekandmonthnow keep only the memories created in the last
7 and 30 days, andtotal_memories(the percentage base) counts the same set.all,
the default the dashboard uses, is unchanged.- Prevent duplicate metadata edits after hybrid drift reconciliation (#1506). A hub records the exact arrival timestamp it sends to Cloudflare for each drift write. Other hubs can discover delayed edits, and a failed write cannot hide a subsequent peer edit.
- A metadata-only update stored any string as
memory_type, and the dashboard's details modal rendered it as HTML (GHSA-6wcg-fr6r-q2m5, reported by @Hama1cco).
PUT /api/memories/{hash}withoutcontentand the in-place path ofmemory_updatepassed the type to storage unchanged, while every store path coerces an unknown type toobservation. The details modal then printed the field without escaping, next to fields it does escape. A client with write access could place markup in the modal of whoever opens that memory, also through a?memory=<hash>link. The Content-Security-Policy blocked script execution, so the effect was injected HTML, not JavaScript. Both update paths now coerce the type like a store does, and the modal escapes the type and the hash, which also covers rows written before the fix. Affected: every release up to 13.2.0. mcp-memory-servercould run without any Host or Origin check (GHSA-w5c8-7f4v-22fv, reported by @pzr21).
The entry point has no authentication and relied on the MCP SDK to refuse cross-origin and DNS-rebinding requests. The SDK does that by itself only from 1.23.0 on, and then only when the bind host is literally127.0.0.1,localhostor::1. The bind guard accepts every address in 127/8, andpyproject.tomlallows the SDK from 1.19.0. So the check was missing withMCP_HTTP_HOST=127.0.0.2on every SDK version, and on the default bind too where an SDK older than 1.23.0 is installed. A web page that rebinds its domain to the server's address could then call every tool. The server now passes its own allowlist to the SDK, the loopback names plus the address it binds, which works from SDK 1.19.0 on. Affected: every release up to 13.2.0.
Full changelog: https://github.com/doobidoo/mcp-memory-service/blob/main/CHANGELOG.md