@hauptsache.net/clickup-mcp 1.5.0 → 1.5.1

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.
@@ -34,8 +34,8 @@ function registerSpaceResources(server) {
34
34
  return {
35
35
  resources: activeSpaces.map((space) => ({
36
36
  uri: `clickup://space/${space.id}`,
37
- name: space.name,
38
- title: space.name,
37
+ name: `${space.name} ClickUp Space.txt`,
38
+ title: `${space.name} ClickUp Space`,
39
39
  mimeType: "text/plain"
40
40
  }))
41
41
  };
@@ -1 +1 @@
1
- {"version":3,"file":"doc-tools.d.ts","sourceRoot":"","sources":["../../src/tools/doc-tools.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAoDpE,wBAAgB,yBAAyB,CAAC,MAAM,EAAE,SAAS,QA0J1D;AAED,wBAAgB,0BAA0B,CAAC,MAAM,EAAE,SAAS,QA+R3D"}
1
+ {"version":3,"file":"doc-tools.d.ts","sourceRoot":"","sources":["../../src/tools/doc-tools.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAoDpE,wBAAgB,yBAAyB,CAAC,MAAM,EAAE,SAAS,QA0J1D;AAED,wBAAgB,0BAA0B,CAAC,MAAM,EAAE,SAAS,QAoS3D"}
@@ -209,7 +209,9 @@ function registerDocumentToolsWrite(server) {
209
209
  .optional()
210
210
  .describe("Whether to append content to existing page content (default: false - replaces content)")
211
211
  }, {
212
- readOnlyHint: false
212
+ readOnlyHint: false,
213
+ destructiveHint: true,
214
+ idempotentHint: false,
213
215
  }, async ({ doc_id, page_id, name, content, append = false }) => {
214
216
  try {
215
217
  const requestBody = {};
@@ -306,7 +308,10 @@ function registerDocumentToolsWrite(server) {
306
308
  .optional()
307
309
  .describe("Optional: page content in markdown format")
308
310
  }, {
309
- readOnlyHint: false
311
+ readOnlyHint: false,
312
+ destructiveHint: false,
313
+ idempotentHint: false,
314
+ openWorldHint: true
310
315
  }, async ({ space_id, list_id, doc_id, parent_page_id, name, content }) => {
311
316
  try {
312
317
  // Validate mutually exclusive parameters
@@ -1 +1 @@
1
- {"version":3,"file":"list-tools.d.ts","sourceRoot":"","sources":["../../src/tools/list-tools.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAKpE,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,SAAS,QAkHtD;AAED,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,SAAS,QA4EvD"}
1
+ {"version":3,"file":"list-tools.d.ts","sourceRoot":"","sources":["../../src/tools/list-tools.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAKpE,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,SAAS,QAkHtD;AAED,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,SAAS,QA8EvD"}
@@ -118,7 +118,9 @@ function registerListToolsWrite(server) {
118
118
  list_id: zod_1.z.string().min(1).describe("The list ID to update"),
119
119
  append_description: zod_1.z.string().min(1).describe("Markdown content to APPEND to existing list description (preserves existing content for safety)")
120
120
  }, {
121
- readOnlyHint: false
121
+ readOnlyHint: false,
122
+ destructiveHint: false,
123
+ idempotentHint: false,
122
124
  }, async ({ list_id, append_description }) => {
123
125
  try {
124
126
  // Get current list info including description (try to get markdown content)
@@ -1 +1 @@
1
- {"version":3,"file":"task-write-tools.d.ts","sourceRoot":"","sources":["../../src/tools/task-write-tools.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAapE,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,QA2YtE"}
1
+ {"version":3,"file":"task-write-tools.d.ts","sourceRoot":"","sources":["../../src/tools/task-write-tools.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAapE,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,QAmZtE"}
@@ -31,7 +31,9 @@ function registerTaskToolsWrite(server, userData) {
31
31
  task_id: zod_1.z.string().min(6).max(9).describe("The 6-9 character task ID to comment on"),
32
32
  comment: zod_1.z.string().min(1).describe("The comment text to add to the task"),
33
33
  }, {
34
- readOnlyHint: false
34
+ readOnlyHint: false,
35
+ destructiveHint: false,
36
+ idempotentHint: false,
35
37
  }, async ({ task_id, comment }) => {
36
38
  try {
37
39
  const requestBody = {
@@ -111,7 +113,10 @@ function registerTaskToolsWrite(server, userData) {
111
113
  blocking: zod_1.z.array(zod_1.z.string()).optional().describe("Optional array of task IDs that this task should block. Note: This creates dependencies FROM those tasks TO this task (those tasks will wait on this one)"),
112
114
  linked_tasks: zod_1.z.array(zod_1.z.string()).optional().describe("Optional array of task IDs to link as related tasks without blocking (will replace existing linked tasks)")
113
115
  }, {
114
- readOnlyHint: false
116
+ readOnlyHint: false,
117
+ destructiveHint: true,
118
+ idempotentHint: false,
119
+ openWorldHint: true
115
120
  }, async ({ task_id, name, append_description, status, priority, due_date, start_date, time_estimate, tags, parent_task_id, assignees, blocking, waiting_on, linked_tasks }) => {
116
121
  try {
117
122
  const userData = await (0, utils_1.getCurrentUser)();
@@ -289,7 +294,10 @@ function registerTaskToolsWrite(server, userData) {
289
294
  parent_task_id: zod_1.z.string().optional().describe("Optional parent task ID to create this as a subtask"),
290
295
  assignees: zod_1.z.array(zod_1.z.string()).optional().describe(createAssigneeDescription(userData))
291
296
  }, {
292
- readOnlyHint: false
297
+ readOnlyHint: false,
298
+ destructiveHint: false,
299
+ idempotentHint: false,
300
+ openWorldHint: true
293
301
  }, async ({ list_id, name, description, status, priority, due_date, start_date, time_estimate, tags, parent_task_id, assignees }) => {
294
302
  try {
295
303
  const userData = await (0, utils_1.getCurrentUser)();
@@ -1 +1 @@
1
- {"version":3,"file":"time-tools.d.ts","sourceRoot":"","sources":["../../src/tools/time-tools.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAyDpE,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,SAAS,QAgFtD;AAwLD,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,SAAS,QAsFvD"}
1
+ {"version":3,"file":"time-tools.d.ts","sourceRoot":"","sources":["../../src/tools/time-tools.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAyDpE,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,SAAS,QAgFtD;AAwLD,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,SAAS,QAwFvD"}
@@ -271,7 +271,9 @@ function registerTimeToolsWrite(server) {
271
271
  description: zod_1.z.string().optional().describe("Optional description for the time entry"),
272
272
  start_time: zod_1.z.string().optional().describe("Optional start time as ISO date string (e.g., '2024-10-06T09:00:00+02:00', defaults to current time)")
273
273
  }, {
274
- readOnlyHint: false
274
+ readOnlyHint: false,
275
+ destructiveHint: false,
276
+ idempotentHint: false,
275
277
  }, async ({ task_id, hours, description, start_time }) => {
276
278
  try {
277
279
  // Convert hours to milliseconds (ClickUp API uses milliseconds)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hauptsache.net/clickup-mcp",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
4
4
  "description": "Search, create, and retrieve tasks, add comments, and track time through natural language commands.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",