@taazkareem/clickup-mcp-server 0.4.14 → 0.4.16

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.
Files changed (2) hide show
  1. package/build/index.js +8 -290
  2. package/package.json +1 -1
package/build/index.js CHANGED
@@ -25,8 +25,8 @@ catch (error) {
25
25
  }
26
26
  console.log('Creating MCP server...');
27
27
  const server = new Server({
28
- name: "clickup",
29
- version: "0.1.0",
28
+ name: "clickup-mcp-server",
29
+ version: "0.4.14",
30
30
  }, {
31
31
  capabilities: {
32
32
  resources: {
@@ -382,295 +382,13 @@ server.setRequestHandler(ReadResourceRequestSchema, async (request) => {
382
382
  */
383
383
  server.setRequestHandler(ListToolsRequestSchema, async () => {
384
384
  console.log('Handling ListTools request');
385
+ const toolCapabilities = server.capabilities?.tools || {};
385
386
  return {
386
- tools: [
387
- {
388
- name: "workspace_hierarchy",
389
- description: "List complete hierarchy of the ClickUp workspace",
390
- inputSchema: {
391
- type: "object",
392
- properties: {},
393
- required: []
394
- }
395
- },
396
- {
397
- name: "create_task",
398
- description: "Create a new task in ClickUp",
399
- inputSchema: {
400
- type: "object",
401
- properties: {
402
- listId: {
403
- type: "string",
404
- description: "ID of the list to create the task in (optional if listName is provided)"
405
- },
406
- listName: {
407
- type: "string",
408
- description: "Name of the list to create the task in (optional if listId is provided)"
409
- },
410
- name: {
411
- type: "string",
412
- description: "Name of the task"
413
- },
414
- description: {
415
- type: "string",
416
- description: "Description of the task"
417
- },
418
- status: {
419
- type: "string",
420
- description: "Status of the task"
421
- },
422
- priority: {
423
- type: "number",
424
- description: "Priority of the task (1-4)"
425
- },
426
- dueDate: {
427
- type: "string",
428
- description: "Due date of the task (ISO string)"
429
- }
430
- },
431
- required: ["name"]
432
- }
433
- },
434
- {
435
- name: "create_bulk_tasks",
436
- description: "Create multiple tasks in a ClickUp list",
437
- inputSchema: {
438
- type: "object",
439
- properties: {
440
- listId: {
441
- type: "string",
442
- description: "ID of the list to create the tasks in (optional if listName is provided)"
443
- },
444
- listName: {
445
- type: "string",
446
- description: "Name of the list to create the tasks in (optional if listId is provided)"
447
- },
448
- tasks: {
449
- type: "array",
450
- description: "Array of tasks to create",
451
- items: {
452
- type: "object",
453
- properties: {
454
- name: {
455
- type: "string",
456
- description: "Name of the task"
457
- },
458
- description: {
459
- type: "string",
460
- description: "Description of the task"
461
- },
462
- status: {
463
- type: "string",
464
- description: "Status of the task"
465
- },
466
- priority: {
467
- type: "number",
468
- description: "Priority level (1-4)"
469
- },
470
- dueDate: {
471
- type: "string",
472
- description: "Due date (ISO string)"
473
- },
474
- assignees: {
475
- type: "array",
476
- items: {
477
- type: "number"
478
- },
479
- description: "Array of user IDs to assign to the task"
480
- }
481
- },
482
- required: ["name"]
483
- }
484
- }
485
- },
486
- required: ["tasks"]
487
- }
488
- },
489
- {
490
- name: "create_list",
491
- description: "Create a new list in a ClickUp space",
492
- inputSchema: {
493
- type: "object",
494
- properties: {
495
- spaceId: {
496
- type: "string",
497
- description: "ID of the space to create the list in (optional if spaceName is provided)"
498
- },
499
- spaceName: {
500
- type: "string",
501
- description: "Name of the space to create the list in (optional if spaceId is provided)"
502
- },
503
- name: {
504
- type: "string",
505
- description: "Name of the list"
506
- },
507
- content: {
508
- type: "string",
509
- description: "Description or content of the list"
510
- },
511
- dueDate: {
512
- type: "string",
513
- description: "Due date for the list (ISO string)"
514
- },
515
- priority: {
516
- type: "number",
517
- description: "Priority of the list (1-4)"
518
- },
519
- assignee: {
520
- type: "number",
521
- description: "User ID to assign the list to"
522
- },
523
- status: {
524
- type: "string",
525
- description: "Status of the list"
526
- }
527
- },
528
- required: ["name"]
529
- }
530
- },
531
- {
532
- name: "create_folder",
533
- description: "Create a new folder in a ClickUp space",
534
- inputSchema: {
535
- type: "object",
536
- properties: {
537
- spaceId: {
538
- type: "string",
539
- description: "ID of the space to create the folder in (optional if spaceName is provided)"
540
- },
541
- spaceName: {
542
- type: "string",
543
- description: "Name of the space to create the folder in (optional if spaceId is provided)"
544
- },
545
- name: {
546
- type: "string",
547
- description: "Name of the folder"
548
- },
549
- override_statuses: {
550
- type: "boolean",
551
- description: "Whether to override space statuses"
552
- }
553
- },
554
- required: ["name"]
555
- }
556
- },
557
- {
558
- name: "create_list_in_folder",
559
- description: "Create a new list in a ClickUp folder",
560
- inputSchema: {
561
- type: "object",
562
- properties: {
563
- folderId: {
564
- type: "string",
565
- description: "ID of the folder to create the list in (optional if folderName and spaceId/spaceName are provided)"
566
- },
567
- folderName: {
568
- type: "string",
569
- description: "Name of the folder to create the list in"
570
- },
571
- spaceId: {
572
- type: "string",
573
- description: "ID of the space containing the folder (required if using folderName)"
574
- },
575
- spaceName: {
576
- type: "string",
577
- description: "Name of the space containing the folder (alternative to spaceId)"
578
- },
579
- name: {
580
- type: "string",
581
- description: "Name of the list"
582
- },
583
- content: {
584
- type: "string",
585
- description: "Description or content of the list"
586
- },
587
- status: {
588
- type: "string",
589
- description: "Status of the list"
590
- }
591
- },
592
- required: ["name"]
593
- }
594
- },
595
- {
596
- name: "move_task",
597
- description: "Move a task to a different list",
598
- inputSchema: {
599
- type: "object",
600
- properties: {
601
- taskId: {
602
- type: "string",
603
- description: "ID of the task to move"
604
- },
605
- listId: {
606
- type: "string",
607
- description: "ID of the destination list (optional if listName is provided)"
608
- },
609
- listName: {
610
- type: "string",
611
- description: "Name of the destination list (optional if listId is provided)"
612
- }
613
- },
614
- required: ["taskId"]
615
- }
616
- },
617
- {
618
- name: "duplicate_task",
619
- description: "Duplicate a task to a list",
620
- inputSchema: {
621
- type: "object",
622
- properties: {
623
- taskId: {
624
- type: "string",
625
- description: "ID of the task to duplicate"
626
- },
627
- listId: {
628
- type: "string",
629
- description: "ID of the destination list (optional if listName is provided)"
630
- },
631
- listName: {
632
- type: "string",
633
- description: "Name of the destination list (optional if listId is provided)"
634
- }
635
- },
636
- required: ["taskId"]
637
- }
638
- },
639
- {
640
- name: "update_task",
641
- description: "Update an existing task in ClickUp",
642
- inputSchema: {
643
- type: "object",
644
- properties: {
645
- taskId: {
646
- type: "string",
647
- description: "ID of the task to update"
648
- },
649
- name: {
650
- type: "string",
651
- description: "New name of the task"
652
- },
653
- description: {
654
- type: "string",
655
- description: "New description of the task"
656
- },
657
- status: {
658
- type: "string",
659
- description: "New status of the task"
660
- },
661
- priority: {
662
- type: "number",
663
- description: "New priority of the task (1-4)"
664
- },
665
- dueDate: {
666
- type: "string",
667
- description: "New due date of the task (ISO string)"
668
- }
669
- },
670
- required: ["taskId"]
671
- }
672
- }
673
- ]
387
+ tools: Object.entries(toolCapabilities).map(([name, tool]) => ({
388
+ name,
389
+ description: tool.description,
390
+ inputSchema: tool.inputSchema
391
+ }))
674
392
  };
675
393
  });
676
394
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taazkareem/clickup-mcp-server",
3
- "version": "0.4.14",
3
+ "version": "0.4.16",
4
4
  "description": "ClickUp MCP Server - Integrate ClickUp tasks with AI through Model Context Protocol",
5
5
  "type": "module",
6
6
  "main": "./build/index.js",