cwtools-mcp 0.4.0 → 0.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.
@@ -77,7 +77,7 @@ function listResources(host) {
77
77
  {
78
78
  uri: 'cwtools://project/knowledge-manifest',
79
79
  name: 'CWTools project knowledge manifest',
80
- description: 'Freshness, domains, counts, and fingerprints for the /init-generated semantic knowledge pack.',
80
+ description: 'Freshness, domains, counts, and fingerprints for the initialize_project semantic knowledge pack.',
81
81
  mimeType: 'application/json',
82
82
  },
83
83
  {
@@ -230,7 +230,7 @@ async function readResourceData(host, uri) {
230
230
  : {
231
231
  status: 'missing',
232
232
  profilePath,
233
- _hint: 'Run /init in the VS Code extension or create .cwtools/project/profile.json.',
233
+ _hint: 'Call initialize_project to generate the profile, then read this resource again.',
234
234
  };
235
235
  }
236
236
  case 'cwtools://project/knowledge-manifest': {
@@ -241,7 +241,7 @@ async function readResourceData(host, uri) {
241
241
  : {
242
242
  status: 'missing',
243
243
  manifestPath,
244
- _hint: 'Run /init in the VS Code extension and wait for the deep semantic phase.',
244
+ _hint: 'Call initialize_project and wait for the knowledge export to complete.',
245
245
  };
246
246
  }
247
247
  case 'cwtools://skills/catalog': {
@@ -1,5 +1,2 @@
1
- import { type McpToolSchema } from 'cwtools-shared';
2
- export declare function listRegisteredTools(options?: {
3
- includeWrites?: boolean;
4
- cwtOnly?: boolean;
5
- }): McpToolSchema[];
1
+ import { type McpToolSchema, type ToolSurfaceOptions } from 'cwtools-shared';
2
+ export declare function listRegisteredTools(options?: ToolSurfaceOptions): McpToolSchema[];
package/dist/server.js CHANGED
@@ -54,6 +54,7 @@ function listServerTools(host) {
54
54
  return (0, toolRegistrar_1.listRegisteredTools)({
55
55
  includeWrites: host.writesEnabled === true && host.readonlyMode === false,
56
56
  cwtOnly: host.projectKind === 'cwt-only',
57
+ capabilities: host.capabilities,
57
58
  });
58
59
  }
59
60
  function createCwtoolsMcpServer(host, options = {}) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cwtools-mcp",
3
- "version": "0.4.0",
3
+ "version": "0.5.1",
4
4
  "description": "MCP server exposing CWTools semantic tools and default-on whitelisted domain writes",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -36,8 +36,8 @@
36
36
  },
37
37
  "dependencies": {
38
38
  "@modelcontextprotocol/sdk": "^1.29.0",
39
- "cwtools-node": "0.2.0",
40
- "cwtools-shared": "0.3.0"
39
+ "cwtools-node": "0.3.1",
40
+ "cwtools-shared": "0.5.0"
41
41
  },
42
42
  "devDependencies": {
43
43
  "esbuild": "^0.28.1"