@taazkareem/clickup-mcp-server 0.4.16 → 0.4.17
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 +8 -5
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -383,12 +383,15 @@ server.setRequestHandler(ReadResourceRequestSchema, async (request) => {
|
|
|
383
383
|
server.setRequestHandler(ListToolsRequestSchema, async () => {
|
|
384
384
|
console.log('Handling ListTools request');
|
|
385
385
|
const toolCapabilities = server.capabilities?.tools || {};
|
|
386
|
+
console.log('Tool capabilities:', JSON.stringify(toolCapabilities, null, 2));
|
|
387
|
+
const tools = Object.entries(toolCapabilities).map(([name, tool]) => ({
|
|
388
|
+
name,
|
|
389
|
+
description: tool.description,
|
|
390
|
+
inputSchema: tool.inputSchema
|
|
391
|
+
}));
|
|
392
|
+
console.log('Returning tools:', JSON.stringify(tools, null, 2));
|
|
386
393
|
return {
|
|
387
|
-
tools
|
|
388
|
-
name,
|
|
389
|
-
description: tool.description,
|
|
390
|
-
inputSchema: tool.inputSchema
|
|
391
|
-
}))
|
|
394
|
+
tools
|
|
392
395
|
};
|
|
393
396
|
});
|
|
394
397
|
/**
|
package/package.json
CHANGED