@mnemocyte/mcp 0.0.0-stage → 0.2.0
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/LICENSE +21 -0
- package/README.md +36 -2
- package/dist/cli.mjs +733 -0
- package/dist/cli.mjs.map +1 -0
- package/dist/index.d.mts +75 -0
- package/dist/index.mjs +1 -0
- package/dist/server-Bwa4mQjX.mjs +424 -0
- package/dist/server-Bwa4mQjX.mjs.map +1 -0
- package/dist/server-only.cjs +2 -0
- package/package.json +67 -3
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Meenic
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,37 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @mnemocyte/mcp
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
An MCP server for [Mnemocyte](https://github.com/Meenic/mnemocyte) memory.
|
|
4
|
+
MCP clients such as Claude Code and Cursor can search and save memories
|
|
5
|
+
in your app's database, for one user you name when you start it.
|
|
6
|
+
|
|
7
|
+
Install it next to `mnemocyte` (1.1 or newer):
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
pnpm add -D @mnemocyte/mcp
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Start it for one user, from your app's folder:
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
pnpm exec mnemocyte-mcp --entity-id user_123
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
Add it to Claude Code:
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
claude mcp add memory -- npx -y @mnemocyte/mcp --project "$PWD" --entity-id me
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
The server loads your app's memory file, as the `mnemocyte` CLI does, and
|
|
26
|
+
lists `searchMemories` and `saveMemory`; `--allow-forget` adds
|
|
27
|
+
`forgetMemory`. The scope comes from the flags only: no tool input can name
|
|
28
|
+
another user. It speaks MCP over stdio and needs Node.js 22.18 or newer.
|
|
29
|
+
|
|
30
|
+
The guide covers client setup, every flag, the tools and the limits:
|
|
31
|
+
[docs/guide/mcp.md](https://github.com/Meenic/mnemocyte/blob/main/docs/guide/mcp.md).
|
|
32
|
+
Changes are in the
|
|
33
|
+
[changelog](https://github.com/Meenic/mnemocyte/blob/main/packages/mcp/CHANGELOG.md).
|
|
34
|
+
|
|
35
|
+
## License
|
|
36
|
+
|
|
37
|
+
[MIT](https://github.com/Meenic/mnemocyte/blob/main/LICENSE)
|