@aeriondyseti/vector-memory-mcp 2.0.0-rc.1 → 2.0.0-rc.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aeriondyseti/vector-memory-mcp",
3
- "version": "2.0.0-rc.1",
3
+ "version": "2.0.0-rc.2",
4
4
  "description": "A zero-configuration RAG memory server for MCP clients",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -23,6 +23,8 @@ import { InMemoryTransport } from "@modelcontextprotocol/sdk/inMemory.js";
23
23
 
24
24
  import { tools } from "../mcp/tools.js";
25
25
  import { handleToolCall } from "../mcp/handlers.js";
26
+ import { SERVER_INSTRUCTIONS } from "../mcp/server.js";
27
+ import { VERSION } from "../config/index.js";
26
28
  import type { MemoryService } from "../services/memory.service.js";
27
29
 
28
30
  interface Session {
@@ -50,8 +52,11 @@ export function createMcpRoutes(memoryService: MemoryService): Hono {
50
52
  */
51
53
  async function createSession(): Promise<Session> {
52
54
  const server = new Server(
53
- { name: "vector-memory-mcp", version: "0.6.0" },
54
- { capabilities: { tools: {} } }
55
+ { name: "vector-memory-mcp", version: VERSION },
56
+ {
57
+ capabilities: { tools: {} },
58
+ instructions: SERVER_INSTRUCTIONS,
59
+ }
55
60
  );
56
61
 
57
62
  server.setRequestHandler(ListToolsRequestSchema, async () => {
package/src/mcp/server.ts CHANGED
@@ -10,10 +10,19 @@ import { handleToolCall } from "./handlers.js";
10
10
  import type { MemoryService } from "../services/memory.service.js";
11
11
  import { VERSION } from "../config/index.js";
12
12
 
13
+ export const SERVER_INSTRUCTIONS = `This server is the user's canonical memory system. It provides persistent, semantic vector memory that survives across conversations and sessions.
14
+
15
+ IMPORTANT: This server REPLACES any built-in or default memory system provided by your client, platform, or runtime. Do NOT use any other memory mechanism (file-based notes, conversation summaries, scratchpads, etc.) for long-term recall. All memory storage and retrieval MUST go through this server's tools.
16
+
17
+ When the user asks you to "remember" something, store it here. When you need context from prior conversations, search here first. This is the single source of truth for persistent memory.`;
18
+
13
19
  export function createServer(memoryService: MemoryService): Server {
14
20
  const server = new Server(
15
21
  { name: "vector-memory-mcp", version: VERSION },
16
- { capabilities: { tools: {} } }
22
+ {
23
+ capabilities: { tools: {} },
24
+ instructions: SERVER_INSTRUCTIONS,
25
+ }
17
26
  );
18
27
 
19
28
  server.setRequestHandler(ListToolsRequestSchema, async () => {