@intangle/mcp-server 1.2.0 → 1.2.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/dist/index.js +3 -56
- package/index.ts +4 -59
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -104,8 +104,8 @@ const TOOLS = [
|
|
|
104
104
|
},
|
|
105
105
|
depth: {
|
|
106
106
|
type: "string",
|
|
107
|
-
enum: ["quick", "balanced", "
|
|
108
|
-
description: "Search depth: 'quick' = fast list retrieval, 'balanced' = smart routing with AI (default), '
|
|
107
|
+
enum: ["quick", "balanced", "deep"],
|
|
108
|
+
description: "Search depth: 'quick' = fast list retrieval, 'balanced' = smart routing with AI (default), 'deep' = full hybrid search with attention agent",
|
|
109
109
|
default: "balanced",
|
|
110
110
|
},
|
|
111
111
|
return_format: {
|
|
@@ -118,30 +118,6 @@ const TOOLS = [
|
|
|
118
118
|
required: ["query"],
|
|
119
119
|
},
|
|
120
120
|
},
|
|
121
|
-
{
|
|
122
|
-
name: "get_recent_memories",
|
|
123
|
-
description: "Get the most recent CONTEXT items (general information). For recent tasks, use list_tasks instead. NOTE: This tool is called 'get_recent_memories' (not 'fetch'). Returns fully decrypted data. REQUIRES space_id parameter.",
|
|
124
|
-
inputSchema: {
|
|
125
|
-
type: "object",
|
|
126
|
-
properties: {
|
|
127
|
-
space_id: {
|
|
128
|
-
type: "string",
|
|
129
|
-
description: "REQUIRED: Space to get memories from (use list_spaces to see available options)",
|
|
130
|
-
},
|
|
131
|
-
topics: {
|
|
132
|
-
type: "array",
|
|
133
|
-
items: { type: "string" },
|
|
134
|
-
description: "Filter by specific topics",
|
|
135
|
-
},
|
|
136
|
-
limit: {
|
|
137
|
-
type: "number",
|
|
138
|
-
description: "Number of recent memories to retrieve",
|
|
139
|
-
default: 20,
|
|
140
|
-
},
|
|
141
|
-
},
|
|
142
|
-
required: ["space_id"],
|
|
143
|
-
},
|
|
144
|
-
},
|
|
145
121
|
{
|
|
146
122
|
name: "fetch",
|
|
147
123
|
description: "Fetch complete items (context or tasks) by ID. Accepts single ID or array of IDs. Returns BOTH context (Memory nodes) and tasks (Task nodes) with full content, topics, and metadata. Always returns full content (never summaries). Use this after getting summaries from search/list/start to retrieve full details for specific items.",
|
|
@@ -230,7 +206,7 @@ const TOOLS = [
|
|
|
230
206
|
},
|
|
231
207
|
{
|
|
232
208
|
name: "update_memory",
|
|
233
|
-
description: "Unified tool for ALL memory operations: add, update, or delete context and tasks. Supports any combination of operations in a single call. Context = general information/knowledge (Memory nodes). Tasks = actionable workflow items (Task nodes). Max 50 operations per call. At least one operation (add/update/delete) required.",
|
|
209
|
+
description: "Unified tool for ALL memory operations: add, update, or delete context and tasks. Supports any combination of operations in a single call. Context = general information/knowledge (Memory nodes). Tasks = actionable workflow items (Task nodes). Max 50 operations per call. At least one operation (add/update/delete) required.\n\nIMPORTANT: Before using this tool, summarize your findings and proposed changes to get user confirmation UNLESS the user explicitly just asked you to add/update/delete memories.",
|
|
234
210
|
inputSchema: {
|
|
235
211
|
type: "object",
|
|
236
212
|
properties: {
|
|
@@ -385,35 +361,6 @@ const TOOLS = [
|
|
|
385
361
|
required: ["space_id"],
|
|
386
362
|
},
|
|
387
363
|
},
|
|
388
|
-
{
|
|
389
|
-
name: "list_tasks",
|
|
390
|
-
description: "List tasks in a space with optional filtering",
|
|
391
|
-
inputSchema: {
|
|
392
|
-
type: "object",
|
|
393
|
-
properties: {
|
|
394
|
-
space_id: {
|
|
395
|
-
type: "string",
|
|
396
|
-
description: "Space to list tasks from",
|
|
397
|
-
},
|
|
398
|
-
status: {
|
|
399
|
-
type: "string",
|
|
400
|
-
enum: ["pending", "in_progress", "completed", "invalidated"],
|
|
401
|
-
description: "Optional: Filter by status",
|
|
402
|
-
},
|
|
403
|
-
topics: {
|
|
404
|
-
type: "array",
|
|
405
|
-
items: { type: "string" },
|
|
406
|
-
description: "Optional: Filter by topics",
|
|
407
|
-
},
|
|
408
|
-
limit: {
|
|
409
|
-
type: "number",
|
|
410
|
-
description: "Maximum number of tasks to return",
|
|
411
|
-
default: 50,
|
|
412
|
-
},
|
|
413
|
-
},
|
|
414
|
-
required: ["space_id"],
|
|
415
|
-
},
|
|
416
|
-
},
|
|
417
364
|
];
|
|
418
365
|
server.setRequestHandler(ListToolsRequestSchema, async () => ({
|
|
419
366
|
tools: TOOLS,
|
package/index.ts
CHANGED
|
@@ -136,9 +136,9 @@ const TOOLS = [
|
|
|
136
136
|
},
|
|
137
137
|
depth: {
|
|
138
138
|
type: "string",
|
|
139
|
-
enum: ["quick", "balanced", "
|
|
139
|
+
enum: ["quick", "balanced", "deep"],
|
|
140
140
|
description:
|
|
141
|
-
"Search depth: 'quick' = fast list retrieval, 'balanced' = smart routing with AI (default), '
|
|
141
|
+
"Search depth: 'quick' = fast list retrieval, 'balanced' = smart routing with AI (default), 'deep' = full hybrid search with attention agent",
|
|
142
142
|
default: "balanced",
|
|
143
143
|
},
|
|
144
144
|
return_format: {
|
|
@@ -152,32 +152,6 @@ const TOOLS = [
|
|
|
152
152
|
required: ["query"],
|
|
153
153
|
},
|
|
154
154
|
},
|
|
155
|
-
{
|
|
156
|
-
name: "get_recent_memories",
|
|
157
|
-
description:
|
|
158
|
-
"Get the most recent CONTEXT items (general information). For recent tasks, use list_tasks instead. NOTE: This tool is called 'get_recent_memories' (not 'fetch'). Returns fully decrypted data. REQUIRES space_id parameter.",
|
|
159
|
-
inputSchema: {
|
|
160
|
-
type: "object",
|
|
161
|
-
properties: {
|
|
162
|
-
space_id: {
|
|
163
|
-
type: "string",
|
|
164
|
-
description:
|
|
165
|
-
"REQUIRED: Space to get memories from (use list_spaces to see available options)",
|
|
166
|
-
},
|
|
167
|
-
topics: {
|
|
168
|
-
type: "array",
|
|
169
|
-
items: { type: "string" },
|
|
170
|
-
description: "Filter by specific topics",
|
|
171
|
-
},
|
|
172
|
-
limit: {
|
|
173
|
-
type: "number",
|
|
174
|
-
description: "Number of recent memories to retrieve",
|
|
175
|
-
default: 20,
|
|
176
|
-
},
|
|
177
|
-
},
|
|
178
|
-
required: ["space_id"],
|
|
179
|
-
},
|
|
180
|
-
},
|
|
181
155
|
{
|
|
182
156
|
name: "fetch",
|
|
183
157
|
description:
|
|
@@ -278,7 +252,7 @@ const TOOLS = [
|
|
|
278
252
|
{
|
|
279
253
|
name: "update_memory",
|
|
280
254
|
description:
|
|
281
|
-
"Unified tool for ALL memory operations: add, update, or delete context and tasks. Supports any combination of operations in a single call. Context = general information/knowledge (Memory nodes). Tasks = actionable workflow items (Task nodes). Max 50 operations per call. At least one operation (add/update/delete) required.",
|
|
255
|
+
"Unified tool for ALL memory operations: add, update, or delete context and tasks. Supports any combination of operations in a single call. Context = general information/knowledge (Memory nodes). Tasks = actionable workflow items (Task nodes). Max 50 operations per call. At least one operation (add/update/delete) required.\n\nIMPORTANT: Before using this tool, summarize your findings and proposed changes to get user confirmation UNLESS the user explicitly just asked you to add/update/delete memories.",
|
|
282
256
|
inputSchema: {
|
|
283
257
|
type: "object",
|
|
284
258
|
properties: {
|
|
@@ -434,35 +408,6 @@ const TOOLS = [
|
|
|
434
408
|
required: ["space_id"],
|
|
435
409
|
},
|
|
436
410
|
},
|
|
437
|
-
{
|
|
438
|
-
name: "list_tasks",
|
|
439
|
-
description: "List tasks in a space with optional filtering",
|
|
440
|
-
inputSchema: {
|
|
441
|
-
type: "object",
|
|
442
|
-
properties: {
|
|
443
|
-
space_id: {
|
|
444
|
-
type: "string",
|
|
445
|
-
description: "Space to list tasks from",
|
|
446
|
-
},
|
|
447
|
-
status: {
|
|
448
|
-
type: "string",
|
|
449
|
-
enum: ["pending", "in_progress", "completed", "invalidated"],
|
|
450
|
-
description: "Optional: Filter by status",
|
|
451
|
-
},
|
|
452
|
-
topics: {
|
|
453
|
-
type: "array",
|
|
454
|
-
items: { type: "string" },
|
|
455
|
-
description: "Optional: Filter by topics",
|
|
456
|
-
},
|
|
457
|
-
limit: {
|
|
458
|
-
type: "number",
|
|
459
|
-
description: "Maximum number of tasks to return",
|
|
460
|
-
default: 50,
|
|
461
|
-
},
|
|
462
|
-
},
|
|
463
|
-
required: ["space_id"],
|
|
464
|
-
},
|
|
465
|
-
},
|
|
466
411
|
];
|
|
467
412
|
|
|
468
413
|
server.setRequestHandler(ListToolsRequestSchema, async () => ({
|
|
@@ -482,7 +427,7 @@ async function handleSearchMemories(args: any) {
|
|
|
482
427
|
query: string;
|
|
483
428
|
topics?: string[];
|
|
484
429
|
max_results?: number;
|
|
485
|
-
depth?: "quick" | "balanced" | "
|
|
430
|
+
depth?: "quick" | "balanced" | "deep";
|
|
486
431
|
return_format?: "full" | "summary" | "ids_only";
|
|
487
432
|
};
|
|
488
433
|
|