@shodh/memory-mcp 0.1.1 → 0.1.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.
- package/README.md +8 -37
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -11,36 +11,25 @@ Persistent AI memory with semantic search. Store observations, decisions, learni
|
|
|
11
11
|
|
|
12
12
|
## Installation
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
Add to your MCP client config:
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
# Download and run the server
|
|
18
|
-
cargo install shodh-memory
|
|
19
|
-
shodh-memory-server
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
Or with Docker:
|
|
23
|
-
```bash
|
|
24
|
-
docker run -p 3030:3030 shodh/memory
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
### 2. Configure your MCP client
|
|
28
|
-
|
|
29
|
-
**For Claude Desktop** (`~/.claude/claude_desktop_config.json`):
|
|
16
|
+
**Claude Desktop / Claude Code** (`claude_desktop_config.json`):
|
|
30
17
|
```json
|
|
31
18
|
{
|
|
32
19
|
"mcpServers": {
|
|
33
20
|
"shodh-memory": {
|
|
34
21
|
"command": "npx",
|
|
35
|
-
"args": ["@shodh/memory-mcp"]
|
|
36
|
-
"env": {
|
|
37
|
-
"SHODH_API_URL": "http://127.0.0.1:3030"
|
|
38
|
-
}
|
|
22
|
+
"args": ["-y", "@shodh/memory-mcp"]
|
|
39
23
|
}
|
|
40
24
|
}
|
|
41
25
|
}
|
|
42
26
|
```
|
|
43
27
|
|
|
28
|
+
Config file locations:
|
|
29
|
+
- macOS: `~/Library/Application Support/Claude/claude_desktop_config.json`
|
|
30
|
+
- Windows: `%APPDATA%\Claude\claude_desktop_config.json`
|
|
31
|
+
- Linux: `~/.config/Claude/claude_desktop_config.json`
|
|
32
|
+
|
|
44
33
|
**For Cursor/other MCP clients**: Similar configuration with the npx command.
|
|
45
34
|
|
|
46
35
|
## Tools
|
|
@@ -63,24 +52,6 @@ docker run -p 3030:3030 shodh/memory
|
|
|
63
52
|
"Show memory stats"
|
|
64
53
|
```
|
|
65
54
|
|
|
66
|
-
## Environment Variables
|
|
67
|
-
|
|
68
|
-
| Variable | Default | Description |
|
|
69
|
-
|----------|---------|-------------|
|
|
70
|
-
| `SHODH_API_URL` | `http://127.0.0.1:3030` | Backend server URL |
|
|
71
|
-
| `SHODH_API_KEY` | (dev key) | API key for authentication |
|
|
72
|
-
| `SHODH_USER_ID` | `default` | User ID for memory isolation |
|
|
73
|
-
|
|
74
|
-
## Architecture
|
|
75
|
-
|
|
76
|
-
```
|
|
77
|
-
┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐
|
|
78
|
-
│ AI Client │────▶│ MCP Server │────▶│ Shodh Backend │
|
|
79
|
-
│ (Claude, etc.) │ │ (this package) │ │ (Rust server) │
|
|
80
|
-
└─────────────────┘ └─────────────────┘ └─────────────────┘
|
|
81
|
-
stdio REST API
|
|
82
|
-
```
|
|
83
|
-
|
|
84
55
|
## License
|
|
85
56
|
|
|
86
57
|
Apache-2.0
|
package/dist/index.js
CHANGED
|
@@ -4945,7 +4945,7 @@ async function isServerAvailable() {
|
|
|
4945
4945
|
}
|
|
4946
4946
|
var server = new Server({
|
|
4947
4947
|
name: "shodh-memory",
|
|
4948
|
-
version: "0.1.
|
|
4948
|
+
version: "0.1.2"
|
|
4949
4949
|
}, {
|
|
4950
4950
|
capabilities: {
|
|
4951
4951
|
tools: {},
|
|
@@ -5377,7 +5377,7 @@ ID: ${memory.id}`
|
|
|
5377
5377
|
async function main() {
|
|
5378
5378
|
const transport = new StdioServerTransport;
|
|
5379
5379
|
await server.connect(transport);
|
|
5380
|
-
console.error("Shodh-Memory MCP server v0.1.
|
|
5380
|
+
console.error("Shodh-Memory MCP server v0.1.2 running");
|
|
5381
5381
|
console.error(`Connecting to: ${API_URL}`);
|
|
5382
5382
|
console.error(`User ID: ${USER_ID}`);
|
|
5383
5383
|
}
|
package/package.json
CHANGED