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
@@ -245,6 +253,7 @@ Entities are automatically extracted from the content and stored in both the Qdr
245
253
|`category`| No |`semantic`, `episodic`, or `procedural`. Default: `episodic`|
246
254
|`importance`| No |`critical`, `high`, `medium`, or `low`. Default: `medium`|
247
255
|`key`| No | For facts: unique key enabling upsert |
256
+
|`knowledge_category`| No |`brand`, `strategy`, `meeting`, `content`, `technical`, `relationship`, or `general`. Auto-classified during consolidation if not set. |
248
257
|`subject`| No | For statuses: what system this status is about |
249
258
|`status_value`| No | For statuses: the current status string |
Returns a comprehensive client briefing: all memories tagged with the resolved client_id, grouped by knowledge_category (brand, strategy, meeting, content, technical, relationship, general). Supports fuzzy name resolution — "acme", "Acme Corp", and "acme-corp" all resolve to the same client.
431
+
432
+
| Param | Description |
433
+
|-------|-------------|
434
+
|`name`| Client name or slug (fuzzy matched against fingerprints) |
435
+
|`category`| Filter by knowledge_category |
436
+
|`limit`| Max memories per category (default 20) |
Exports all active memories as JSON. Useful for backup before embedding provider migration or system upgrades.
445
+
446
+
| Param | Description |
447
+
|-------|-------------|
448
+
|`format`|`json` (default) |
449
+
|`client_id`| Filter export to a specific client |
450
+
|`type`| Filter by memory type |
451
+
452
+
### `POST /import` — Import memories
453
+
454
+
```bash
455
+
curl -X POST "http://localhost:8084/import" \
456
+
-H "Content-Type: application/json" \
457
+
-H "X-Api-Key: YOUR_KEY" \
458
+
-d @backup.json
459
+
```
460
+
461
+
Imports memories from a previous export. Handles deduplication (skips exact hash matches) and batch processes embeddings. Safe for embedding provider migration — re-embeds all content with the current provider.
# Interactive D3.js visualization (open in browser)
470
+
# http://localhost:8084/graph
471
+
```
472
+
473
+
Returns entity relationships as a node/edge graph. Co-occurrence relationships are automatically detected during consolidation. The HTML format serves an interactive D3.js force-directed visualization with dark theme, search, and zoom.
474
+
475
+
| Param | Description |
476
+
|-------|-------------|
477
+
|`format`|`html` (default, interactive viz) or `json` (raw data) |
|`OLLAMA_URL`|`http://localhost:11434`| Ollama server URL |
559
630
|`OLLAMA_MODEL`|`nomic-embed-text`| Ollama embedding model name |
560
631
@@ -590,6 +661,24 @@ Entity graph tables (entities, aliases, memory links) are automatically created
590
661
591
662
Only affects `fact` and `status` types. Events and decisions don't decay.
592
663
664
+
### Client Resolver
665
+
666
+
| Variable | Default | Description |
667
+
|----------|---------|-------------|
668
+
|`BASEROW_CLIENTS_TABLE_ID`| — | Baserow table ID containing client records with `client_fingerprints` field |
669
+
|`BASEROW_CLIENT_TOKEN`| — | API token for client table access. Falls back to `BASEROW_API_KEY` if not set |
670
+
671
+
When configured, the client resolver auto-tags `client_id` on incoming memories by matching content against client fingerprints (accent-normalized, fuzzy). This enables automatic client attribution without agents needing to specify `client_id` explicitly.
|`WEBHOOK_EVENTS`|`store,supersede,delete`| Which events trigger notifications |
679
+
680
+
When configured, the system dispatches real-time HTTP POST notifications to the specified URLs on memory store, supersede, and delete events. Useful for triggering n8n workflows, Slack alerts, or external dashboards.
Copy file name to clipboardExpand all lines: mcp-server/CHANGELOG.md
+18Lines changed: 18 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,23 @@
1
1
# Changelog
2
2
3
+
## 2.0.0 (2026-03-20)
4
+
5
+
### Features
6
+
-**Client knowledge base**: Fingerprint-based client identification with accent normalization, `knowledge_category` field (brand/strategy/meeting/content/technical/relationship/general), `brain_client` tool for one-call client briefings with fuzzy name resolution
7
+
-**Import/Export**: `brain_export` and `brain_import` tools for backup and embedding migration safety, with dedup and batch processing
8
+
-**Webhook notifications**: Real-time dispatch on memory store/supersede/delete events via configurable webhook URLs
-**Consolidation enhancements**: Automatic knowledge_category reclassification and entity relationship type classification during 6h consolidation pass
11
+
-**Auto-resolve client_id**: Memory store auto-tags client_id from content using fingerprint matching when not explicitly provided
12
+
-**Gemini Embedding 2**: New pluggable embedder with task-type-aware embeddings (RETRIEVAL_DOCUMENT/RETRIEVAL_QUERY), Matryoshka support (3072/1536/768 dims)
13
+
14
+
## 1.5.0
15
+
16
+
### Long-Term Memory Hygiene
17
+
-**Access-weighted search** — search results factor in access count alongside similarity and confidence, rewarding frequently-accessed memories
18
+
-**Insight removal** — consolidation-generated insights can now be removed when source memories are deleted
19
+
-**Entity fix** — fixed entity extraction for memories with no client_id
0 commit comments