cf-memory-mcp 3.8.9 → 3.8.11
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/bin/cf-memory-mcp.js +12 -1
- package/package.json +1 -1
package/bin/cf-memory-mcp.js
CHANGED
|
@@ -187,7 +187,7 @@ const TOOLS_LIST = [
|
|
|
187
187
|
},
|
|
188
188
|
{
|
|
189
189
|
name: 'get_context_bootstrap',
|
|
190
|
-
description: 'Get the most important memories to load at session start. Returns user preferences, ongoing tasks, and relevant facts within the token budget.',
|
|
190
|
+
description: 'Get the most important memories to load at session start. Returns user preferences, ongoing tasks, and relevant facts within the token budget. Includes an empty_hint pointing at store_memory when nothing is stored yet.',
|
|
191
191
|
inputSchema: {
|
|
192
192
|
type: 'object',
|
|
193
193
|
properties: {
|
|
@@ -639,6 +639,16 @@ class CFMemoryMCP {
|
|
|
639
639
|
return;
|
|
640
640
|
}
|
|
641
641
|
|
|
642
|
+
// Per JSON-RPC 2.0, any method starting with `notifications/`
|
|
643
|
+
// doesn't carry an id and expects no response. Common ones we
|
|
644
|
+
// see in the wild: notifications/cancelled, notifications/progress,
|
|
645
|
+
// notifications/message. Swallow silently to avoid the bridge
|
|
646
|
+
// accidentally replying to them (which violates the spec).
|
|
647
|
+
if (message.method && message.method.startsWith('notifications/')) {
|
|
648
|
+
this.logDebug(`Ignoring client notification: ${message.method}`);
|
|
649
|
+
return;
|
|
650
|
+
}
|
|
651
|
+
|
|
642
652
|
// Handle tools/list locally for fast connection
|
|
643
653
|
if (message.method === 'tools/list') {
|
|
644
654
|
const response = {
|
|
@@ -851,6 +861,7 @@ class CFMemoryMCP {
|
|
|
851
861
|
project_id: projectId,
|
|
852
862
|
files_refreshed: 0,
|
|
853
863
|
skipped,
|
|
864
|
+
hint: `All ${filePaths.length} file path(s) failed to read. Check that paths are relative to project_root (${projectRoot}). If the project was indexed from a different directory, pass project_root=<that directory>.`,
|
|
854
865
|
});
|
|
855
866
|
}
|
|
856
867
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cf-memory-mcp",
|
|
3
|
-
"version": "3.8.
|
|
3
|
+
"version": "3.8.11",
|
|
4
4
|
"description": "Cloudflare-hosted MCP server for code indexing, retrieval, and assistant memory with a direct remote MCP endpoint and local stdio bridge.",
|
|
5
5
|
"main": "bin/cf-memory-mcp.js",
|
|
6
6
|
"bin": {
|