@more-md/mcp-memory 0.1.0 → 0.1.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 +33 -34
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,40 +1,39 @@
|
|
|
1
1
|
# @more-md/mcp-memory
|
|
2
2
|
|
|
3
|
-
Portable long-term memory for AI assistants
|
|
3
|
+
Portable long-term memory for AI assistants, as an MCP server.
|
|
4
4
|
|
|
5
|
-
Connect it once and your assistant
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
Connect it once and your assistant remembers things across chats. The same
|
|
6
|
+
memory follows you from Claude to Cursor to any other MCP-capable client. You
|
|
7
|
+
hold the key, a short PIN. The memory is encrypted at rest and lives at a URL
|
|
8
|
+
you control, [mem.more.md](https://mem.more.md).
|
|
9
9
|
|
|
10
|
-
## Why an MCP server
|
|
10
|
+
## Why an MCP server
|
|
11
11
|
|
|
12
|
-
Telling a chat model to
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
to.
|
|
12
|
+
Telling a chat model to "fetch this URL and use it as your memory" looks exactly
|
|
13
|
+
like a prompt-injection attack: a web page instructing the assistant to persist
|
|
14
|
+
your data somewhere. Well-aligned models refuse it, and they should.
|
|
16
15
|
|
|
17
|
-
An MCP server
|
|
16
|
+
An MCP server works the other way around:
|
|
18
17
|
|
|
19
|
-
-
|
|
20
|
-
|
|
21
|
-
- The assistant calls
|
|
22
|
-
|
|
23
|
-
- Every call
|
|
24
|
-
URL you configured.
|
|
18
|
+
- You add this server to your assistant's config, with your memory URL and PIN.
|
|
19
|
+
You set that connection up by hand, and that is the authorization.
|
|
20
|
+
- The assistant calls typed tools (`remember`, `recall`). It never treats a
|
|
21
|
+
fetched web page as instructions.
|
|
22
|
+
- Every call runs over HTTPS and is authed with your PIN. Your data goes only to
|
|
23
|
+
the memory URL you configured.
|
|
25
24
|
|
|
26
|
-
## Get your memory URL
|
|
25
|
+
## Get your memory URL and PIN
|
|
27
26
|
|
|
28
|
-
Visit
|
|
29
|
-
session for you
|
|
30
|
-
4
|
|
27
|
+
Visit [mem.more.md](https://mem.more.md), or ask any assistant that already
|
|
28
|
+
minted a session for you. You get a URL like `https://mem.more.md/AbC12xyz` and
|
|
29
|
+
a 4-digit PIN. Keep the pair. That is your portable memory.
|
|
31
30
|
|
|
32
31
|
## Connect it
|
|
33
32
|
|
|
34
|
-
### Claude Desktop
|
|
33
|
+
### Claude Desktop, Claude Code, Cursor, and most MCP clients
|
|
35
34
|
|
|
36
35
|
Add this to your MCP config (`claude_desktop_config.json`, `.cursor/mcp.json`,
|
|
37
|
-
`.mcp.json
|
|
36
|
+
`.mcp.json`). This uses the published npm package:
|
|
38
37
|
|
|
39
38
|
```json
|
|
40
39
|
{
|
|
@@ -51,7 +50,7 @@ Add this to your MCP config (`claude_desktop_config.json`, `.cursor/mcp.json`,
|
|
|
51
50
|
}
|
|
52
51
|
```
|
|
53
52
|
|
|
54
|
-
|
|
53
|
+
To run from a local checkout instead:
|
|
55
54
|
|
|
56
55
|
```json
|
|
57
56
|
{
|
|
@@ -65,33 +64,33 @@ Running from a local checkout instead:
|
|
|
65
64
|
}
|
|
66
65
|
```
|
|
67
66
|
|
|
68
|
-
Restart the client.
|
|
67
|
+
Restart the client. A `memory` server shows up with three tools.
|
|
69
68
|
|
|
70
69
|
## Tools
|
|
71
70
|
|
|
72
71
|
| Tool | What it does |
|
|
73
72
|
|------|--------------|
|
|
74
|
-
| `remember` | Save a memory (`title`, `body`, `memory_type`: episodic
|
|
73
|
+
| `remember` | Save a memory (`title`, `body`, `memory_type`: episodic or semantic, `importance` 1 to 10). |
|
|
75
74
|
| `recall` | Search your memory by keyword or meaning before answering about the past. |
|
|
76
75
|
| `recall_day` | Read everything saved on a given calendar day. |
|
|
77
76
|
|
|
78
|
-
The assistant decides when to call these
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
77
|
+
The assistant decides when to call these. A good one saves durable facts (your
|
|
78
|
+
name, preferences, projects) as `semantic` and checks `recall` before answering
|
|
79
|
+
questions about earlier context. You can always tell it to save or forget
|
|
80
|
+
something specific.
|
|
82
81
|
|
|
83
82
|
## Privacy
|
|
84
83
|
|
|
85
|
-
- Encrypted at rest
|
|
86
|
-
- Export or delete everything anytime (`/export`, delete tools
|
|
84
|
+
- Encrypted at rest, reachable only with your PIN.
|
|
85
|
+
- Export or delete everything anytime (`/export`, delete tools and endpoints).
|
|
87
86
|
- Open source. Nothing is stored that you didn't ask for.
|
|
88
87
|
|
|
89
88
|
## Develop
|
|
90
89
|
|
|
91
90
|
```bash
|
|
92
91
|
npm install
|
|
93
|
-
npm run build #
|
|
94
|
-
npm test # unit tests
|
|
92
|
+
npm run build # builds dist/
|
|
93
|
+
npm test # unit tests with mocked fetch
|
|
95
94
|
```
|
|
96
95
|
|
|
97
96
|
MIT © more.md
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@more-md/mcp-memory",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Portable long-term memory for AI assistants, as an MCP server. Connect Claude Desktop, Cursor, or any MCP client to a mem.more.md memory the user controls.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"homepage": "https://mem.more.md",
|
|
39
39
|
"repository": {
|
|
40
40
|
"type": "git",
|
|
41
|
-
"url": "https://github.com/more-md/monorepo.git",
|
|
41
|
+
"url": "git+https://github.com/more-md/monorepo.git",
|
|
42
42
|
"directory": "packages/mcp-memory"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|