@axonity-ai/mcp 0.5.0 → 0.6.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
@@ -157,6 +157,15 @@ workflow and really executes), `cancel_run`, `delete_run`, `list_runs`,
157
157
  `bulk_delete_runs`. There is no findings endpoint — evaluation means reading a
158
158
  run's validator verdicts and its trace.
159
159
 
160
+ `list_workflow_runs({ workflowId, archivedOnly?, limit?, cursor? })` returns one
161
+ **page** — `{ items, nextCursor, pageSize, hasMore }`, 20 by default and 200 at
162
+ most — so follow `nextCursor` while `hasMore` is true rather than treating the
163
+ first page as the answer. It also lists **launches**, not runs: the per-item runs
164
+ a FOR EACH creates stay inside their launch, so a launch over 4,415 people is one
165
+ entry carrying `forEachProgress`. `list_runs` is the tenant-wide list and is
166
+ *not* paged this way — it answers with a bare array, capped at 200, walked with
167
+ `offset`.
168
+
160
169
  ### Approvals
161
170
 
162
171
  `list_publish_approvals({ status?, limit?, offset? })` and
@@ -162,6 +162,14 @@ has run cleanly once, at its current version.
162
162
  (\`read_run\` / \`read_run_trace\` / \`read_run_cost\`). Note it runs the PUBLISHED
163
163
  workflow and really executes (cost, connector side effects), so publish first,
164
164
  and only test-run when a human is expecting it.
165
+ - A LIST is not the whole list. \`list_workflow_runs\` returns a page —
166
+ \`{ items, nextCursor, pageSize, hasMore }\`, 20 by default — so counting or
167
+ concluding from page one while \`hasMore\` is true is how you answer confidently
168
+ and wrongly. Follow \`nextCursor\` until it is null. Two further traps: that
169
+ route lists LAUNCHES (a 4,415-item FOR EACH is ONE entry carrying
170
+ \`forEachProgress\`, so rows are not runs), and the offset-style lists
171
+ (\`list_runs\`, \`list_publish_approvals\`) cap silently — a full page means
172
+ there may be more, and nothing in the response says so.
165
173
 
166
174
  ## Delete is recoverable — but not everything is
167
175
  - \`delete_*\` soft-deletes: the entity disappears from \`list_*\` but is not gone.
@@ -1 +1 @@
1
- {"version":3,"file":"conventions.js","sourceRoot":"","sources":["../../src/tools/conventions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,MAAM,WAAW,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8cnB,CAAC;AAEF,MAAM,UAAU,mBAAmB,CAAC,MAAiB;IACnD,MAAM,CAAC,IAAI,CACT,qBAAqB,EACrB,2EAA2E;QACzE,2EAA2E;QAC3E,2EAA2E;QAC3E,4EAA4E;QAC5E,uEAAuE;QACvE,kBAAkB,EACpB,EAAE,EACF,KAAK,IAAI,EAAE,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAe,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC,EAAE,CAAC,CAC1E,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"conventions.js","sourceRoot":"","sources":["../../src/tools/conventions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,MAAM,WAAW,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsdnB,CAAC;AAEF,MAAM,UAAU,mBAAmB,CAAC,MAAiB;IACnD,MAAM,CAAC,IAAI,CACT,qBAAqB,EACrB,2EAA2E;QACzE,2EAA2E;QAC3E,2EAA2E;QAC3E,4EAA4E;QAC5E,uEAAuE;QACvE,kBAAkB,EACpB,EAAE,EACF,KAAK,IAAI,EAAE,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAe,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC,EAAE,CAAC,CAC1E,CAAC;AACJ,CAAC"}
@@ -47,7 +47,14 @@ export function registerRunTools(server, client) {
47
47
  }));
48
48
  server.tool("list_runs", "List workflow runs across the tenant, newest first. Archived runs are " +
49
49
  "excluded unless includeArchived is true. To list runs of ONE workflow, " +
50
- "use list_workflow_runs instead — this route has no workflow filter.", {
50
+ "use list_workflow_runs instead — this route has no workflow filter." +
51
+ "\n\nTHIS ONE IS NOT PAGED THE SAME WAY: it answers with a BARE ARRAY, " +
52
+ "no envelope, no total and no cursor. You get at most limit rows (default " +
53
+ "50, and a larger value is silently clamped to 200), so a result whose " +
54
+ "length equals the limit you asked for is the signal that MORE MAY EXIST " +
55
+ "— nothing in the response says so. Walk it with offset until you get a " +
56
+ "short page. Unlike list_workflow_runs, this route does list per-item " +
57
+ "FOR EACH runs alongside their launches.", {
51
58
  status: z
52
59
  .string()
53
60
  .optional()
@@ -55,8 +62,18 @@ export function registerRunTools(server, client) {
55
62
  createdAfter: z.string().optional().describe("ISO date lower bound."),
56
63
  createdBefore: z.string().optional().describe("ISO date upper bound."),
57
64
  includeArchived: z.boolean().optional().describe("Defaults to false."),
58
- limit: z.number().int().optional().describe("Default 50, capped at 200."),
59
- offset: z.number().int().optional().describe("Default 0."),
65
+ limit: z
66
+ .number()
67
+ .int()
68
+ .optional()
69
+ .describe("Rows to return. Defaults to 50, silently clamped to 200 — asking " +
70
+ "for more does not fail, it just returns 200."),
71
+ offset: z
72
+ .number()
73
+ .int()
74
+ .optional()
75
+ .describe("Rows to skip. Defaults to 0. Advance it by the page size to walk " +
76
+ "the whole list; stop when a page comes back short."),
60
77
  }, async ({ status, createdAfter, createdBefore, includeArchived, limit, offset }) => guard(async () => jsonResult(await client.get("/api/v1/runs", {
61
78
  status,
62
79
  created_after: createdAfter,
@@ -65,15 +82,49 @@ export function registerRunTools(server, client) {
65
82
  limit,
66
83
  offset,
67
84
  }))));
68
- server.tool("list_workflow_runs", "List the runs of one workflow. Note this route takes archivedOnly (show " +
69
- "ONLY archived runs), which is not the same as list_runs' includeArchived.", {
85
+ server.tool("list_workflow_runs", "List one workflow's LAUNCHES, newest first. Note this route takes " +
86
+ "archivedOnly (show ONLY archived launches), which is not the same as " +
87
+ "list_runs' includeArchived." +
88
+ "\n\nTHE RESPONSE IS ONE PAGE, NOT THE FULL LIST: " +
89
+ "{ items, nextCursor, pageSize, hasMore }. Default page size is 20, max " +
90
+ "200. While hasMore is true you have NOT seen every launch — pass the " +
91
+ "response's nextCursor back as cursor to get the next page, and repeat " +
92
+ "until nextCursor is null. Counting or concluding anything (\"how many " +
93
+ "failed?\") from a single page with hasMore: true gives a confidently " +
94
+ "wrong answer." +
95
+ "\n\nA LAUNCH IS NOT A RUN. A launch is what a person or a schedule " +
96
+ "started. The per-item runs a FOR EACH creates live INSIDE their launch " +
97
+ "and never appear here, so a launch over 4,415 people is exactly ONE " +
98
+ "entry — not 4,415. That entry carries forEachProgress " +
99
+ "({ total, pending, inProgress, succeeded, failed, … }), which is where " +
100
+ "per-item counts come from. Do not read the number of items on a page as " +
101
+ "a number of runs.", {
70
102
  workflowId: z.string().describe("The workflow's id."),
71
103
  archivedOnly: z
72
104
  .boolean()
73
105
  .optional()
74
- .describe("True to list only archived runs. Defaults to false."),
75
- }, async ({ workflowId, archivedOnly }) => guard(async () => jsonResult(await client.get(`/api/v1/workflows/${workflowId}/runs`, {
106
+ .describe("True to list only archived launches. Defaults to false."),
107
+ limit: z
108
+ .number()
109
+ .int()
110
+ .optional()
111
+ .describe("Page size. Defaults to 20, capped at 200 — a larger value is " +
112
+ "clamped, not rejected."),
113
+ cursor: z
114
+ .string()
115
+ .optional()
116
+ .describe("Opaque continuation token: pass back the previous response's " +
117
+ "nextCursor verbatim. Omit for the first page. It marks a POSITION, " +
118
+ "not an offset, so it stays correct while new runs are being " +
119
+ "inserted. A token you built or edited yourself is a 400."),
120
+ }, async ({ workflowId, archivedOnly, limit, cursor }) => guard(async () =>
121
+ // The page envelope is forwarded WHOLE. Unwrapping to items would drop
122
+ // hasMore/nextCursor and recreate, one layer up, exactly the silent
123
+ // truncation this tool exists to make visible (#37).
124
+ jsonResult(await client.get(`/api/v1/workflows/${workflowId}/runs`, {
76
125
  archived_only: archivedOnly,
126
+ limit,
127
+ cursor,
77
128
  }))));
78
129
  server.tool("read_run", "Read one run in full: status, per-step state, the workflow snapshot it " +
79
130
  "ran against, trigger input, agent invocations, and validator verdicts. " +
@@ -1 +1 @@
1
- {"version":3,"file":"runs.js","sourceRoot":"","sources":["../../src/tools/runs.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,aAA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AC,CAAC,MAAM,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,CAAC,yBAAyB,CAAC;KAChF,EACD,KAAK,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,CACnB,KAAK,CAAC,KAAK,IAAI,EAAE,CACf,UAAU,CAAC,MAAM,MAAM,CAAC,IAAI,CAAC,2BAA2B,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC,CACvE,CACJ,CAAC;IAEF,MAAM,CAAC,IAAI,CACT,kBAAkB,EAClB,0EAA0E;QACxE,yEAAyE;QACzE,6EAA6E;QAC7E,wEAAwE,EAC1E;QACE,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,CAAC,wBAAwB,CAAC;QAC9E,OAAO,EAAE,OAAO;KACjB,EACD,KAAK,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,CACnB,KAAK,CAAC,KAAK,IAAI,EAAE,CACf,UAAU,CAAC,MAAM,MAAM,CAAC,IAAI,CAAC,0BAA0B,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC,CACtE,CACJ,CAAC;AACJ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axonity-ai/mcp",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
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": {