@intangle/mcp-server 1.0.10 → 1.1.0
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 +74 -4
- package/index.ts +74 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -22,7 +22,7 @@ if (!MCP_API_KEY) {
|
|
|
22
22
|
console.log("Intangle MCP Server starting - connecting to", API_BASE_URL);
|
|
23
23
|
// Version checking
|
|
24
24
|
// IMPORTANT: Update BOTH package.json version AND this constant when bumping version
|
|
25
|
-
const CURRENT_VERSION = "1.0
|
|
25
|
+
const CURRENT_VERSION = "1.1.0";
|
|
26
26
|
let latestVersion = null;
|
|
27
27
|
let versionCheckDone = false;
|
|
28
28
|
async function checkVersion() {
|
|
@@ -291,7 +291,7 @@ const TOOLS = [
|
|
|
291
291
|
},
|
|
292
292
|
{
|
|
293
293
|
name: "add_task",
|
|
294
|
-
description: "Create one or more tasks in your space with status tracking and priority levels. Accepts a single task object or an array of task objects
|
|
294
|
+
description: "Create one or more tasks in your space with status tracking and priority levels. Supports BATCH creation and NESTED subtasks. Accepts a single task object or an array of task objects. Tasks have graph relationships like memories (entities, topics, temporal). REQUIRES space_id parameter. Example with subtasks: {tasks: {title: 'Parent', content: 'Main task', subtasks: [{title: 'Subtask 1', content: 'Child task'}]}}",
|
|
295
295
|
inputSchema: {
|
|
296
296
|
type: "object",
|
|
297
297
|
properties: {
|
|
@@ -331,7 +331,42 @@ const TOOLS = [
|
|
|
331
331
|
},
|
|
332
332
|
parent_id: {
|
|
333
333
|
type: "string",
|
|
334
|
-
description: "Optional parent task ID to create this as a subtask",
|
|
334
|
+
description: "Optional parent task ID to create this as a subtask. Use an existing task's ID (format: task_TIMESTAMP_ID) to nest this task under it. Use list_tasks to find parent task IDs. If omitted, creates a top-level task. NOTE: Use 'subtasks' array instead for creating parent+children in one call.",
|
|
335
|
+
},
|
|
336
|
+
subtasks: {
|
|
337
|
+
type: "array",
|
|
338
|
+
items: {
|
|
339
|
+
type: "object",
|
|
340
|
+
properties: {
|
|
341
|
+
title: {
|
|
342
|
+
type: "string",
|
|
343
|
+
description: "Subtask title",
|
|
344
|
+
},
|
|
345
|
+
content: {
|
|
346
|
+
type: "string",
|
|
347
|
+
description: "Subtask description/details",
|
|
348
|
+
},
|
|
349
|
+
topics: {
|
|
350
|
+
type: "array",
|
|
351
|
+
items: { type: "string" },
|
|
352
|
+
description: "Topics/tags for this subtask",
|
|
353
|
+
},
|
|
354
|
+
status: {
|
|
355
|
+
type: "string",
|
|
356
|
+
enum: ["pending", "in_progress", "completed", "invalidated"],
|
|
357
|
+
description: "Subtask status (default: pending)",
|
|
358
|
+
default: "pending",
|
|
359
|
+
},
|
|
360
|
+
priority: {
|
|
361
|
+
type: "string",
|
|
362
|
+
enum: ["urgent", "high", "medium", "low"],
|
|
363
|
+
description: "Subtask priority level (default: medium)",
|
|
364
|
+
default: "medium",
|
|
365
|
+
},
|
|
366
|
+
},
|
|
367
|
+
required: ["title", "content"],
|
|
368
|
+
},
|
|
369
|
+
description: "Optional array of subtasks to create under this parent task. Each will be automatically linked to the parent.",
|
|
335
370
|
},
|
|
336
371
|
},
|
|
337
372
|
required: ["title", "content"],
|
|
@@ -368,7 +403,42 @@ const TOOLS = [
|
|
|
368
403
|
},
|
|
369
404
|
parent_id: {
|
|
370
405
|
type: "string",
|
|
371
|
-
description: "Optional parent task ID to create this as a subtask",
|
|
406
|
+
description: "Optional parent task ID to create this as a subtask. Use an existing task's ID (format: task_TIMESTAMP_ID) to nest this task under it. Use list_tasks to find parent task IDs. If omitted, creates a top-level task. NOTE: Use 'subtasks' array instead for creating parent+children in one call.",
|
|
407
|
+
},
|
|
408
|
+
subtasks: {
|
|
409
|
+
type: "array",
|
|
410
|
+
items: {
|
|
411
|
+
type: "object",
|
|
412
|
+
properties: {
|
|
413
|
+
title: {
|
|
414
|
+
type: "string",
|
|
415
|
+
description: "Subtask title",
|
|
416
|
+
},
|
|
417
|
+
content: {
|
|
418
|
+
type: "string",
|
|
419
|
+
description: "Subtask description/details",
|
|
420
|
+
},
|
|
421
|
+
topics: {
|
|
422
|
+
type: "array",
|
|
423
|
+
items: { type: "string" },
|
|
424
|
+
description: "Topics/tags for this subtask",
|
|
425
|
+
},
|
|
426
|
+
status: {
|
|
427
|
+
type: "string",
|
|
428
|
+
enum: ["pending", "in_progress", "completed", "invalidated"],
|
|
429
|
+
description: "Subtask status (default: pending)",
|
|
430
|
+
default: "pending",
|
|
431
|
+
},
|
|
432
|
+
priority: {
|
|
433
|
+
type: "string",
|
|
434
|
+
enum: ["urgent", "high", "medium", "low"],
|
|
435
|
+
description: "Subtask priority level (default: medium)",
|
|
436
|
+
default: "medium",
|
|
437
|
+
},
|
|
438
|
+
},
|
|
439
|
+
required: ["title", "content"],
|
|
440
|
+
},
|
|
441
|
+
description: "Optional array of subtasks to create under this parent task. Each will be automatically linked to the parent.",
|
|
372
442
|
},
|
|
373
443
|
},
|
|
374
444
|
required: ["title", "content"],
|
package/index.ts
CHANGED
|
@@ -35,7 +35,7 @@ console.log("Intangle MCP Server starting - connecting to", API_BASE_URL);
|
|
|
35
35
|
|
|
36
36
|
// Version checking
|
|
37
37
|
// IMPORTANT: Update BOTH package.json version AND this constant when bumping version
|
|
38
|
-
const CURRENT_VERSION = "1.0
|
|
38
|
+
const CURRENT_VERSION = "1.1.0";
|
|
39
39
|
let latestVersion: string | null = null;
|
|
40
40
|
let versionCheckDone = false;
|
|
41
41
|
|
|
@@ -328,7 +328,7 @@ const TOOLS = [
|
|
|
328
328
|
{
|
|
329
329
|
name: "add_task",
|
|
330
330
|
description:
|
|
331
|
-
"Create one or more tasks in your space with status tracking and priority levels. Accepts a single task object or an array of task objects
|
|
331
|
+
"Create one or more tasks in your space with status tracking and priority levels. Supports BATCH creation and NESTED subtasks. Accepts a single task object or an array of task objects. Tasks have graph relationships like memories (entities, topics, temporal). REQUIRES space_id parameter. Example with subtasks: {tasks: {title: 'Parent', content: 'Main task', subtasks: [{title: 'Subtask 1', content: 'Child task'}]}}",
|
|
332
332
|
inputSchema: {
|
|
333
333
|
type: "object",
|
|
334
334
|
properties: {
|
|
@@ -370,7 +370,42 @@ const TOOLS = [
|
|
|
370
370
|
},
|
|
371
371
|
parent_id: {
|
|
372
372
|
type: "string",
|
|
373
|
-
description: "Optional parent task ID to create this as a subtask",
|
|
373
|
+
description: "Optional parent task ID to create this as a subtask. Use an existing task's ID (format: task_TIMESTAMP_ID) to nest this task under it. Use list_tasks to find parent task IDs. If omitted, creates a top-level task. NOTE: Use 'subtasks' array instead for creating parent+children in one call.",
|
|
374
|
+
},
|
|
375
|
+
subtasks: {
|
|
376
|
+
type: "array",
|
|
377
|
+
items: {
|
|
378
|
+
type: "object",
|
|
379
|
+
properties: {
|
|
380
|
+
title: {
|
|
381
|
+
type: "string",
|
|
382
|
+
description: "Subtask title",
|
|
383
|
+
},
|
|
384
|
+
content: {
|
|
385
|
+
type: "string",
|
|
386
|
+
description: "Subtask description/details",
|
|
387
|
+
},
|
|
388
|
+
topics: {
|
|
389
|
+
type: "array",
|
|
390
|
+
items: { type: "string" },
|
|
391
|
+
description: "Topics/tags for this subtask",
|
|
392
|
+
},
|
|
393
|
+
status: {
|
|
394
|
+
type: "string",
|
|
395
|
+
enum: ["pending", "in_progress", "completed", "invalidated"],
|
|
396
|
+
description: "Subtask status (default: pending)",
|
|
397
|
+
default: "pending",
|
|
398
|
+
},
|
|
399
|
+
priority: {
|
|
400
|
+
type: "string",
|
|
401
|
+
enum: ["urgent", "high", "medium", "low"],
|
|
402
|
+
description: "Subtask priority level (default: medium)",
|
|
403
|
+
default: "medium",
|
|
404
|
+
},
|
|
405
|
+
},
|
|
406
|
+
required: ["title", "content"],
|
|
407
|
+
},
|
|
408
|
+
description: "Optional array of subtasks to create under this parent task. Each will be automatically linked to the parent.",
|
|
374
409
|
},
|
|
375
410
|
},
|
|
376
411
|
required: ["title", "content"],
|
|
@@ -408,7 +443,42 @@ const TOOLS = [
|
|
|
408
443
|
},
|
|
409
444
|
parent_id: {
|
|
410
445
|
type: "string",
|
|
411
|
-
description: "Optional parent task ID to create this as a subtask",
|
|
446
|
+
description: "Optional parent task ID to create this as a subtask. Use an existing task's ID (format: task_TIMESTAMP_ID) to nest this task under it. Use list_tasks to find parent task IDs. If omitted, creates a top-level task. NOTE: Use 'subtasks' array instead for creating parent+children in one call.",
|
|
447
|
+
},
|
|
448
|
+
subtasks: {
|
|
449
|
+
type: "array",
|
|
450
|
+
items: {
|
|
451
|
+
type: "object",
|
|
452
|
+
properties: {
|
|
453
|
+
title: {
|
|
454
|
+
type: "string",
|
|
455
|
+
description: "Subtask title",
|
|
456
|
+
},
|
|
457
|
+
content: {
|
|
458
|
+
type: "string",
|
|
459
|
+
description: "Subtask description/details",
|
|
460
|
+
},
|
|
461
|
+
topics: {
|
|
462
|
+
type: "array",
|
|
463
|
+
items: { type: "string" },
|
|
464
|
+
description: "Topics/tags for this subtask",
|
|
465
|
+
},
|
|
466
|
+
status: {
|
|
467
|
+
type: "string",
|
|
468
|
+
enum: ["pending", "in_progress", "completed", "invalidated"],
|
|
469
|
+
description: "Subtask status (default: pending)",
|
|
470
|
+
default: "pending",
|
|
471
|
+
},
|
|
472
|
+
priority: {
|
|
473
|
+
type: "string",
|
|
474
|
+
enum: ["urgent", "high", "medium", "low"],
|
|
475
|
+
description: "Subtask priority level (default: medium)",
|
|
476
|
+
default: "medium",
|
|
477
|
+
},
|
|
478
|
+
},
|
|
479
|
+
required: ["title", "content"],
|
|
480
|
+
},
|
|
481
|
+
description: "Optional array of subtasks to create under this parent task. Each will be automatically linked to the parent.",
|
|
412
482
|
},
|
|
413
483
|
},
|
|
414
484
|
required: ["title", "content"],
|