File size: 1,050 Bytes
7ffb87d
 
 
 
 
 
 
 
 
cf2a24d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
df8e7ce
cf2a24d
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
---
title: Memory
emoji: ⚡
colorFrom: indigo
colorTo: purple
sdk: docker
pinned: false
---

A Docker-powered Model Context Protocol (MCP) server for memory management.
For more details, check out the [Hugging Face Spaces Config Reference](https://huggingface.co).

---

## 🛠️ Local Development

Run the server locally with this command:

```bash
DATA_DIR=. node server.js
```

---

## ⚙️ Project Configurations

### 1. `config.json`

Save this file in your root project directory.

```json
{
  "CHROMA_URL": "",
  "CHROMA_COLLECTION": "",
  "EMBEDDER_BASE_URL": "",
  "EMBEDDER_API_KEY": "",
  "OPENAI_MODEL": "stepfun-ai/step-3.5-flash",
  "OUTPUT_DIR": "/data/context-tree"
}
```

### 2. `mcp.json` (VS Code Integration)

Add this configuration to your local VS Code application path to connect the server.

📁 **Path:** `~/Library/Application Support/Code/User/mcp.json`

```json
{
  "servers": {
    "my-mcp-server-6170c10f": {
      "url": "https://maxxcarl-memory.hf.space/sse",
      "type": "sse"
    }
  },
  "inputs": []
}
```