@chykalophia/clickup-mcp-server 3.4.0 → 4.1.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.
Files changed (133) hide show
  1. package/build/clickup-client/attachments-enhanced.js +4 -1
  2. package/build/clickup-client/attachments-enhanced.js.map +1 -1
  3. package/build/clickup-client/auth.js.map +1 -1
  4. package/build/clickup-client/chat-enhanced.js +3 -1
  5. package/build/clickup-client/chat-enhanced.js.map +1 -1
  6. package/build/clickup-client/checklists.js.map +1 -1
  7. package/build/clickup-client/comments-enhanced.js +4 -3
  8. package/build/clickup-client/comments-enhanced.js.map +1 -1
  9. package/build/clickup-client/comments.js +2 -1
  10. package/build/clickup-client/comments.js.map +1 -1
  11. package/build/clickup-client/custom-fields-enhanced.js +7 -7
  12. package/build/clickup-client/custom-fields-enhanced.js.map +1 -1
  13. package/build/clickup-client/dependencies-enhanced.js.map +1 -1
  14. package/build/clickup-client/docs-enhanced.d.ts +1 -1
  15. package/build/clickup-client/docs-enhanced.js +35 -7
  16. package/build/clickup-client/docs-enhanced.js.map +1 -1
  17. package/build/clickup-client/docs.js +6 -6
  18. package/build/clickup-client/docs.js.map +1 -1
  19. package/build/clickup-client/folders.js.map +1 -1
  20. package/build/clickup-client/goals-enhanced.js.map +1 -1
  21. package/build/clickup-client/index.js +2 -2
  22. package/build/clickup-client/index.js.map +1 -1
  23. package/build/clickup-client/lists.js.map +1 -1
  24. package/build/clickup-client/secure-client.js +7 -6
  25. package/build/clickup-client/secure-client.js.map +1 -1
  26. package/build/clickup-client/tasks.d.ts +41 -0
  27. package/build/clickup-client/tasks.js +128 -2
  28. package/build/clickup-client/tasks.js.map +1 -1
  29. package/build/clickup-client/time-tracking-enhanced.js +2 -6
  30. package/build/clickup-client/time-tracking-enhanced.js.map +1 -1
  31. package/build/clickup-client/views-enhanced.js.map +1 -1
  32. package/build/clickup-client/webhooks-enhanced.js +4 -3
  33. package/build/clickup-client/webhooks-enhanced.js.map +1 -1
  34. package/build/index-efficiency-simple.js +81 -50
  35. package/build/index-efficiency-simple.js.map +1 -1
  36. package/build/index-enhanced.js +1 -0
  37. package/build/index-enhanced.js.map +1 -1
  38. package/build/index.js +1 -0
  39. package/build/index.js.map +1 -1
  40. package/build/resources/checklist-resources.js +1 -0
  41. package/build/resources/checklist-resources.js.map +1 -1
  42. package/build/resources/comment-resources.js +1 -0
  43. package/build/resources/comment-resources.js.map +1 -1
  44. package/build/resources/doc-resources.js +1 -0
  45. package/build/resources/doc-resources.js.map +1 -1
  46. package/build/resources/folder-resources.js +1 -0
  47. package/build/resources/folder-resources.js.map +1 -1
  48. package/build/resources/list-resources.js +1 -0
  49. package/build/resources/list-resources.js.map +1 -1
  50. package/build/resources/space-resources.js +1 -0
  51. package/build/resources/space-resources.js.map +1 -1
  52. package/build/resources/task-resources.js +1 -0
  53. package/build/resources/task-resources.js.map +1 -1
  54. package/build/schemas/attachments-schemas.js +16 -10
  55. package/build/schemas/attachments-schemas.js.map +1 -1
  56. package/build/schemas/chat-schemas.d.ts +7 -7
  57. package/build/schemas/chat-schemas.js +22 -6
  58. package/build/schemas/chat-schemas.js.map +1 -1
  59. package/build/schemas/custom-field-schemas.d.ts +80 -80
  60. package/build/schemas/custom-field-schemas.js +27 -11
  61. package/build/schemas/custom-field-schemas.js.map +1 -1
  62. package/build/schemas/dependencies-schemas.d.ts +11 -11
  63. package/build/schemas/dependencies-schemas.js +14 -11
  64. package/build/schemas/dependencies-schemas.js.map +1 -1
  65. package/build/schemas/document-schemas.d.ts +14 -14
  66. package/build/schemas/document-schemas.js +38 -14
  67. package/build/schemas/document-schemas.js.map +1 -1
  68. package/build/schemas/goals-schemas.d.ts +50 -50
  69. package/build/schemas/goals-schemas.js +4 -1
  70. package/build/schemas/goals-schemas.js.map +1 -1
  71. package/build/schemas/task-schemas.d.ts +382 -0
  72. package/build/schemas/task-schemas.js +115 -0
  73. package/build/schemas/task-schemas.js.map +1 -0
  74. package/build/schemas/time-tracking-schemas.d.ts +20 -20
  75. package/build/schemas/time-tracking-schemas.js +11 -10
  76. package/build/schemas/time-tracking-schemas.js.map +1 -1
  77. package/build/schemas/views-schemas.d.ts +2 -2
  78. package/build/schemas/views-schemas.js +9 -9
  79. package/build/schemas/views-schemas.js.map +1 -1
  80. package/build/schemas/webhook-schemas.js +3 -3
  81. package/build/schemas/webhook-schemas.js.map +1 -1
  82. package/build/tools/attachments-tools-setup.js +146 -65
  83. package/build/tools/attachments-tools-setup.js.map +1 -1
  84. package/build/tools/chat-tools.js +233 -106
  85. package/build/tools/chat-tools.js.map +1 -1
  86. package/build/tools/checklist-tools.js +13 -5
  87. package/build/tools/checklist-tools.js.map +1 -1
  88. package/build/tools/comment-tools.js +35 -14
  89. package/build/tools/comment-tools.js.map +1 -1
  90. package/build/tools/custom-field-tools.js +192 -67
  91. package/build/tools/custom-field-tools.js.map +1 -1
  92. package/build/tools/dependencies-tools-setup.js +133 -58
  93. package/build/tools/dependencies-tools-setup.js.map +1 -1
  94. package/build/tools/doc-tools-enhanced.js +153 -45
  95. package/build/tools/doc-tools-enhanced.js.map +1 -1
  96. package/build/tools/doc-tools.js +4 -1
  97. package/build/tools/doc-tools.js.map +1 -1
  98. package/build/tools/goals-tools.js +113 -41
  99. package/build/tools/goals-tools.js.map +1 -1
  100. package/build/tools/helper-tools.js +131 -53
  101. package/build/tools/helper-tools.js.map +1 -1
  102. package/build/tools/space-tools.js.map +1 -1
  103. package/build/tools/task-tools.js +501 -21
  104. package/build/tools/task-tools.js.map +1 -1
  105. package/build/tools/test-task-update.d.ts +2 -0
  106. package/build/tools/test-task-update.js +124 -0
  107. package/build/tools/test-task-update.js.map +1 -0
  108. package/build/tools/time-tracking-tools.js +105 -36
  109. package/build/tools/time-tracking-tools.js.map +1 -1
  110. package/build/tools/views-tools-setup.js +124 -61
  111. package/build/tools/views-tools-setup.js.map +1 -1
  112. package/build/tools/webhook-tools-setup.js +175 -72
  113. package/build/tools/webhook-tools-setup.js.map +1 -1
  114. package/build/tools/webhook-tools.js +51 -18
  115. package/build/tools/webhook-tools.js.map +1 -1
  116. package/build/utils/clickup-comment-formatter.js +55 -25
  117. package/build/utils/clickup-comment-formatter.js.map +1 -1
  118. package/build/utils/context-aware-suggestions.js +42 -22
  119. package/build/utils/context-aware-suggestions.js.map +1 -1
  120. package/build/utils/error-handling.js +29 -13
  121. package/build/utils/error-handling.js.map +1 -1
  122. package/build/utils/markdown-styling.js.map +1 -1
  123. package/build/utils/markdown.d.ts +5 -4
  124. package/build/utils/markdown.js +24 -19
  125. package/build/utils/markdown.js.map +1 -1
  126. package/build/utils/security.d.ts +76 -0
  127. package/build/utils/security.js +280 -25
  128. package/build/utils/security.js.map +1 -1
  129. package/build/utils/tool-efficiency.js +21 -12
  130. package/build/utils/tool-efficiency.js.map +1 -1
  131. package/package.json +5 -5
  132. package/LICENSE +0 -21
  133. package/README.md +0 -510
