@bsbofmusic/memos-memu-local-memory-tools-for-agent 1.3.0 → 1.3.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.
Files changed (2) hide show
  1. package/bin/mcp-server.js +21 -7
  2. package/package.json +1 -1
package/bin/mcp-server.js CHANGED
@@ -13,10 +13,11 @@ import {
13
13
  import { install_memory_system } from '../src/tools/install.js';
14
14
  import { memos_query } from '../src/tools/memos.js';
15
15
  import { memuk_search } from '../src/tools/memuk.js';
16
+ import { memos_memuk_query } from '../src/tools/memos_memuk.js';
16
17
  import { verify_memory_system } from '../src/tools/verify.js';
17
18
 
18
19
  const server = new Server(
19
- { name: 'memos-memu-local-memory-tools-for-agent', version: '1.0.5' },
20
+ { name: 'memos-memu-local-memory-tools-for-agent', version: '1.3.1' },
20
21
  { capabilities: { tools: {} } }
21
22
  );
22
23
 
@@ -24,7 +25,7 @@ server.setRequestHandler(ListToolsRequestSchema, async () => ({
24
25
  tools: [
25
26
  {
26
27
  name: 'install_memory_system',
27
- description: 'One-shot install of the full memos + memuK memory system.',
28
+ description: 'One-shot install of the full memos + memuK local memory system.',
28
29
  inputSchema: { type: 'object', properties: {} },
29
30
  },
30
31
  {
@@ -34,11 +35,11 @@ server.setRequestHandler(ListToolsRequestSchema, async () => ({
34
35
  },
35
36
  {
36
37
  name: 'memos_query',
37
- description: 'Query memos PostgreSQL for conversation history.',
38
+ description: 'Query the memos PostgreSQL database for raw conversation history, original wording, and past context.',
38
39
  inputSchema: {
39
40
  type: 'object',
40
41
  properties: {
41
- query: { type: 'string' },
42
+ query: { type: 'string', description: 'Keywords to search in memo content (case-insensitive)' },
42
43
  limit: { type: 'number', default: 10 },
43
44
  },
44
45
  required: ['query'],
@@ -46,16 +47,28 @@ server.setRequestHandler(ListToolsRequestSchema, async () => ({
46
47
  },
47
48
  {
48
49
  name: 'memuk_search',
49
- description: 'Search memuK SQLite for memory summaries.',
50
+ description: 'Search the memuK SQLite memory store for topic summaries and cross-session recall.',
50
51
  inputSchema: {
51
52
  type: 'object',
52
53
  properties: {
53
- query: { type: 'string' },
54
+ query: { type: 'string', description: 'Topic / keywords to search in memory summaries' },
54
55
  limit: { type: 'number', default: 5 },
55
56
  },
56
57
  required: ['query'],
57
58
  },
58
59
  },
60
+ {
61
+ name: 'memos_memuk_query',
62
+ description: 'Query BOTH memos PostgreSQL AND memuK SQLite at the SAME TIME, combine and deduplicate results.',
63
+ inputSchema: {
64
+ type: 'object',
65
+ properties: {
66
+ query: { type: 'string', description: 'Keywords to search in both memo content AND memuK summaries' },
67
+ limit: { type: 'number', default: 10 },
68
+ },
69
+ required: ['query'],
70
+ },
71
+ },
59
72
  ],
60
73
  }));
61
74
 
@@ -63,10 +76,11 @@ server.setRequestHandler(CallToolRequestSchema, async ({ params }) => {
63
76
  const { name, arguments: args = {} } = params;
64
77
  try {
65
78
  switch (name) {
66
- case 'install_memory_system': return await install_memory_system(args);
79
+ case 'install_memory_system': return await install_memory_system(args);
67
80
  case 'verify_memory_system': return await verify_memory_system(args);
68
81
  case 'memos_query': return await memos_query(args);
69
82
  case 'memuk_search': return await memuk_search(args);
83
+ case 'memos_memuk_query': return await memos_memuk_query(args);
70
84
  default: return { content: [{ type: 'text', text: `Unknown tool: ${name}` }], isError: true };
71
85
  }
72
86
  } catch (err) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bsbofmusic/memos-memu-local-memory-tools-for-agent",
3
- "version": "1.3.0",
3
+ "version": "1.3.2",
4
4
  "description": "MCP server — one-shot install + query for memos (PostgreSQL) and memuK (SQLite) local memory. Designed for OpenClaw agents.",
5
5
  "main": "src/index.js",
6
6
  "type": "module",