vplex-memory 2.4.1 → 2.4.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 +5 -5
- package/package.json +1 -1
- package/vplex-mcp-server.mjs +18 -0
package/README.md
CHANGED
|
@@ -11,7 +11,7 @@ Works with Claude Code, Cursor, VS Code Copilot, Windsurf, Codex, and any MCP-co
|
|
|
11
11
|
"mcpServers": {
|
|
12
12
|
"vplex-memory": {
|
|
13
13
|
"command": "npx",
|
|
14
|
-
"args": ["-y", "vplex-memory@2.4.
|
|
14
|
+
"args": ["-y", "vplex-memory@2.4.1"]
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
}
|
|
@@ -30,7 +30,7 @@ Add to `.mcp.json` in your project root or `~/.claude/settings.json` globally:
|
|
|
30
30
|
"mcpServers": {
|
|
31
31
|
"vplex-memory": {
|
|
32
32
|
"command": "npx",
|
|
33
|
-
"args": ["-y", "vplex-memory@2.4.
|
|
33
|
+
"args": ["-y", "vplex-memory@2.4.1"]
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
}
|
|
@@ -46,7 +46,7 @@ Add to `.cursor/mcp.json`:
|
|
|
46
46
|
"vplex-memory": {
|
|
47
47
|
"type": "stdio",
|
|
48
48
|
"command": "npx",
|
|
49
|
-
"args": ["-y", "vplex-memory@2.4.
|
|
49
|
+
"args": ["-y", "vplex-memory@2.4.1"]
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
}
|
|
@@ -62,7 +62,7 @@ Add to `.vscode/mcp.json`:
|
|
|
62
62
|
"vplex-memory": {
|
|
63
63
|
"type": "stdio",
|
|
64
64
|
"command": "npx",
|
|
65
|
-
"args": ["-y", "vplex-memory@2.4.
|
|
65
|
+
"args": ["-y", "vplex-memory@2.4.1"]
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
}
|
|
@@ -78,7 +78,7 @@ Add to `~/.windsurf/mcp.json`:
|
|
|
78
78
|
"vplex-memory": {
|
|
79
79
|
"type": "stdio",
|
|
80
80
|
"command": "npx",
|
|
81
|
-
"args": ["-y", "vplex-memory@2.4.
|
|
81
|
+
"args": ["-y", "vplex-memory@2.4.1"]
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
84
|
}
|
package/package.json
CHANGED
package/vplex-mcp-server.mjs
CHANGED
|
@@ -682,6 +682,11 @@ const TOOLS = [
|
|
|
682
682
|
description: "Check authentication status: whether logged in, token expiry, and user info.",
|
|
683
683
|
inputSchema: { type: "object", properties: {} },
|
|
684
684
|
},
|
|
685
|
+
{
|
|
686
|
+
name: "memory_signin",
|
|
687
|
+
description: "Sign in to VPLEX Memory. Starts the browser-based auth flow and returns a URL + code to enter.",
|
|
688
|
+
inputSchema: { type: "object", properties: {} },
|
|
689
|
+
},
|
|
685
690
|
{
|
|
686
691
|
name: "memory_logout",
|
|
687
692
|
description: "Log out by deleting the cached session. Next tool call will require re-authentication.",
|
|
@@ -1147,6 +1152,19 @@ async function handleToolCall(name, args) {
|
|
|
1147
1152
|
};
|
|
1148
1153
|
}
|
|
1149
1154
|
|
|
1155
|
+
case "memory_signin": {
|
|
1156
|
+
// Check if already authenticated
|
|
1157
|
+
const existingToken = await getToken();
|
|
1158
|
+
if (existingToken) {
|
|
1159
|
+
const session = readSession();
|
|
1160
|
+
const user = session?.user?.email || session?.user?.name || "unknown";
|
|
1161
|
+
return { content: [{ type: "text", text: `Already signed in as ${user}. Use memory_logout first to switch accounts.` }] };
|
|
1162
|
+
}
|
|
1163
|
+
// Start the CLI auth flow
|
|
1164
|
+
const authMessage = await startCliAuthFlow();
|
|
1165
|
+
return { content: [{ type: "text", text: authMessage }] };
|
|
1166
|
+
}
|
|
1167
|
+
|
|
1150
1168
|
case "memory_auth_status": {
|
|
1151
1169
|
const session = readSession();
|
|
1152
1170
|
if (!session?.token) {
|