@taazkareem/clickup-mcp-server 0.4.43 → 0.4.45
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/build/index.js +20 -17
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -12,28 +12,31 @@ console.log('Config loaded:', {
|
|
|
12
12
|
clickupApiKey: config.clickupApiKey ? '***' : 'missing',
|
|
13
13
|
teamId: config.teamId || 'missing'
|
|
14
14
|
});
|
|
15
|
-
//
|
|
16
|
-
let clickup;
|
|
17
|
-
try {
|
|
18
|
-
console.log('Initializing ClickUp service...');
|
|
19
|
-
clickup = ClickUpService.initialize(config.clickupApiKey);
|
|
20
|
-
console.log('ClickUp service initialized successfully');
|
|
21
|
-
}
|
|
22
|
-
catch (error) {
|
|
23
|
-
console.error("Failed to initialize ClickUp service:", error);
|
|
24
|
-
process.exit(1);
|
|
25
|
-
}
|
|
26
|
-
console.log('Creating MCP server...');
|
|
15
|
+
// Create and configure the server
|
|
27
16
|
const server = new Server({
|
|
28
17
|
name: "clickup",
|
|
29
18
|
version: "0.1.0",
|
|
30
|
-
|
|
19
|
+
description: "ClickUp MCP Server",
|
|
31
20
|
capabilities: {
|
|
32
|
-
resources: {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
21
|
+
resources: {
|
|
22
|
+
schemes: ["clickup"],
|
|
23
|
+
canList: true,
|
|
24
|
+
canRead: true
|
|
25
|
+
},
|
|
26
|
+
tools: {
|
|
27
|
+
canList: true,
|
|
28
|
+
canExecute: true
|
|
29
|
+
},
|
|
30
|
+
prompts: {
|
|
31
|
+
canList: true,
|
|
32
|
+
canExecute: true
|
|
33
|
+
}
|
|
34
|
+
}
|
|
36
35
|
});
|
|
36
|
+
// Initialize ClickUp service
|
|
37
|
+
console.log('Initializing ClickUp service...');
|
|
38
|
+
const clickup = ClickUpService.initialize(config.clickupApiKey);
|
|
39
|
+
console.log('Creating MCP server...');
|
|
37
40
|
console.log('MCP server created');
|
|
38
41
|
/**
|
|
39
42
|
* Handler for listing available ClickUp tasks as resources.
|
package/package.json
CHANGED