@vheins/local-memory-mcp 0.1.27 → 0.1.28

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 CHANGED
@@ -97,10 +97,17 @@ The service includes a built-in dashboard to help you manage your memories visua
97
97
 
98
98
  1. Run the dashboard:
99
99
  ```bash
100
- npx @vheins/local-memory-mcp dashboard
100
+ # If installed globally:
101
+ mcp-memory-dashboard
102
+
103
+ # Via npx (one-time or without global install):
104
+ npx -y @vheins/local-memory-mcp dashboard
101
105
  ```
102
106
  2. Open `http://localhost:3456` in your browser.
103
107
 
108
+ > **Note:** The `dashboard` subcommand was added in v0.1.28. For older versions use:
109
+ > `npx --package=@vheins/local-memory-mcp -- mcp-memory-dashboard`
110
+
104
111
  ### 🛠 Automating the Dashboard (IDE Integration)
105
112
 
106
113
  If you use **VS Code**, **Cursor**, **Trae**, **Kiro**, or any VS Code-based IDE, you can create a task to launch the dashboard with a single command or shortcut.
@@ -114,7 +121,7 @@ Create or open `.vscode/tasks.json` in your project and add the following:
114
121
  {
115
122
  "label": "Launch Memory Dashboard",
116
123
  "type": "shell",
117
- "command": "npx @vheins/local-memory-mcp dashboard",
124
+ "command": "npx -y @vheins/local-memory-mcp dashboard",
118
125
  "isBackground": true,
119
126
  "problemMatcher": {
120
127
  "pattern": {
@@ -125,8 +132,8 @@ Create or open `.vscode/tasks.json` in your project and add the following:
125
132
  },
126
133
  "background": {
127
134
  "activeOnStart": true,
128
- "beginsPattern": "^.*Starting dashboard.*$",
129
- "endsPattern": "^.*Dashboard listening.*$"
135
+ "beginsPattern": "^.*DASHBOARD_STARTING.*$",
136
+ "endsPattern": "^.*MCP Memory Dashboard started.*$"
130
137
  }
131
138
  },
132
139
  "presentation": {
@@ -1,2 +1,7 @@
1
1
  #!/usr/bin/env node
2
- import '../dist/server.js';
2
+ const sub = process.argv[2];
3
+ if (sub === 'dashboard' || sub === 'mcp-memory-dashboard') {
4
+ import('../dist/dashboard/server.js');
5
+ } else {
6
+ import('../dist/server.js');
7
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vheins/local-memory-mcp",
3
- "version": "0.1.27",
3
+ "version": "0.1.28",
4
4
  "description": "MCP Local Memory Service for coding copilot agents",
5
5
  "mcpName": "io.github.vheins/local-memory-mcp",
6
6
  "type": "module",
@@ -26,7 +26,7 @@
26
26
  "author": "Muhammad Rheza Alfin <m.rheza.alfin@gmail.com>",
27
27
  "license": "MIT",
28
28
  "scripts": {
29
- "build": "tsc && mkdir -p dist/dashboard/public && rsync -a --delete src/dashboard/public/ dist/dashboard/public/ && mkdir -p bin && printf \"#!/usr/bin/env node\\nimport '../dist/server.js';\\n\" > bin/mcp-memory-server.js && printf \"#!/usr/bin/env node\\nimport '../dist/dashboard/server.js';\\n\" > bin/mcp-memory-dashboard.js && shx chmod +x dist/server.js dist/dashboard/server.js bin/mcp-memory-server.js bin/mcp-memory-dashboard.js",
29
+ "build": "tsc && mkdir -p dist/dashboard/public && rsync -a --delete src/dashboard/public/ dist/dashboard/public/ && mkdir -p bin && printf \"#!/usr/bin/env node\\nimport '../dist/dashboard/server.js';\\n\" > bin/mcp-memory-dashboard.js && shx chmod +x dist/server.js dist/dashboard/server.js bin/mcp-memory-server.js bin/mcp-memory-dashboard.js",
30
30
  "prepare": "npm run build",
31
31
  "dev": "tsc --watch",
32
32
  "start": "node dist/server.js",