mcp-knowledge-graph 1.3.0 → 1.3.1
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/dist/index.js +18 -18
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -317,11 +317,11 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
|
|
|
317
317
|
tools: [
|
|
318
318
|
{
|
|
319
319
|
name: "aim_memory_store",
|
|
320
|
-
description: `
|
|
320
|
+
description: `Store new memories. Use this to remember people, projects, concepts, or any information worth persisting.
|
|
321
321
|
|
|
322
|
-
AIM (AI Memory) provides persistent memory for AI assistants
|
|
322
|
+
AIM (AI Memory) provides persistent memory for AI assistants. The 'aim_memory_' prefix groups all memory tools together.
|
|
323
323
|
|
|
324
|
-
WHAT'S STORED:
|
|
324
|
+
WHAT'S STORED: Memories have a name, type (person/project/concept/etc.), and observations (facts about them).
|
|
325
325
|
|
|
326
326
|
DATABASES: Use the 'context' parameter to organize memories into separate graphs:
|
|
327
327
|
- Leave blank: Uses the master database (default for general information)
|
|
@@ -375,9 +375,9 @@ EXAMPLES:
|
|
|
375
375
|
},
|
|
376
376
|
{
|
|
377
377
|
name: "aim_memory_link",
|
|
378
|
-
description: `
|
|
378
|
+
description: `Link two memories together with a relationship. Use this to connect related information.
|
|
379
379
|
|
|
380
|
-
RELATION STRUCTURE: Each
|
|
380
|
+
RELATION STRUCTURE: Each link has 'from' (subject), 'relationType' (verb), and 'to' (object).
|
|
381
381
|
- Use active voice verbs: "manages", "works_at", "knows", "attended", "created"
|
|
382
382
|
- Read as: "from relationType to" (e.g., "Alice manages Q4_Project")
|
|
383
383
|
- Avoid passive: use "manages" not "is_managed_by"
|
|
@@ -422,9 +422,9 @@ EXAMPLES:
|
|
|
422
422
|
},
|
|
423
423
|
{
|
|
424
424
|
name: "aim_memory_add_facts",
|
|
425
|
-
description: `Add new
|
|
425
|
+
description: `Add new facts to an existing memory. Use this to append information to something already stored.
|
|
426
426
|
|
|
427
|
-
IMPORTANT:
|
|
427
|
+
IMPORTANT: Memory must already exist - use aim_memory_store first. Throws error if not found.
|
|
428
428
|
|
|
429
429
|
RETURNS: Array of {entityName, addedObservations} showing what was added (duplicates are ignored).
|
|
430
430
|
|
|
@@ -466,7 +466,7 @@ EXAMPLES:
|
|
|
466
466
|
},
|
|
467
467
|
{
|
|
468
468
|
name: "aim_memory_forget",
|
|
469
|
-
description: `
|
|
469
|
+
description: `Forget memories. Removes memories and their associated links.
|
|
470
470
|
|
|
471
471
|
DATABASE SELECTION: Entities are deleted from the specified database's knowledge graph.
|
|
472
472
|
|
|
@@ -500,7 +500,7 @@ EXAMPLES:
|
|
|
500
500
|
},
|
|
501
501
|
{
|
|
502
502
|
name: "aim_memory_remove_facts",
|
|
503
|
-
description: `
|
|
503
|
+
description: `Remove specific facts from a memory. Keeps the memory but removes selected observations.
|
|
504
504
|
|
|
505
505
|
DATABASE SELECTION: Observations are deleted from entities within the specified database's knowledge graph.
|
|
506
506
|
|
|
@@ -544,7 +544,7 @@ EXAMPLES:
|
|
|
544
544
|
},
|
|
545
545
|
{
|
|
546
546
|
name: "aim_memory_unlink",
|
|
547
|
-
description: `
|
|
547
|
+
description: `Remove links between memories. Keeps the memories but removes their connections.
|
|
548
548
|
|
|
549
549
|
DATABASE SELECTION: Relations are deleted from the specified database's knowledge graph.
|
|
550
550
|
|
|
@@ -586,7 +586,7 @@ EXAMPLES:
|
|
|
586
586
|
},
|
|
587
587
|
{
|
|
588
588
|
name: "aim_memory_read_all",
|
|
589
|
-
description: `Read
|
|
589
|
+
description: `Read all memories in a database. Returns every stored memory and their links.
|
|
590
590
|
|
|
591
591
|
FORMAT OPTIONS:
|
|
592
592
|
- "json" (default): Structured JSON for programmatic use
|
|
@@ -620,14 +620,14 @@ EXAMPLES:
|
|
|
620
620
|
},
|
|
621
621
|
{
|
|
622
622
|
name: "aim_memory_search",
|
|
623
|
-
description: `
|
|
623
|
+
description: `Search memories by keyword. Use this when you don't know the exact name of what you're looking for.
|
|
624
624
|
|
|
625
625
|
WHAT IT SEARCHES: Matches query (case-insensitive) against:
|
|
626
|
-
-
|
|
627
|
-
-
|
|
628
|
-
-
|
|
626
|
+
- Memory names (e.g., "John" matches "John_Smith")
|
|
627
|
+
- Memory types (e.g., "person" matches all person memories)
|
|
628
|
+
- Facts/observations (e.g., "Seattle" matches memories mentioning Seattle)
|
|
629
629
|
|
|
630
|
-
VS aim_memory_get: Use
|
|
630
|
+
VS aim_memory_get: Use aim_memory_search for fuzzy matching. Use aim_memory_get when you know exact names.
|
|
631
631
|
|
|
632
632
|
FORMAT OPTIONS:
|
|
633
633
|
- "json" (default): Structured JSON for programmatic use
|
|
@@ -661,9 +661,9 @@ EXAMPLES:
|
|
|
661
661
|
},
|
|
662
662
|
{
|
|
663
663
|
name: "aim_memory_get",
|
|
664
|
-
description: `Retrieve specific
|
|
664
|
+
description: `Retrieve specific memories by exact name. Use this when you know exactly what you're looking for.
|
|
665
665
|
|
|
666
|
-
VS aim_memory_search: Use
|
|
666
|
+
VS aim_memory_search: Use aim_memory_get for exact name lookup. Use aim_memory_search for fuzzy matching or when you don't know exact names.
|
|
667
667
|
|
|
668
668
|
RETURNS: Requested entities and relations between them. Non-existent names are silently ignored.
|
|
669
669
|
|