package/README.md DELETED
@@ -1,510 +0,0 @@
1
- # ClickUp MCP Server - Enhanced
2
-
3
- <p align="center">
4
- <img src="assets/images/clickupserverlogo.png" width="256" alt="ClickUp MCP Server - Enhanced Logo" />
5
- </p>
6
-
7
- <p align="center">
8
- <a href="https://www.npmjs.com/package/@chykalophia/clickup-mcp-server"><img src="https://img.shields.io/npm/v/@chykalophia/clickup-mcp-server.svg" alt="npm version"></a>
9
- <a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/badge/License-MIT-blue.svg" alt="License: MIT"></a>
10
- <a href="https://nodejs.org/"><img src="https://img.shields.io/badge/node-%3E%3D18.0.0-brightgreen" alt="Node.js Version"></a>
11
- <a href="https://github.com/modelcontextprotocol/typescript-sdk"><img src="https://img.shields.io/badge/MCP%20SDK-1.6.1-orange" alt="MCP SDK"></a>
12
- </p>
13
-
14
- A comprehensive Model Context Protocol (MCP) server providing AI assistants with complete ClickUp API access. Features **170+ tools**, **AI-powered efficiency**, **production-grade security**, and **full GitHub Flavored Markdown support**.
15
-
16
- > **📦 Quick Install**: `npx @chykalophia/clickup-mcp-server` - No build required!
17
-
18
- ## 📋 Attribution
19
-
20
- This Enhanced version is based on the original ClickUp MCP Server codebase by [David Whatley](https://davidwhatley.com) at [nsxdavid/clickup-mcp-server](https://github.com/nsxdavid/clickup-mcp-server).
21
-
22
- ## 🚀 Key Features
23
-
24
- ### 🧠 **AI-Powered Efficiency** ⭐
25
- - **Smart Tool Suggestions**: Context-aware recommendations for optimal workflows
26
- - **Workflow Optimization**: 50-70% efficiency gains in common workflows
27
- - **Intelligent Discovery**: Purpose-built tools that replace inefficient navigation
28
- - **Direct Access**: Skip hierarchical navigation with smart discovery tools
29
-
30
- ### ✅ **GitHub Flavored Markdown Support**
31
- - **Rich Text Formatting**: Headers, bold, italic, code blocks, lists, tables, links
32
- - **Smart Content Processing**: Automatic markdown ↔ HTML ↔ plain text conversion
33
- - **Syntax Highlighting**: Code blocks with language-specific highlighting
34
- - **Backward Compatible**: Existing plain text content continues to work
35
-
36
- ### 🛠️ **Comprehensive API Coverage**
37
- - **170+ Total Tools** covering 100% of major ClickUp API endpoints
38
- - **9 Feature Domains**: Tasks, comments, docs, webhooks, views, dependencies, attachments, time tracking, goals
39
- - **Real-time Integration**: Webhook processing with HMAC validation
40
- - **Advanced Workflows**: Dependencies, custom fields, bulk operations
41
-
42
- ### 🔒 **Production Ready Security**
43
- - **Zero Vulnerabilities**: Comprehensive security audit with 85+ test cases
44
- - **Input Validation**: XSS and injection prevention with sanitization
45
- - **Rate Limiting**: Configurable thresholds (1000 API, 100 webhook, 10 upload/min)
46
- - **HMAC Validation**: Secure webhook authentication with timing-safe comparison
47
- - **File Security**: Path traversal prevention, dangerous file blocking, size limits
48
-
49
- ### 🏷️ **Namespaced Tool Names**
50
- - **Conflict Prevention**: All tools prefixed with `clickup_` to avoid conflicts with other MCP servers
51
- - **Clear Identification**: Easy to distinguish ClickUp tools from other services (e.g., `clickup_get_tasks` vs `taskmaster_get_tasks`)
52
- - **Backward Compatibility**: Previous tool names are deprecated but documented for migration
53
- - **Examples**: `clickup_create_task`, `clickup_get_workspaces`, `clickup_update_comment`
54
-
55
- ## 📊 Complete Tool Inventory (170+ Tools)
56
-
57
- ### 🧠 Efficiency & Intelligence Tools (20+ tools) ⭐
58
- - **Smart Discovery**: `clickup_find_chat_channels`, `clickup_search_views_by_name`, `clickup_get_workspace_overview`
59
- - **Workflow Analysis**: `clickup_analyze_tool_efficiency`, `clickup_suggest_tools_for_task`
60
- - **Enhanced Metadata**: All 153 core tools enhanced with efficiency hints and alternatives
61
-
62
- ### Core Workspace Management (47 tools)
63
- - **Workspaces**: `clickup_get_workspaces`, `clickup_get_workspace_seats`
64
- - **Spaces & Lists**: `clickup_get_spaces`, `clickup_get_lists`, `clickup_create_list`, `clickup_update_list`, `clickup_delete_list`
65
- - **Tasks**: `clickup_get_tasks`, `clickup_create_task`, `clickup_update_task`, `clickup_get_task_details` (with markdown support)
66
- - **Comments**: `clickup_create_task_comment`, `clickup_create_list_comment`, `clickup_create_chat_view_comment` (with markdown)
67
- - **Checklists**: `clickup_create_checklist`, `clickup_update_checklist`, `clickup_create_checklist_item`
68
-
69
- ### Advanced Feature Domains
70
- - **📄 Document Management** (18 tools): Full CRUD, pages, sharing, search with markdown support
71
- - **🔧 Custom Fields** (15 tools): All field types, values, templates, bulk operations
72
- - **📎 Attachments** (14 tools): Upload, download, versions, thumbnails, security validation
73
- - **👁️ Views** (13 tools): All view types, filters, grouping, sharing, custom configurations
74
- - **🔗 Dependencies** (12 tools): Relationships, graphs, conflict detection, critical path
75
- - **🎯 Goals** (12 tools): All goal types, targets, progress tracking, analytics
76
- - **🔔 Webhooks** (11 tools): Real-time processing, HMAC validation, event history
77
- - **⏱️ Time Tracking** (10 tools): Entries, timers, analytics, team tracking
78
- - **💬 Chat & Communication** (24 tools): Enhanced chat discovery and messaging
79
-
80
- ## 🚀 Efficiency Examples
81
-
82
- ### Smart Chat Discovery (60% faster)
83
-
84
- Instead of hierarchical navigation:
85
- ```typescript
86
- // ❌ OLD WAY (4+ API calls)
87
- clickup_get_workspaces() → clickup_get_spaces() → clickup_get_views() → filter for chat
88
-
89
- // ✅ NEW WAY (1 API call)
90
- clickup_find_chat_channels({ channel_name: "development" })
91
- ```
92
-
93
- ### Workflow Analysis
94
- ```typescript
95
- clickup_analyze_workflow_efficiency({
96
- goal: "Post message to team chat",
97
- planned_tools: ["clickup_get_workspaces", "clickup_get_spaces", "clickup_get_views"],
98
- time_constraint: "urgent"
99
- })
100
- // Returns: Optimized workflow with 55% efficiency gain
101
- ```
102
-
103
- ### Real-time Webhook Processing
104
- ```typescript
105
- // Process ClickUp webhooks with HMAC validation
106
- clickup_process_webhook({
107
- payload: webhookData,
108
- validate_signature: true,
109
- signature: request.headers['x-signature'],
110
- secret: process.env.WEBHOOK_SECRET
111
- })
112
- // Returns: Structured event data with relationships and changes
113
- ```
114
-
115
- ## 📝 Markdown Examples
116
-
117
- ### Creating a Task with Rich Description
118
-
119
- ```typescript
120
- // Task with markdown description using clickup_create_task
121
- {
122
- "list_id": "123456789",
123
- "name": "Project Documentation",
124
- "description": `# Project Overview
125
-
126
- This project implements **advanced features** for our application.
127
-
128
- ## Key Components
129
-
130
- 1. **Authentication System**
131
- - JWT token management
132
- - Role-based access control
133
-
134
- 2. **API Integration**
135
- - RESTful endpoints
136
- - Real-time updates
137
-
138
- ## Code Example
139
-
140
- \`\`\`typescript
141
- interface User {
142
- id: string;
143
- name: string;
144
- role: 'admin' | 'user';
145
- }
146
- \`\`\`
147
-
148
- ## Next Steps
149
-
150
- - [x] Set up project structure
151
- - [ ] Complete authentication module
152
- - [ ] Implement API endpoints
153
-
154
- > **Note**: This is a high-priority project.`
155
- }
156
- ```
157
-
158
- ### Adding a Formatted Comment
159
-
160
- ```typescript
161
- // Comment with markdown formatting using clickup_create_task_comment
162
- {
163
- "task_id": "868f9p3bg",
164
- "comment_text": `## Status Update ✅
165
-
166
- ### Completed
167
- - Authentication system implementation
168
- - Database schema design
169
-
170
- ### In Progress
171
- - **API Integration**: Currently working on REST endpoints
172
-
173
- ### Code Changes
174
- \`\`\`diff
175
- + Added user authentication middleware
176
- + Implemented JWT token validation
177
- - Removed deprecated login method
178
- \`\`\`
179
-
180
- **Estimated Completion**: End of week`
181
- }
182
- ```
183
-
184
- ## 🚀 Easy Installation
185
-
186
- ### Option 1: One-Click Installer (Recommended)
187
-
188
- Download and run the automated installer:
189
-
190
- ```bash
191
- curl -O https://raw.githubusercontent.com/Chykalophia/ClickUp-MCP-Server---Enhanced/main/clickup-installer.js
192
- node clickup-installer.js
193
- ```
194
-
195
- Or via NPX:
196
- ```bash
197
- npx clickup-mcp-installer
198
- ```
199
-
200
- ### Option 2: Web Configurator
201
-
202
- Visit the web-based configurator for visual setup:
203
- [ClickUp MCP Configurator](https://chykalophia.github.io/ClickUp-MCP-Server---Enhanced/configurator.html)
204
-
205
- 1. Select your preferred version
206
- 2. Enter your ClickUp API token
207
- 3. Download the generated config file
208
- 4. Place it in your Claude Desktop config directory
209
-
210
- ### Option 3: NPM Package (Manual Setup)
211
-
212
- Use the published npm package - no build required:
213
-
214
- ```
215
- @chykalophia/clickup-mcp-server
216
- ```
217
-
218
- ### Option 4: Build from Source
219
-
220
- For development or customization:
221
-
222
- ```bash
223
- git clone https://github.com/Chykalophia/ClickUp-MCP-Server---Enhanced.git
224
- cd ClickUp-MCP-Server---Enhanced
225
- npm install
226
- npm run build
227
- ```
228
-
229
- ## Get ClickUp API Token
230
-
231
- 1. Log in to ClickUp account
232
- 2. Go to Settings > Apps
233
- 3. Click "Generate API Token"
234
- 4. Copy the token
235
-
236
- ## Configuration
237
-
238
- Add to the MCP settings file:
239
-
240
- ### 🚀 Quick Setup Configuration
241
-
242
- #### NPM Package (Recommended) ⭐
243
- ```json
244
- {
245
- "mcpServers": {
246
- "clickup": {
247
- "command": "npx",
248
- "args": ["-y", "@chykalophia/clickup-mcp-server"],
249
- "env": {
250
- "CLICKUP_API_TOKEN": "YOUR_API_TOKEN_HERE"
251
- }
252
- }
253
- }
254
- }
255
- ```
256
-
257
- ### 🔧 Build from Source (Advanced Users)
258
-
259
- If you prefer to build from source:
260
-
261
- #### Standard Version
262
- ```json
263
- {
264
- "mcpServers": {
265
- "clickup": {
266
- "command": "node",
267
- "args": ["/path/to/clickup-mcp-server/build/index-enhanced.js"],
268
- "env": {
269
- "CLICKUP_API_TOKEN": "YOUR_API_TOKEN_HERE"
270
- },
271
- "disabled": false,
272
- "autoApprove": []
273
- }
274
- }
275
- }
276
- ```
277
-
278
- #### Enhanced Efficiency Version ⭐
279
- ```json
280
- {
281
- "mcpServers": {
282
- "clickup": {
283
- "command": "node",
284
- "args": ["/path/to/clickup-mcp-server/build/index-efficiency-simple.js"],
285
- "env": {
286
- "CLICKUP_API_TOKEN": "YOUR_API_TOKEN_HERE"
287
- },
288
- "disabled": false,
289
- "autoApprove": []
290
- }
291
- }
292
- }
293
- ```
294
-
295
- ### 📝 Configuration Notes
296
-
297
- * **Replace `YOUR_API_TOKEN_HERE`** with your actual ClickUp API token
298
- * **NPM method** requires no installation or cloning - the package is downloaded automatically
299
- * **Build from source** requires cloning this repository and running `npm run build`
300
-
301
- ## Configuration File Locations
302
-
303
- - Cline VSCode Extension: `~/.vscode/extensions/saoudrizwan.claude-dev/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json`
304
- - Claude Desktop Apps:
305
- - macOS: `~/Library/Application Support/Claude/claude_desktop_config.json`
306
- - Windows: `%APPDATA%\Claude\claude_desktop_config.json`
307
-
308
- ## Examples
309
-
310
- See the [`examples/`](examples/) folder for:
311
- - Basic MCP client usage
312
- - Tool integration patterns
313
- - Authentication setup
314
- - Advanced workflows
315
-
316
- Run examples with: `node examples/basic-usage.js`
317
-
318
- ## 🔒 Security Features
319
-
320
- ### Production-Grade Security
321
- - **Input Validation**: XSS and injection prevention with comprehensive sanitization
322
- - **API Token Security**: Format validation, secure storage, character validation
323
- - **Rate Limiting**: Sliding window implementation (1000 API, 100 webhook, 10 upload/min)
324
- - **HMAC Validation**: Timing-safe webhook signature verification
325
- - **File Security**: Path traversal prevention, dangerous file blocking, 100MB size limits
326
- - **URL Validation**: SSRF prevention, private IP blocking, protocol validation
327
- - **Error Handling**: Secure responses without information leakage
328
-
329
- ### Security Testing
330
- - **85+ Test Cases** covering all security scenarios
331
- - **Zero Vulnerabilities** in dependency audit
332
- - **Comprehensive Integration Tests** for real-world validation
333
- - **Security Headers** implementation for HTTP protection
334
-
335
- ## 📝 Markdown Support
336
-
337
- ### GitHub Flavored Markdown Features
338
- - **Headers**: `# H1` through `###### H6`
339
- - **Text Formatting**: `**bold**`, `*italic*`, `~~strikethrough~~`
340
- - **Code**: `inline code` and fenced blocks with syntax highlighting
341
- - **Lists**: Ordered, unordered, and task lists with `- [ ]` checkboxes
342
- - **Links & Images**: `[text](url)` and `![alt](image-url)`
343
- - **Tables**: Full table support with alignment
344
- - **Blockquotes**: `> quoted text` and nested quotes
345
-
346
- ### Smart Processing
347
- - **Auto-Detection**: Identifies markdown, HTML, or plain text content
348
- - **Bidirectional Conversion**: Seamless markdown ↔ HTML ↔ plain text
349
- - **ClickUp Optimization**: Prepares content in format ClickUp expects
350
- - **Response Processing**: Converts ClickUp responses to readable markdown
351
-
352
- ## 🔔 Webhook Processing
353
-
354
- ### Real-time Integration
355
- - **Event Processing**: Handle all ClickUp events (tasks, comments, goals, etc.)
356
- - **HMAC Validation**: Secure signature verification with timing-safe comparison
357
- - **Event Analysis**: Extract relationships, changes, and context from payloads
358
- - **Monitoring**: Event history, statistics, and retry mechanisms
359
-
360
- ### Supported Events
361
- - **Task Events**: Created, updated, deleted, status changed, assigned
362
- - **Comment Events**: Posted, updated, threaded discussions
363
- - **Time Events**: Time tracked, timer started/stopped
364
- - **Goal Events**: Created, updated, target progress
365
- - **Workspace Events**: Lists, folders, spaces created/updated/deleted
366
-
367
- ## Development
368
-
369
- ### Environment Requirements
370
- - **Node.js**: Version 18.x or higher
371
- - **Package Manager**: npm or yarn
372
- - **IDE**: VSCode recommended with TypeScript support
373
-
374
- ### Setup
375
-
376
- ```bash
377
- # Clone and install
378
- git clone https://github.com/Chykalophia/ClickUp-MCP-Server---Enhanced.git
379
- cd ClickUp-MCP-Server---Enhanced
380
- npm install
381
-
382
- # Environment configuration
383
- cp .env.example .env
384
- # Edit .env with your CLICKUP_API_TOKEN
385
- ```
386
-
387
- ### Building
388
-
389
- ```bash
390
- npm run build
391
- ```
392
-
393
- ### Running Tests
394
-
395
- ```bash
396
- npm test
397
- ```
398
-
399
- ### Testing Markdown Features
400
-
401
- ```bash
402
- # Test markdown functionality specifically
403
- npm test -- --testPathPattern=markdown
404
-
405
- # Run all tests with coverage
406
- npm run test:coverage
407
- ```
408
-
409
- ## Release Procedure
410
-
411
- ### Pre-release Checklist
412
- 1. Ensure all changes are committed and pushed
413
- 2. Verify all tests pass: `npm test`
414
- 3. Check build process works: `npm run build`
415
- 4. Update CHANGELOG.md with new version details
416
-
417
- ### Version Update Process
418
-
419
- 1. **Update package.json version** following semantic versioning:
420
- - MAJOR: Incompatible API changes
421
- - MINOR: New functionality (backward compatible)
422
- - PATCH: Bug fixes (backward compatible)
423
-
424
- 2. **Update CHANGELOG.md**:
425
- ```markdown
426
- ## [1.12.0] - 2025-04-14
427
- ### Added
428
- - New feature descriptions
429
- ### Changed
430
- - Modified functionality
431
- ### Fixed
432
- - Bug fixes
433
- ```
434
-
435
- ### Release Steps
436
-
437
- 1. **Build and Test**:
438
- ```bash
439
- npm run build
440
- npm test
441
- ```
442
-
443
- 2. **Create Git Tag**:
444
- ```bash
445
- git tag -a v1.12.0 -m "Release v1.12.0: Brief description"
446
- git push --tags
447
- ```
448
-
449
- 3. **Publish to NPM**:
450
- ```bash
451
- npm publish --access public
452
- ```
453
-
454
- 4. **Create GitHub Release**:
455
- ```bash
456
- gh release create v1.12.0 --title "v1.12.0" --notes "Release notes from CHANGELOG.md"
457
- ```
458
-
459
- ### Post-release Verification
460
- - Check npm package: https://www.npmjs.com/package/@chykalophia/clickup-mcp-server
461
- - Verify GitHub release: https://github.com/Chykalophia/ClickUp-MCP-Server---Enhanced/releases
462
- - Test installation: `npm install @chykalophia/clickup-mcp-server@latest`
463
-
464
- ## 🔧 Technical Architecture
465
-
466
- ### Enhanced Client System
467
- - **Base Client**: Secure ClickUp API client with axios integration
468
- - **Specialized Clients**: 9 enhanced clients for different feature areas
469
- - **Type Safety**: Comprehensive TypeScript schemas with Zod validation
470
- - **Error Handling**: Structured error responses with user-friendly messages
471
-
472
- ### Performance & Scalability
473
- - **Efficient Operations**: Bulk operations for multiple items in single requests
474
- - **Pagination Support**: Handle large datasets efficiently
475
- - **Memory Management**: Automatic cleanup and optimization
476
- - **Caching Strategy**: Optimized API usage patterns
477
-
478
- ### Testing Framework
479
- - **Security Tests**: 47 test cases covering all attack vectors
480
- - **Integration Tests**: 15 test cases for end-to-end validation
481
- - **Error Handling Tests**: 23 test cases for robust error processing
482
- - **Total Coverage**: 85+ test cases with 80%+ code coverage
483
-
484
- ## License
485
-
486
- MIT
487
-
488
- ## 🎯 Production Readiness
489
-
490
- ### Quality Assurance
491
- - **Security Level**: HIGH - Production approved with zero vulnerabilities
492
- - **Code Quality**: TypeScript strict mode, comprehensive validation
493
- - **Test Coverage**: Security-focused testing with 85+ test cases
494
- - **Documentation**: Complete guides with security audit and examples
495
-
496
- ### Deployment Features
497
- - **Health Checks**: Built-in monitoring endpoints
498
- - **Environment Validation**: Secure configuration verification
499
- - **Logging & Monitoring**: Structured logging with security event tracking
500
- - **Error Recovery**: Automatic retry mechanisms and conflict resolution
501
-
502
- ### Performance Metrics
503
- - **API Call Reduction**: 50-70% fewer calls for common workflows
504
- - **Execution Speed**: 40-60% faster completion times
505
- - **Memory Efficiency**: <1% security overhead, optimized resource usage
506
- - **Scalability**: Supports high concurrency with efficient batch processing
507
-
508
- ---
509
-
510
- **Status**: ✅ **PRODUCTION READY** - Comprehensive ClickUp integration with AI-powered efficiency, production-grade security, and complete API coverage. Ready for immediate deployment and enterprise use.