@intangle/mcp-server 1.0.4 → 1.0.5
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 +0 -20
- package/index.ts +0 -20
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -324,20 +324,6 @@ const TOOLS = [
|
|
|
324
324
|
required: ["task_id"],
|
|
325
325
|
},
|
|
326
326
|
},
|
|
327
|
-
{
|
|
328
|
-
name: "list_subtasks",
|
|
329
|
-
description: "Get all subtasks of a parent task",
|
|
330
|
-
inputSchema: {
|
|
331
|
-
type: "object",
|
|
332
|
-
properties: {
|
|
333
|
-
parent_id: {
|
|
334
|
-
type: "string",
|
|
335
|
-
description: "Parent task ID",
|
|
336
|
-
},
|
|
337
|
-
},
|
|
338
|
-
required: ["parent_id"],
|
|
339
|
-
},
|
|
340
|
-
},
|
|
341
327
|
];
|
|
342
328
|
server.setRequestHandler(ListToolsRequestSchema, async () => ({
|
|
343
329
|
tools: TOOLS,
|
|
@@ -416,9 +402,6 @@ async function handleListTasks(args) {
|
|
|
416
402
|
async function handleDeleteTask(args) {
|
|
417
403
|
return makeApiCall("delete-task", args);
|
|
418
404
|
}
|
|
419
|
-
async function handleListSubtasks(args) {
|
|
420
|
-
return makeApiCall("list-subtasks", args);
|
|
421
|
-
}
|
|
422
405
|
server.setRequestHandler(CallToolRequestSchema, async (request) => {
|
|
423
406
|
const { name, arguments: args } = request.params;
|
|
424
407
|
try {
|
|
@@ -466,9 +449,6 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
|
|
|
466
449
|
case "delete_task":
|
|
467
450
|
result = await handleDeleteTask(args);
|
|
468
451
|
break;
|
|
469
|
-
case "list_subtasks":
|
|
470
|
-
result = await handleListSubtasks(args);
|
|
471
|
-
break;
|
|
472
452
|
default:
|
|
473
453
|
throw new McpError(ErrorCode.MethodNotFound, `Unknown tool: ${name}`);
|
|
474
454
|
}
|
package/index.ts
CHANGED
|
@@ -360,20 +360,6 @@ const TOOLS = [
|
|
|
360
360
|
required: ["task_id"],
|
|
361
361
|
},
|
|
362
362
|
},
|
|
363
|
-
{
|
|
364
|
-
name: "list_subtasks",
|
|
365
|
-
description: "Get all subtasks of a parent task",
|
|
366
|
-
inputSchema: {
|
|
367
|
-
type: "object",
|
|
368
|
-
properties: {
|
|
369
|
-
parent_id: {
|
|
370
|
-
type: "string",
|
|
371
|
-
description: "Parent task ID",
|
|
372
|
-
},
|
|
373
|
-
},
|
|
374
|
-
required: ["parent_id"],
|
|
375
|
-
},
|
|
376
|
-
},
|
|
377
363
|
];
|
|
378
364
|
|
|
379
365
|
server.setRequestHandler(ListToolsRequestSchema, async () => ({
|
|
@@ -503,9 +489,6 @@ async function handleDeleteTask(args: any) {
|
|
|
503
489
|
return makeApiCall("delete-task", args);
|
|
504
490
|
}
|
|
505
491
|
|
|
506
|
-
async function handleListSubtasks(args: any) {
|
|
507
|
-
return makeApiCall("list-subtasks", args);
|
|
508
|
-
}
|
|
509
492
|
|
|
510
493
|
server.setRequestHandler(CallToolRequestSchema, async (request: any) => {
|
|
511
494
|
const { name, arguments: args } = request.params;
|
|
@@ -556,9 +539,6 @@ server.setRequestHandler(CallToolRequestSchema, async (request: any) => {
|
|
|
556
539
|
case "delete_task":
|
|
557
540
|
result = await handleDeleteTask(args);
|
|
558
541
|
break;
|
|
559
|
-
case "list_subtasks":
|
|
560
|
-
result = await handleListSubtasks(args);
|
|
561
|
-
break;
|
|
562
542
|
default:
|
|
563
543
|
throw new McpError(ErrorCode.MethodNotFound, `Unknown tool: ${name}`);
|
|
564
544
|
}
|