mcp-zenskar 1.2.0 → 1.3.0

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/README.md CHANGED
@@ -279,6 +279,9 @@ cd mcp-zenskar
279
279
  # Install dependencies
280
280
  npm install
281
281
 
282
+ # Build the bundle (produces dist/server.mjs + dist/mcp-config.json)
283
+ npm run build
284
+
282
285
  # Run the server
283
286
  npm start
284
287
  ```
@@ -288,19 +291,20 @@ npm start
288
291
  If you want Claude Desktop to use a local checkout instead of the npm package:
289
292
 
290
293
  ```bash
291
- # Install dependencies once
294
+ # Install dependencies + build the bundle
292
295
  npm install
296
+ npm run build
293
297
 
294
- # Optional: install the local build globally
298
+ # Optional: install the local build globally (requires dist/ from the previous step)
295
299
  npm install -g .
296
300
  ```
297
301
 
298
- Then either point Claude to the globally-installed binary (usually `$(npm bin -g)/mcp-zenskar`) or call the repo copy directly:
302
+ Then either point Claude to the globally-installed binary (usually `$(npm bin -g)/mcp-zenskar`) or call the built bundle directly:
299
303
 
300
304
  ```json
301
305
  {
302
306
  "command": "node",
303
- "args": ["/absolute/path/to/mcp-zenskar/src/server.js"],
307
+ "args": ["/absolute/path/to/mcp-zenskar/dist/server.mjs"],
304
308
  "env": {
305
309
  "ZENSKAR_ORGANIZATION": "your-org-id",
306
310
  "ZENSKAR_AUTH_TOKEN": "your-token"
@@ -308,6 +312,15 @@ Then either point Claude to the globally-installed binary (usually `$(npm bin -g
308
312
  }
309
313
  ```
310
314
 
315
+ To iterate on `src/server.js` without rebuilding, run it directly — `npm install` already installs the bundler's devDependencies which include the runtime libs:
316
+
317
+ ```json
318
+ {
319
+ "command": "node",
320
+ "args": ["/absolute/path/to/mcp-zenskar/src/server.js"]
321
+ }
322
+ ```
323
+
311
324
  ## Configuration
312
325
 
313
326
  The server uses `src/mcp-config.json` to define available tools and API endpoints. This file contains the complete mapping of MCP tools to Zenskar API operations. All tools are declarative — no code changes needed to add new tools.