@axonity-ai/mcp 0.3.2 → 0.3.3

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 (2) hide show
  1. package/README.md +28 -0
  2. package/package.json +3 -2
package/README.md CHANGED
@@ -220,3 +220,31 @@ npm run typecheck
220
220
  npm test
221
221
  npm run build # emits dist/
222
222
  ```
223
+
224
+ ## Releasing
225
+
226
+ Publishing runs from a maintainer's machine, not from CI. npm restricts tokens
227
+ that bypass 2FA for direct publishing, so a stored `NPM_TOKEN` cannot ship this
228
+ package; `npm login` is the supported path.
229
+
230
+ Run `npm login` in a real terminal — it prints a URL and waits for you to finish
231
+ in the browser, so it needs a session that stays attached (an editor's 2-minute
232
+ command timeout will kill it mid-flow).
233
+
234
+ ```bash
235
+ npm login # browser flow; must complete in an attached terminal
236
+ npm whoami # confirm the account
237
+
238
+ git checkout main && git pull
239
+ npm version <x.y.z> -m "%s" # commits + tags, so the tag matches the tarball
240
+ git push origin main --follow-tags
241
+ npm publish # prepublishOnly builds dist/ fresh
242
+ npm view @axonity-ai/mcp version # confirm
243
+ ```
244
+
245
+ Then cut a GitHub release for the tag. That triggers `Verify release`, which
246
+ rebuilds and packs the tagged commit without publishing — it catches a tag that
247
+ was cut from a state CI cannot install.
248
+
249
+ Keep npm 11 locally: Node 20 bundles npm 10, whose resolver writes an
250
+ incompatible lockfile tree. CI pins npm 11 for the same reason.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axonity-ai/mcp",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "Model Context Protocol server for Axonity Flow — lets an external agent (e.g. Claude Code) read, draft, and update workflows, agents and tools in an Axonity tenant.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -20,7 +20,8 @@
20
20
  ],
21
21
  "type": "module",
22
22
  "bin": {
23
- "axonity-mcp": "dist/index.js"
23
+ "axonity-mcp": "dist/index.js",
24
+ "mcp": "dist/index.js"
24
25
  },
25
26
  "files": [
26
27
  "dist"