@memly/mcp-server 0.1.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/README.md +86 -0
- package/dist/index.js +60599 -0
- package/package.json +28 -0
package/README.md
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
# @memly/mcp-server
|
|
2
|
+
|
|
3
|
+
> Persistent memory for any IDE that supports MCP.
|
|
4
|
+
|
|
5
|
+
## Supported IDEs
|
|
6
|
+
|
|
7
|
+
| IDE | Config File |
|
|
8
|
+
|---|---|
|
|
9
|
+
| VS Code + Copilot | `.vscode/mcp.json` |
|
|
10
|
+
| Cursor | Settings → MCP |
|
|
11
|
+
| Claude Desktop | `claude_desktop_config.json` |
|
|
12
|
+
| Windsurf | Settings → MCP |
|
|
13
|
+
| Zed | Settings |
|
|
14
|
+
|
|
15
|
+
## Quick Start
|
|
16
|
+
|
|
17
|
+
### 1. Get your API key
|
|
18
|
+
|
|
19
|
+
Go to [memly.site/dashboard/api-keys](https://memly.site/dashboard/api-keys)
|
|
20
|
+
|
|
21
|
+
### 2. Configure your IDE
|
|
22
|
+
|
|
23
|
+
**VS Code / Copilot** — create `.vscode/mcp.json`:
|
|
24
|
+
|
|
25
|
+
```json
|
|
26
|
+
{
|
|
27
|
+
"servers": {
|
|
28
|
+
"memly": {
|
|
29
|
+
"command": "npx",
|
|
30
|
+
"args": ["-y", "@memly/mcp-server"],
|
|
31
|
+
"env": {
|
|
32
|
+
"MEMLY_API_KEY": "memly_your_key_here"
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
**Cursor** — Settings → MCP → Add Server:
|
|
40
|
+
- Command: `npx -y @memly/mcp-server`
|
|
41
|
+
- Env: `MEMLY_API_KEY=memly_your_key_here`
|
|
42
|
+
|
|
43
|
+
**Claude Desktop** — edit `claude_desktop_config.json`:
|
|
44
|
+
|
|
45
|
+
```json
|
|
46
|
+
{
|
|
47
|
+
"mcpServers": {
|
|
48
|
+
"memly": {
|
|
49
|
+
"command": "npx",
|
|
50
|
+
"args": ["-y", "@memly/mcp-server"],
|
|
51
|
+
"env": {
|
|
52
|
+
"MEMLY_API_KEY": "memly_your_key_here"
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
## Available Tools
|
|
60
|
+
|
|
61
|
+
| Tool | Description |
|
|
62
|
+
|---|---|
|
|
63
|
+
| `search_memories` | Semantic search across your stored memories |
|
|
64
|
+
| `remember` | Store a new memory (fact, decision, pattern) |
|
|
65
|
+
| `forget` | Delete a specific memory by ID |
|
|
66
|
+
| `list_projects` | List all projects with memory stats |
|
|
67
|
+
|
|
68
|
+
## Environment Variables
|
|
69
|
+
|
|
70
|
+
| Variable | Required | Default | Description |
|
|
71
|
+
|---|---|---|---|
|
|
72
|
+
| `MEMLY_API_KEY` | ✅ | — | Your Memly API key |
|
|
73
|
+
| `MEMLY_API_URL` | — | `https://api.memly.site` | API base URL |
|
|
74
|
+
| `MEMLY_PORT` | — | `3800` | HTTP transport port |
|
|
75
|
+
|
|
76
|
+
## Self-Hosted (VPS)
|
|
77
|
+
|
|
78
|
+
Run alongside your Memly proxy for zero-latency:
|
|
79
|
+
|
|
80
|
+
```bash
|
|
81
|
+
MEMLY_API_KEY=memly_... bun run packages/mcp-server/src/index.ts --http
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
## License
|
|
85
|
+
|
|
86
|
+
BSL-1.1 — Memly Community Edition
|