mem-mcp 1.3.4 → 1.3.5

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/PLAN.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # Memory MCP Wrapper — Plan & Status
2
2
 
3
3
  ## Goal
4
- Build and publish `memory-agent-mcp` npm package following `vibe-token-mcp` pattern.
4
+ Build and publish `mem-mcp` npm package following `vibe-token-mcp` pattern.
5
5
 
6
6
  ## Status: ✅ BUILT & TESTED
7
7
 
@@ -20,7 +20,7 @@ Build and publish `memory-agent-mcp` npm package following `vibe-token-mcp` patt
20
20
  - [ ] Test search tool (free tier + paid)
21
21
  - [ ] Test subscribe tool (x402 payment)
22
22
  - [ ] Fix sample tool to handle existing write_token
23
- - [x] Publish to npm as `memory-agent-mcp` (v1.0.1)
23
+ - [x] Publish to npm as `mem-mcp` (v1.0.1)
24
24
  - [ ] Add to x402-list MCP registry
25
25
  - [ ] Create README for npm page
26
26
  - [x] Test end-to-end (health + sample passed)
package/README.md CHANGED
@@ -16,22 +16,22 @@ MCP wrapper for [Memory01](https://memory.node01.org) — agentic memory for AI
16
16
 
17
17
  MCP clients do not auto-update servers. To always use the latest version:
18
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`. Use the `memory-mcp` binary in your MCP config for offline startup.
19
+ - **Recommended config**: use `npx -y mem-mcp@latest` in your MCP config. npx checks the registry on each launch (cached, fast).
20
+ - **Global install**: run `npm install -g mem-mcp@latest` periodically, or `npm update -g mem-mcp`. Use the `memory-mcp` binary in your MCP config for offline startup.
21
21
  - The server prints a note on startup if a newer version is available.
22
22
 
23
23
  ## One-command setup
24
24
 
25
25
  After installing, tell your agent:
26
26
 
27
- > Install `memory-agent-mcp` and call the `init` tool with your agentId. It will set everything up and explain the rest.
27
+ > Install `mem-mcp` and call the `init` tool with your agentId. It will set everything up and explain the rest.
28
28
 
29
29
  The `init` tool creates the token, saves credentials to `~/.memory01_token` / `~/.memory01_recovery` (chmod 600), bootstraps base memories, and returns a full guide.
30
30
 
31
31
  ## Installation
32
32
 
33
33
  ```bash
34
- npm install -g memory-agent-mcp
34
+ npm install -g mem-mcp
35
35
  ```
36
36
 
37
37
  ## Configuration
@@ -106,7 +106,7 @@ Add to your `opencode.json`:
106
106
  "mcp": {
107
107
  "memory": {
108
108
  "type": "local",
109
- "command": ["npx", "-y", "memory-agent-mcp@latest"],
109
+ "command": ["npx", "-y", "mem-mcp@latest"],
110
110
  "environment": {
111
111
  "MEMORY_PRIVATE_KEY": "0x..."
112
112
  }
@@ -115,8 +115,8 @@ Add to your `opencode.json`:
115
115
  }
116
116
  ```
117
117
 
118
- Note: the binary is `memory-mcp` (not `memory-agent-mcp`). Use `memory-mcp` if globally
119
- installed, `npx -y memory-agent-mcp@latest` otherwise. MEMORY_PRIVATE_KEY is optional —
118
+ Note: the binary is `memory-mcp` (not `mem-mcp`). Use `memory-mcp` if globally
119
+ installed, `npx -y mem-mcp@latest` otherwise. MEMORY_PRIVATE_KEY is optional —
120
120
  the free tier (store + 30 searches/day + bootstrap + get) works without it.
121
121
  ```
122
122
 
package/index.js CHANGED
@@ -15,7 +15,7 @@
15
15
  * - sample() -> Free sample (store + search demo)
16
16
  *
17
17
  * Usage:
18
- * npx memory-agent-mcp
18
+ * npx mem-mcp
19
19
  * or: node index.js
20
20
  *
21
21
  * Configure with environment variables (all optional):
@@ -45,7 +45,7 @@ import fs from "node:fs";
45
45
 
46
46
  // ============================= Config =============================
47
47
  const MEMORY_BASE_URL = process.env.MEMORY_BASE_URL || "https://memory.node01.org";
48
- const CLIENT_VERSION = "1.3.4";
48
+ const CLIENT_VERSION = "1.3.5";
49
49
  const MEMORY_PRIVATE_KEY = process.env.MEMORY_PRIVATE_KEY;
50
50
 
51
51
 
@@ -183,7 +183,7 @@ async function callFree(endpoint, method = "GET", body = null) {
183
183
 
184
184
  // ============================= MCP Server =============================
185
185
  const server = new Server(
186
- { name: "memory-agent-mcp", version: "1.0.0" },
186
+ { name: "mem-mcp", version: "1.3.4" },
187
187
  { capabilities: { tools: {} } }
188
188
  );
189
189
 
@@ -672,14 +672,14 @@ async function checkLatestVersion() {
672
672
  try {
673
673
  const controller = new AbortController();
674
674
  const timer = setTimeout(() => controller.abort(), 3000);
675
- const res = await fetch("https://registry.npmjs.org/memory-agent-mcp/latest", { signal: controller.signal });
675
+ const res = await fetch("https://registry.npmjs.org/mem-mcp/latest", { signal: controller.signal });
676
676
  clearTimeout(timer);
677
677
  if (!res.ok) return;
678
678
  const data = await res.json();
679
679
  const latest = data.version;
680
680
  const current = "1.3.1";
681
681
  if (latest && latest !== current) {
682
- console.error(`NOTE: memory-agent-mcp ${current} is installed; latest is ${latest}. Run 'npm install -g memory-agent-mcp@latest' to update.`);
682
+ console.error(`NOTE: mem-mcp ${current} is installed; latest is ${latest}. Run 'npm install -g memory-agent-mcp@latest' to update.`);
683
683
  }
684
684
  } catch (e) {
685
685
  // best-effort, ignore
@@ -690,7 +690,7 @@ async function main() {
690
690
  checkLatestVersion(); // best-effort, non-blocking
691
691
  const transport = new StdioServerTransport();
692
692
  await server.connect(transport);
693
- console.error("memory-agent-mcp running on stdio");
693
+ console.error("mem-mcp running on stdio");
694
694
  }
695
695
 
696
696
  main().catch((err) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mem-mcp",
3
- "version": "1.3.4",
3
+ "version": "1.3.5",
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",