memory-agent-mcp 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/README.md CHANGED
@@ -12,6 +12,14 @@ MCP wrapper for [Memory01](https://memory.node01.org) — agentic memory for AI
12
12
  - **Subscribe**: Subscription plans (Starter $2/500, Pro $9/mo, Enterprise $20/mo)
13
13
  - **Health / Stats / Sample**: Free utilities
14
14
 
15
+ ## Auto-update
16
+
17
+ MCP clients do not auto-update servers. To always use the latest version:
18
+
19
+ - **Recommended config**: use `npx -y memory-agent-mcp@latest` in your MCP config. npx checks the registry on each launch (cached, fast).
20
+ - **Global install**: run `npm install -g memory-agent-mcp@latest` periodically, or `npm update -g memory-agent-mcp`.
21
+ - The server prints a note on startup if a newer version is available.
22
+
15
23
  ## One-command setup
16
24
 
17
25
  After installing, tell your agent:
package/glama.json ADDED
@@ -0,0 +1,4 @@
1
+ {
2
+ "$schema": "https://glama.ai/mcp/schemas/server.json",
3
+ "maintainers": ["geco"]
4
+ }
package/index.js CHANGED
@@ -644,7 +644,27 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
644
644
  }
645
645
  });
646
646
 
647
+ // ============================= Version Check =============================
648
+ async function checkLatestVersion() {
649
+ try {
650
+ const controller = new AbortController();
651
+ const timer = setTimeout(() => controller.abort(), 3000);
652
+ const res = await fetch("https://registry.npmjs.org/memory-agent-mcp/latest", { signal: controller.signal });
653
+ clearTimeout(timer);
654
+ if (!res.ok) return;
655
+ const data = await res.json();
656
+ const latest = data.version;
657
+ const current = "1.3.1";
658
+ if (latest && latest !== current) {
659
+ console.error(`NOTE: memory-agent-mcp ${current} is installed; latest is ${latest}. Run 'npm install -g memory-agent-mcp@latest' to update.`);
660
+ }
661
+ } catch (e) {
662
+ // best-effort, ignore
663
+ }
664
+ }
665
+
647
666
  async function main() {
667
+ checkLatestVersion(); // best-effort, non-blocking
648
668
  const transport = new StdioServerTransport();
649
669
  await server.connect(transport);
650
670
  console.error("memory-agent-mcp running on stdio");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "memory-agent-mcp",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "description": "MCP wrapper for Memory01 agentic memory service - persistent memory for AI agents, free to store and search. Base memories, recovery codes, upsert, 50+ languages.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -31,5 +31,13 @@
31
31
  },
32
32
  "engines": {
33
33
  "node": ">=20.0.0"
34
+ },
35
+ "repository": {
36
+ "type": "git",
37
+ "url": "https://github.com/geco/memory-agent-mcp.git"
38
+ },
39
+ "homepage": "https://github.com/geco/memory-agent-mcp#readme",
40
+ "bugs": {
41
+ "url": "https://github.com/geco/memory-agent-mcp/issues"
34
42
  }
35
43
  }