@mcp-abap-adt/compact 23.1.0 → 24.0.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
@@ -1,7 +1,7 @@
1
1
  # @mcp-abap-adt/compact
2
2
 
3
- The compact MCP server over **stdio** — the command that serves all 29, the four debugger tools, the
4
- leftover sessions, background runs and batch mode (`HandlerBatch`). The 17 that change nothing alone are
3
+ The compact MCP server over **stdio** — the command that serves all 28, the four debugger tools, the
4
+ leftover sessions, background runs and batch mode (`HandlerBatch`). The 16 that change nothing alone are
5
5
  [`@mcp-abap-adt/compact-ro`](https://www.npmjs.com/package/@mcp-abap-adt/compact-ro)
6
6
  (`mcp-abap-adt-compact-ro`): the binary fixes the tool set (19.0.0), there is no `--exposition`.
7
7
  Streamable HTTP is [`@mcp-abap-adt/compact-http`](https://www.npmjs.com/package/@mcp-abap-adt/compact-http)
@@ -18,15 +18,15 @@ Each `object_type` enum, and each tool's description, is the declared system typ
18
18
  members are those the system type's ADT type table serves (22.0.0) — on cloud the writes offer
19
19
  no `PROGRAM` and no `INCLUDE` — and a member outside them is refused naming the list, before
20
20
  anything is sent. On cloud a write handler's schema offers only the properties its cloud members
21
- take (23.0.0): `HandlerCreate` has no `program_name`, `program_type`, `application` or
22
- `include_name` there, for example.
21
+ take (23.0.0): `HandlerCreate` has no `program_name`, `application` or `include_name` there,
22
+ for example.
23
23
 
24
24
  It exists for a host that **cannot build a retrieval pipeline of its own** — a small
25
25
  context, no tool-RAG, no way to select tools per request — and must still drive ABAP
26
26
  through MCP reliably. A consumer that does select per request (cloud-llm-hub, for
27
27
  one) has no use for it and should take `@mcp-abap-adt/lib` instead.
28
28
 
29
- **The low set's analogue.** The low set left the full binaries in 19.0.0; its single-step operations are compact's: `HandlerCreate` (the create request alone — no validation, lock, write, check or activation; the object is created inactive with what the create carries; its schema lists only what the create sends; `UNIT_TEST` and `CDS_UNIT_TEST`, whose create is a chain, are refused — the full set serves `CreateUnitTest` and `CreateCdsUnitTest`), `HandlerLock`, `HandlerUpdate` with the `lock_handle` it answered (one request: the write alone, under your lock; `lock_handle` is required; for PACKAGE, DOMAIN, DATA_ELEMENT, FUNCTION_GROUP and TABLE_TYPE, and for INCLUDE with `part: 'metadata'`, `source_code` is the whole metadata document, sent as given — read it with `HandlerGet` part `metadata`, change it, pass all of it back; `part` is taken by INCLUDE alone, `source` when absent; for SERVICE_BINDING the write is its publication request), `HandlerUnlock`, `HandlerDeletionCheck` (the one deletion check, SAP's verdict as it came), `HandlerDelete` (one request: the deletion request alone, with no lock held on the object; a class include and `UNIT_TEST` are written empty by one `PUT` under your class lock's `lock_handle`), `HandlerCheckRun`, `HandlerValidate`, `HandlerActivate` (one request: one object of a type the per-object activation maps answers its verdict; every other call starts an activation run and answers `{ run_id }`), and `HandlerGet` — one request per part: `source` the source alone, `metadata` the metadata document alone (PACKAGE, DOMAIN, DATA_ELEMENT, FUNCTION_GROUP and TABLE_TYPE have only `metadata`; a function module is named `GROUP|MODULE` or with `function_group_name`), and `object_structure` / `node_structure` / `virtual_folders` (a package's blank node structure is the empty listing with `blank`: an empty package, or no package of that name), and `activation_status` / `activation_results` (an activation run by its `run_id`: its status, then its messages — asking again until the status settles is yours), and `object_type` `UNIT_TEST` / `CDS_UNIT_TEST` (a unit-test run's result by its `run_id`, one request, as `HandlerUnitTestResult` / `HandlerCdsUnitTestResult` read it; the status is `HandlerUnitTestStatus` / `HandlerCdsUnitTestStatus`, asked until it says `FINISHED`). `HandlerDumpList` reads one page per call (`top` 1 to 100, `to`): its `next_to` is the `to` of SAP's next link, and following it is yours; that page starts at the boundary second, inclusive, so match entries by `dump_id`. **Keeping a lock from `HandlerLock` short is your job:** the server releases nothing on its own clock — unlock as soon as the write is done. The tool-by-tool table: [MIGRATION-19.0](https://github.com/fr0ster/mcp-abap-adt/blob/main/docs/MIGRATION-19.0.md#the-low-set-leaves-the-full-binaries).
29
+ **The low set's analogue.** The low set left the full binaries in 19.0.0; its single-step operations are compact's: `HandlerCreate` (the create request alone — no validation, lock, write, check or activation; the object is created inactive with what the create carries; its schema lists only what the create sends; `UNIT_TEST` and `CDS_UNIT_TEST`, whose create is a chain, are refused — the full set serves `CreateUnitTest` and `CreateCdsUnitTest`), `HandlerLock`, `HandlerUpdate` with the `lock_handle` it answered (one request: the write alone, under your lock; `lock_handle` is required; for PACKAGE, DOMAIN, DATA_ELEMENT, FUNCTION_GROUP and TABLE_TYPE, and for INCLUDE with `part: 'metadata'`, `source_code` is the whole metadata document, sent as given — read it with `HandlerGet` part `metadata`, change it, pass all of it back; `part` is taken by INCLUDE alone, `source` when absent; for SERVICE_BINDING the write is its publication request), `HandlerUnlock`, `HandlerDeletionCheck` (the one deletion check, SAP's verdict as it came), `HandlerDelete` (one request: the deletion request alone, with no lock held on the object; a class include and `UNIT_TEST` are written empty by one `PUT` under your class lock's `lock_handle`), `HandlerCheckRun`, `HandlerValidate`, `HandlerActivate` (one request: one object of a type the per-object activation maps answers its verdict; every other call starts an activation run and answers `{ run_id }`; on a system whose discovery offers no activation runs (SAP_BASIS 751, 7.40) that call answers SAP's refusal, and a group activation there is `ActivateObjects` of the full set or `ActivateObjectLow` of the low handlers group), and `HandlerGet` — one request per part: `source` the source alone, `metadata` the metadata document alone (PACKAGE, DOMAIN, DATA_ELEMENT, FUNCTION_GROUP and TABLE_TYPE have only `metadata`; a function module is named `GROUP|MODULE` or with `function_group_name`), and `object_structure` / `node_structure` / `virtual_folders` (a package's blank node structure is the empty listing with `blank`: an empty package, or no package of that name), and `activation_status` / `activation_results` (an activation run by its `run_id`: its status, then its messages — asking again until the status settles is yours), and `object_type` `UNIT_TEST` / `CDS_UNIT_TEST` (a unit-test run's result by its `run_id`, one request, as `HandlerUnitTestResult` / `HandlerCdsUnitTestResult` read it; the status is `HandlerUnitTestStatus` / `HandlerCdsUnitTestStatus`, asked until it says `FINISHED`). `HandlerDumpList` reads one page per call (`top` 1 to 100, `to`): its `next_to` is the `to` of SAP's next link, and following it is yours; that page starts at the boundary second, inclusive, so match entries by `dump_id`. **Keeping a lock from `HandlerLock` short is your job:** the server releases nothing on its own clock — unlock as soon as the write is done. The tool-by-tool table: [MIGRATION-19.0](https://github.com/fr0ster/mcp-abap-adt/blob/main/docs/MIGRATION-19.0.md#the-low-set-leaves-the-full-binaries).
30
30
 
31
31
  **Batch mode: `HandlerBatch`.** Every compact binary, `-ro` ones included, on every transport,
32
32
  serves batch mode as one tool: `action: 'begin'` switches the server into batch mode, every call
@@ -73,29 +73,28 @@ smaller install, and it is not a sandbox — code that deliberately reaches into
73
73
 
74
74
  ```bash
75
75
  npm install -g @mcp-abap-adt/compact
76
- mcp-abap-adt-compact --system-type=<onprem|cloud> # stdio: all 29, the debugger tools, leftover sessions, background runs
76
+ mcp-abap-adt-compact --system-type=<onprem|cloud> # stdio: all 28, the debugger tools, leftover sessions, background runs
77
77
  mcp-abap-adt-compact --version
78
78
 
79
79
  npm install -g @mcp-abap-adt/compact-ro
80
- mcp-abap-adt-compact-ro --system-type=<onprem|cloud> # the 17 that change nothing, the leftover-session list and logoff
80
+ mcp-abap-adt-compact-ro --system-type=<onprem|cloud> # the 16 that change nothing, the leftover-session list
81
81
  ```
82
82
 
83
- **The binary fixes the tool set.** `mcp-abap-adt-compact` serves all 29 tools (every access, which
83
+ **The binary fixes the tool set.** `mcp-abap-adt-compact` serves all 28 tools (every access, which
84
84
  is what a local server gives), the four debugger tools, the debugger batch (`HandlerDebugBatch`),
85
- the leftover-session list and logoff, the background-run tools and `HandlerBatch` — 40. `mcp-abap-adt-compact-ro` serves the 17 tools that change nothing — the reads, searches,
85
+ the leftover-session list and logoff, the background-run tools and `HandlerBatch` — 38; `HandlerGetData`, one of the 28, only with `--enable-data-tools` (39). `mcp-abap-adt-compact-ro` serves the 16 tools that change nothing — the reads, searches,
86
86
  where-used, checks and validations, the unit-test status and result reads, the profiler list and
87
- view, the dump list and view, the service-binding type list — with `HandlerBatch` and the
88
- leftover-session list and logoff — 20; its tool list is exactly these, so a client calls only them. `--exposition`
87
+ view, the dump list and view, the service-binding type list — with the background-run tools, `HandlerBatch` and the
88
+ leftover-session list — 20, `HandlerGetData` (one of the 16) only with `--enable-data-tools` (21); its tool list is exactly these, so a client calls only them. `--exposition`
89
89
  (`ro`, `rw`, `debug`, any word) and a config file's `exposition` stop the start with a sentence
90
90
  naming the binary to install instead, e.g. *--exposition is gone (19.0.0): the binary fixes its tool
91
91
  set, so remove it; the compact tools that change nothing are served by `mcp-abap-adt-compact-ro`
92
92
  (`@mcp-abap-adt/compact-ro`)*.
93
93
 
94
- **Leftover sessions, in both.** `HandlerLeftoverSessionList` and
95
- `HandlerLeftoverSessionLogoff` are served by `mcp-abap-adt-compact` and `mcp-abap-adt-compact-ro`
96
- alike (a logoff is a system action, not a data change) — the SAP sessions a killed
97
- server process left open (and the locks in them), listed or logged off by the user, only
98
- the caller's own; no tool resumes one: a stdio server takes up the one leftover session of its
94
+ **Leftover sessions.** `HandlerLeftoverSessionList` is served by `mcp-abap-adt-compact` and
95
+ `mcp-abap-adt-compact-ro`; `HandlerLeftoverSessionLogoff` by `mcp-abap-adt-compact` alone (a logoff
96
+ releases every lock a session holds) — the SAP sessions a killed server process left open (and
97
+ the locks in them), listed or logged off by the user, only the caller's own; no tool resumes one: a stdio server takes up the one leftover session of its
99
98
  destination at its start:
100
99
  [Leftover SAP sessions](https://github.com/fr0ster/mcp-abap-adt/blob/main/docs/user-guide/README.md#leftover-sap-sessions-of-a-killed-process). They are stdio's: `-compact-http` and `-compact-sse`
101
100
  (and their `-ro`) serve none and write no session file, since one such server holds the sessions of
package/dist/index.d.ts CHANGED
@@ -1,11 +1,11 @@
1
1
  /**
2
2
  * @mcp-abap-adt/compact — the compact ABAP ADT server over stdio, and its command.
3
3
  *
4
- * 29 tools instead of 370: one per operation, with the object in `object_type`. For
4
+ * 28 tools instead of 370: one per operation, with the object in `object_type`. For
5
5
  * a host that cannot build a retrieval pipeline of its own and must still drive ABAP
6
6
  * through MCP reliably.
7
7
  *
8
- * The tools themselves are in `@mcp-abap-adt/compact-readonly-entries` (17, changing
8
+ * The tools themselves are in `@mcp-abap-adt/compact-readonly-entries` (16, changing
9
9
  * nothing) and `@mcp-abap-adt/compact-modify` (12, writing, locking, activating or
10
10
  * executing), composed by `compactToolSetOf` of `@mcp-abap-adt/lib/tool-set`. A
11
11
  * consumer that wants only one capability imports that package directly; this one
package/dist/index.js CHANGED
@@ -4,11 +4,11 @@ exports.main = exports.compactToolSet = exports.COMPACT_VERSION = void 0;
4
4
  /**
5
5
  * @mcp-abap-adt/compact — the compact ABAP ADT server over stdio, and its command.
6
6
  *
7
- * 29 tools instead of 370: one per operation, with the object in `object_type`. For
7
+ * 28 tools instead of 370: one per operation, with the object in `object_type`. For
8
8
  * a host that cannot build a retrieval pipeline of its own and must still drive ABAP
9
9
  * through MCP reliably.
10
10
  *
11
- * The tools themselves are in `@mcp-abap-adt/compact-readonly-entries` (17, changing
11
+ * The tools themselves are in `@mcp-abap-adt/compact-readonly-entries` (16, changing
12
12
  * nothing) and `@mcp-abap-adt/compact-modify` (12, writing, locking, activating or
13
13
  * executing), composed by `compactToolSetOf` of `@mcp-abap-adt/lib/tool-set`. A
14
14
  * consumer that wants only one capability imports that package directly; this one
@@ -2,12 +2,7 @@ import { type ToolSet } from '@mcp-abap-adt/lib/tool-set';
2
2
  import { type StdioLauncherEdges } from '@mcp-abap-adt/server-runtime/stdio';
3
3
  /** The compact tool set: both halves, the debugger, the leftover sessions and background runs. */
4
4
  export declare const compactToolSet: ToolSet;
5
- /**
6
- * THIS package's version, for `--version` and `initialize` — never core's: a
7
- * version that belongs to a different package reads as the truth (13.0.0
8
- * shipped that defect in the other direction). `require`, not a file read: a
9
- * bundler (the portable build) inlines it.
10
- */
5
+ /** THIS package's version, for `--version` and `initialize`. */
11
6
  export declare const COMPACT_VERSION: string;
12
7
  /** THIS package's name, from the same manifest: what a second copy of lib asks to reinstall. */
13
8
  export declare const COMPACT_PACKAGE: string;
@@ -1 +1 @@
1
- {"version":3,"file":"launcher.d.ts","sourceRoot":"","sources":["../src/launcher.ts"],"names":[],"mappings":"AAqBA,OAAO,EAAoB,KAAK,OAAO,EAAE,MAAM,4BAA4B,CAAC;AAC5E,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,oCAAoC,CAAC;AAE5C,kGAAkG;AAClG,eAAO,MAAM,cAAc,EAAE,OAG3B,CAAC;AAEH;;;;;GAKG;AACH,eAAO,MAAM,eAAe,EAAE,MAErB,CAAC;AAEV,gGAAgG;AAChG,eAAO,MAAM,eAAe,EAAE,MAExB,CAAC;AAEP,wBAAgB,IAAI,CAClB,KAAK,GAAE,kBAAmC,GACzC,OAAO,CAAC,IAAI,CAAC,CAUf"}
1
+ {"version":3,"file":"launcher.d.ts","sourceRoot":"","sources":["../src/launcher.ts"],"names":[],"mappings":"AAwBA,OAAO,EAAoB,KAAK,OAAO,EAAE,MAAM,4BAA4B,CAAC;AAC5E,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,oCAAoC,CAAC;AAE5C,kGAAkG;AAClG,eAAO,MAAM,cAAc,EAAE,OAI3B,CAAC;AAUH,gEAAgE;AAChE,eAAO,MAAM,eAAe,EAAE,MAAyB,CAAC;AAExD,gGAAgG;AAChG,eAAO,MAAM,eAAe,EAAE,MAAsB,CAAC;AAErD,wBAAgB,IAAI,CAClB,KAAK,GAAE,kBAAmC,GACzC,OAAO,CAAC,IAAI,CAAC,CAUf"}
package/dist/launcher.js CHANGED
@@ -28,17 +28,20 @@ const stdio_1 = require("@mcp-abap-adt/server-runtime/stdio");
28
28
  /** The compact tool set: both halves, the debugger, the leftover sessions and background runs. */
29
29
  exports.compactToolSet = (0, tool_set_1.compactToolSetOf)({
30
30
  readOnly: compact_readonly_entries_1.compactReadOnlyEntries,
31
+ data: compact_readonly_entries_1.compactDataEntries,
31
32
  modify: compact_modify_1.compactModifyEntries,
32
33
  });
33
34
  /**
34
- * THIS package's version, for `--version` and `initialize` — never core's: a
35
- * version that belongs to a different package reads as the truth (13.0.0
36
- * shipped that defect in the other direction). `require`, not a file read: a
37
- * bundler (the portable build) inlines it.
35
+ * THIS package's manifest, read by its shape (`packageManifestOf`) — never
36
+ * core's: a version that belongs to a different package reads as the truth
37
+ * (13.0.0 shipped that defect in the other direction). `require`, not a file
38
+ * read: a bundler (the portable build) inlines it.
38
39
  */
39
- exports.COMPACT_VERSION = require('../package.json').version;
40
+ const MANIFEST = (0, config_1.packageManifestOf)(require('../package.json'));
41
+ /** THIS package's version, for `--version` and `initialize`. */
42
+ exports.COMPACT_VERSION = MANIFEST.version;
40
43
  /** THIS package's name, from the same manifest: what a second copy of lib asks to reinstall. */
41
- exports.COMPACT_PACKAGE = require('../package.json').name;
44
+ exports.COMPACT_PACKAGE = MANIFEST.name;
42
45
  function main(edges = (0, config_1.processEdges)()) {
43
46
  return (0, stdio_1.main)({
44
47
  toolSet: exports.compactToolSet,
@@ -1 +1 @@
1
- {"version":3,"file":"launcher.js","sourceRoot":"","sources":["../src/launcher.ts"],"names":[],"mappings":";;;AAgDA,oBAYC;AA5DD;;;;;;;;;;;;;;;;;GAiBG;AACH,iEAAoE;AACpE,qFAAgF;AAChF,qDAAwD;AACxD,yDAA4E;AAC5E,8DAG4C;AAE5C,kGAAkG;AACrF,QAAA,cAAc,GAAY,IAAA,2BAAgB,EAAC;IACtD,QAAQ,EAAE,iDAAsB;IAChC,MAAM,EAAE,qCAAoB;CAC7B,CAAC,CAAC;AAEH;;;;;GAKG;AACU,QAAA,eAAe,GAC1B,OAAO,CAAC,iBAAiB,CAC1B,CAAC,OAAO,CAAC;AAEV,gGAAgG;AACnF,QAAA,eAAe,GAC1B,OAAO,CAAC,iBAAiB,CAC1B,CAAC,IAAI,CAAC;AAEP,SAAgB,IAAI,CAClB,QAA4B,IAAA,qBAAY,GAAE;IAE1C,OAAO,IAAA,YAAQ,EACb;QACE,OAAO,EAAE,sBAAc;QACvB,OAAO,EAAE,sBAAsB;QAC/B,OAAO,EAAE,uBAAe;QACxB,WAAW,EAAE,uBAAe;KAC7B,EACD,KAAK,CACN,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"launcher.js","sourceRoot":"","sources":["../src/launcher.ts"],"names":[],"mappings":";;;AAmDA,oBAYC;AA/DD;;;;;;;;;;;;;;;;;GAiBG;AACH,iEAAoE;AACpE,qFAGgD;AAChD,qDAA2E;AAC3E,yDAA4E;AAC5E,8DAG4C;AAE5C,kGAAkG;AACrF,QAAA,cAAc,GAAY,IAAA,2BAAgB,EAAC;IACtD,QAAQ,EAAE,iDAAsB;IAChC,IAAI,EAAE,6CAAkB;IACxB,MAAM,EAAE,qCAAoB;CAC7B,CAAC,CAAC;AAEH;;;;;GAKG;AACH,MAAM,QAAQ,GAAG,IAAA,0BAAiB,EAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC,CAAC;AAE/D,gEAAgE;AACnD,QAAA,eAAe,GAAW,QAAQ,CAAC,OAAO,CAAC;AAExD,gGAAgG;AACnF,QAAA,eAAe,GAAW,QAAQ,CAAC,IAAI,CAAC;AAErD,SAAgB,IAAI,CAClB,QAA4B,IAAA,qBAAY,GAAE;IAE1C,OAAO,IAAA,YAAQ,EACb;QACE,OAAO,EAAE,sBAAc;QACvB,OAAO,EAAE,sBAAsB;QAC/B,OAAO,EAAE,uBAAe;QACxB,WAAW,EAAE,uBAAe;KAC7B,EACD,KAAK,CACN,CAAC;AACJ,CAAC"}
@@ -3,19 +3,19 @@
3
3
  Generated from the built packages, not from source text: these are the tool
4
4
  definitions a client receives.
5
5
 
6
- - Tools: 40
6
+ - Tools: 39
7
7
  - Read-only half: `@mcp-abap-adt/compact-readonly-entries`
8
8
  - Modifying half: `@mcp-abap-adt/compact-modify`
9
9
  - Debugger verbs: `@mcp-abap-adt/compact`, served by the write binaries always, by no `-ro` binary
10
10
  - Leftover-session tools: `@mcp-abap-adt/lib`, on stdio only (`mcp-abap-adt-compact`, `mcp-abap-adt-compact-ro`): the list and the logoff in both; no `-compact-http` or `-compact-sse` binary serves them
11
- - Background-run tools: `@mcp-abap-adt/lib`, in the write binaries (where `HandlerProfileRun` is)
11
+ - Background-run tools: `@mcp-abap-adt/lib`, in every compact binary: the long reads run in the background by default, and in the write binaries `HandlerProfileRun` too
12
12
  - Batch mode: `HandlerBatch` of `@mcp-abap-adt/lib`, in every compact binary, on every transport. Every other tool's description, as the server lists it, ends with one sentence saying how a call of it behaves in batch mode: recordable, recordable for the arguments it names, or run outside batch mode; the descriptions on this page are the tools' own, without it ([Batch Mode](https://github.com/fr0ster/mcp-abap-adt/blob/main/docs/user-guide/BATCH_MODE.md))
13
- - Commands: `mcp-abap-adt-compact` (`@mcp-abap-adt/compact`) serves every tool under Tools; `mcp-abap-adt-compact-ro` (`@mcp-abap-adt/compact-ro`) the read-only half and the leftover-session list and logoff. `-compact-sse` and `-compact-sse-ro` serve the same without the leftover-session tools; `-compact-http` and `-compact-http-ro` the same, with what [Streamable HTTP Binaries](#streamable-http-binaries) adds
13
+ - Commands: `mcp-abap-adt-compact` (`@mcp-abap-adt/compact`) serves every tool under Tools; `mcp-abap-adt-compact-ro` (`@mcp-abap-adt/compact-ro`) the read-only half, the background-run tools and the leftover-session list and logoff. `-compact-sse` and `-compact-sse-ro` serve the same without the leftover-session tools; `-compact-http` and `-compact-http-ro` the same, with what [Streamable HTTP Binaries](#streamable-http-binaries) adds
14
14
 
15
15
  ## How it works
16
16
 
17
17
  One tool per OPERATION, with the object in `object_type`: `HandlerCreate` with
18
- `object_type: "CLASS"` rather than a `CreateClass` tool. 40 schemas instead of
18
+ `object_type: "CLASS"` rather than a `CreateClass` tool. 39 schemas instead of
19
19
  the object-oriented surface's hundreds, for a host that cannot select tools
20
20
  per request.
21
21
 
@@ -25,15 +25,15 @@ per request.
25
25
 
26
26
  **Half:** `@mcp-abap-adt/compact-readonly-entries`
27
27
 
28
- **Description:** [read-only] Reads one part of the object named by object_type and its name parameter (class_name, program_name, ddl_name, table_name, …). part selects it: source (default) the source alone, in one request; metadata the ADT metadata document alone, in one request; urls (SERVICE_BINDING) the service URL, its $metadata and the browser preview, contents (PACKAGE) the objects the package holds, its walk read level by level in ADT batch envelopes; package_names lists several packages, read together, one entry per package in the order given. A source document answers { part: 'source', source } and a metadata document { part: 'metadata', metadata }, beside the object's name. Parts per type: PACKAGE metadata, contents; DOMAIN, DATA_ELEMENT, FUNCTION_GROUP, TABLE_TYPE metadata; LOCAL_TEST_CLASS, LOCAL_TYPES, LOCAL_DEFINITIONS, LOCAL_MACROS, TRANSPORT, UNIT_TEST, CDS_UNIT_TEST source; SERVICE_BINDING source, metadata, urls; every other type source, metadata. A part outside the type's list is answered with that list. Three parts read the repository by ADT address: object_structure(object_adt_type*, object_name*), node_structure(object_adt_type*, object_name*, node_id, with_short_descriptions; one node level; a package's blank answer is the empty listing with blank stating its two readings: an empty package, or an unknown package name) and virtual_folders(object_search_pattern, preselection, facet_order, with_versions, ignore_short_descriptions). Two parts read an activation run by its id, in one request each: activation_status(run_id*) answers { run_id, part, status, document }, the run's status (finished, error, failed, or its progress while it runs) and its status document as SAP answered it; activation_results(run_id*) answers { run_id, part, activated, messages, document }: activated is SAP's verdict as the results state it: true where they say activationExecuted="true" and every message is below error severity, false where they say activationExecuted="false" (a run SAP cancelled, or one whose message list is empty) or carry an error-severity message, null where they leave activationExecuted out; beside the messages the run produced and its results document as SAP answered it. Otherwise object_type required: PACKAGE(package_name*; part contents: package_name* or package_names*), DOMAIN(domain_name*), DATA_ELEMENT(data_element_name*), TABLE(table_name*), STRUCTURE(structure_name*), TABLE_TYPE(table_type_name*), DDL(ddl_name*), SERVICE_DEFINITION(service_definition_name*), SERVICE_BINDING(service_binding_name*), CLASS(class_name*), LOCAL_TEST_CLASS(class_name*), LOCAL_TYPES(class_name*), LOCAL_DEFINITIONS(class_name*), LOCAL_MACROS(class_name*), PROGRAM(program_name*), INCLUDE(include_name*), INTERFACE(interface_name*), FUNCTION_GROUP(function_group_name*), FUNCTION_MODULE(function_module_name* as GROUP|MODULE, or function_module_name* with function_group_name*), BEHAVIOR_DEFINITION(behavior_definition_name*), BEHAVIOR_IMPLEMENTATION(behavior_implementation_name*), METADATA_EXTENSION(metadata_extension_name*), UNIT_TEST(run_id*), CDS_UNIT_TEST(run_id*), TRANSPORT(transport_number*). TRANSPORT answers the objects a task holds, each with its position in the task's object list; for a request, every task's entries, each once, with its task number and position. UNIT_TEST and CDS_UNIT_TEST read the run's result in one request and answer { success, run_id, run_result }, run_result the result document SAP answered, parsed. Valid once the status is FINISHED; a finished run's result carries executionTime. Runs on an ABAP session of its own. Optional timeout (seconds): when it passes, the read is cancelled, its ABAP session logged off, and the system stays as it was. Set it below your MCP client's request limit — the TypeScript SDK's client cancels at 60 s; a client's cancel ends only the client's wait, and SAP runs the read on.
28
+ **Description:** [read-only] Reads one part of the object named by object_type and its name parameter (class_name, program_name, ddl_name, table_name, …). part selects it: source (default) the source alone, in one request; metadata the ADT metadata document alone, in one request; urls (SERVICE_BINDING) the service URL, its $metadata and the browser preview, contents (PACKAGE) the objects the package holds, its walk read level by level in ADT batch envelopes; package_names lists several packages, read together, one entry per package in the order given. A source document answers { part: 'source', source } and a metadata document { part: 'metadata', metadata }, beside the object's name. Parts per type: PACKAGE metadata, contents; DOMAIN, DATA_ELEMENT, FUNCTION_GROUP, TABLE_TYPE metadata; LOCAL_TEST_CLASS, LOCAL_TYPES, LOCAL_DEFINITIONS, LOCAL_MACROS, TRANSPORT, UNIT_TEST, CDS_UNIT_TEST source; SERVICE_BINDING source, metadata, urls; every other type source, metadata. A part outside the type's list is answered with that list. Three parts read the repository by ADT address: object_structure(object_adt_type*, object_name*), node_structure(object_adt_type*, object_name*, node_id, with_short_descriptions; one node level; a package's blank answer is the empty listing with blank stating its two readings: an empty package, or an unknown package name) and virtual_folders(object_search_pattern, preselection, facet_order, with_versions, ignore_short_descriptions). Two parts read an activation run by its id, in one request each: activation_status(run_id*) answers { run_id, part, status, document }, the run's status (finished, error, failed, or its progress while it runs) and its status document as SAP answered it; activation_results(run_id*) answers { run_id, part, activated, messages, document }: activated is SAP's verdict as the results state it: true where they say activationExecuted="true" and every message is below error severity, false where they say activationExecuted="false" (a run SAP cancelled, or one whose message list is empty) or carry an error-severity message, null where they leave activationExecuted out; beside the messages the run produced and its results document as SAP answered it. Otherwise object_type required: PACKAGE(package_name*; part contents: package_name* or package_names*), DOMAIN(domain_name*), DATA_ELEMENT(data_element_name*), TABLE(table_name*), STRUCTURE(structure_name*), TABLE_TYPE(table_type_name*), DDL(ddl_name*), SERVICE_DEFINITION(service_definition_name*), SERVICE_BINDING(service_binding_name*), CLASS(class_name*), LOCAL_TEST_CLASS(class_name*), LOCAL_TYPES(class_name*), LOCAL_DEFINITIONS(class_name*), LOCAL_MACROS(class_name*), PROGRAM(program_name*), INCLUDE(include_name*), INTERFACE(interface_name*), FUNCTION_GROUP(function_group_name*), FUNCTION_MODULE(function_module_name* as GROUP|MODULE, or function_module_name* with function_group_name*), BEHAVIOR_DEFINITION(behavior_definition_name*), BEHAVIOR_IMPLEMENTATION(behavior_implementation_name*), METADATA_EXTENSION(metadata_extension_name*), UNIT_TEST(run_id*), CDS_UNIT_TEST(run_id*), TRANSPORT(transport_number*). TRANSPORT answers the objects a task holds, each with its position in the task's object list; for a request, every task's entries, each once, with its task number and position. UNIT_TEST and CDS_UNIT_TEST read the run's result in one request and answer { success, run_id, run_result }, run_result the result document SAP answered, parsed. Valid once the status is FINISHED; a finished run's result carries executionTime. draft (PROGRAM, INCLUDE, INTERFACE, CLASS, BEHAVIOR_IMPLEMENTATION, FUNCTION_MODULE, FUNCTION_GROUP, DDL, BEHAVIOR_DEFINITION, METADATA_EXTENSION, SERVICE_DEFINITION, TABLE, STRUCTURE, DOMAIN, DATA_ELEMENT and TABLE_TYPE) reads the active, inactive and working versions of each part of the object together (main, the source or metadata; for CLASS and BEHAVIOR_IMPLEMENTATION the includes implementations, definitions, testclasses, macros in place of the main source) and answers { object_type, object_name, has_draft, parts }: per part draft states whose unactivated change it holds — own (the caller's), other (another user's), undetermined (its three ETags in another pattern), and the active state when its versions are equal — with changed_at (the change's last write, UTC) and age_seconds by the server's clock for own and other (null for METADATA_EXTENSION and SERVICE_DEFINITION, whose ETag carries a constant time), and the three ETags (active, inactive, workspace); has_draft is true when any part holds a change of a user's. Runs on an ABAP session of its own. By default the call answers at once with a run_handle, whose result is read by that handle; with background false it answers the result in the call.
29
29
 
30
30
  **Available in:** cloud, onprem
31
31
 
32
32
  **Parameters:**
33
33
 
34
- - `timeout` — Seconds to wait for the answer: a whole number, at least 1, no default — without it the call waits until SAP answers. When it passes, the read is cancelled (its ABAP session is logged off) and the call answers that nothing was changed. Set it below your MCP client's request limit — the TypeScript SDK's client cancels at 60 s; a cancel does nothing to SAP. Applies to the repository reads: object_type PACKAGE, DOMAIN, DATA_ELEMENT, TABLE, STRUCTURE, TABLE_TYPE, DDL, SERVICE_DEFINITION, SERVICE_BINDING, CLASS, LOCAL_TEST_CLASS, LOCAL_TYPES, LOCAL_DEFINITIONS, LOCAL_MACROS, PROGRAM, INCLUDE, INTERFACE, FUNCTION_GROUP, FUNCTION_MODULE, BEHAVIOR_DEFINITION, BEHAVIOR_IMPLEMENTATION, METADATA_EXTENSION, TRANSPORT, and the parts object_structure, node_structure, virtual_folders.
34
+ - `background` — Default true: the read runs in the background on an ABAP session of its own and the call answers at once with a run_handle; HandlerBackgroundRunGet answers its result once, and HandlerBackgroundRunDiscard cancels it while it runs. false: the call answers the result itself. Applies to the repository reads: object_type PACKAGE, DOMAIN, DATA_ELEMENT, TABLE, STRUCTURE, TABLE_TYPE, DDL, SERVICE_DEFINITION, SERVICE_BINDING, CLASS, LOCAL_TEST_CLASS, LOCAL_TYPES, LOCAL_DEFINITIONS, LOCAL_MACROS, PROGRAM, INCLUDE, INTERFACE, FUNCTION_GROUP, FUNCTION_MODULE, BEHAVIOR_DEFINITION, BEHAVIOR_IMPLEMENTATION, METADATA_EXTENSION, TRANSPORT, and the parts object_structure, node_structure, virtual_folders.
35
35
  - `object_type` — ABAP object type for routed compact operation.
36
- - `part` — The part to read: source (the source alone), metadata (the ADT metadata document alone), urls (the service and preview URLs), contents (the objects a package holds); each object type answers the parts it has, and a part outside them is answered with the list of its parts. Three parts read the repository by ADT address: object_structure (object_adt_type*, object_name*), node_structure (object_adt_type*, object_name*, node_id, with_short_descriptions) and virtual_folders (object_search_pattern, preselection, facet_order, with_versions, ignore_short_descriptions). Two parts read an activation run by run_id*: activation_status (its status) and activation_results (the messages it produced).
36
+ - `part` — The part to read: source (the source alone), metadata (the ADT metadata document alone), urls (the service and preview URLs), contents (the objects a package holds); each object type answers the parts it has, and a part outside them is answered with the list of its parts. Three parts read the repository by ADT address: object_structure (object_adt_type*, object_name*), node_structure (object_adt_type*, object_name*, node_id, with_short_descriptions) and virtual_folders (object_search_pattern, preselection, facet_order, with_versions, ignore_short_descriptions). Two parts read an activation run by run_id*: activation_status (its status) and activation_results (the messages it produced). main_programs (INCLUDE): the include's main programs. draft (PROGRAM, INCLUDE, INTERFACE, CLASS, BEHAVIOR_IMPLEMENTATION, FUNCTION_MODULE, FUNCTION_GROUP, DDL, BEHAVIOR_DEFINITION, METADATA_EXTENSION, SERVICE_DEFINITION, TABLE, STRUCTURE, DOMAIN, DATA_ELEMENT, TABLE_TYPE): whether each part of the object holds an unactivated change, and whose.
37
37
  - `package_name` — Package name.
38
38
  - `package_names` — Several package names (part contents), read together: one entry per package, in the order given, each { package_name, contents } or { package_name, error }.
39
39
  - `max_results` — Maximum number of members listed per package (part contents).
@@ -57,6 +57,7 @@ per request.
57
57
  - `service_binding_name` — Service binding name.
58
58
  - `transport_number` — Transport request or task number (TRANSPORT). A request lists the entries of all its tasks; a task lists its own.
59
59
  - `run_id` — Run id: a unit test run (UNIT_TEST, CDS_UNIT_TEST) or an activation run (parts activation_status, activation_results).
60
+ - `with_long_polling` — With part activation_status: when true, the status read is held by SAP until the activation run ends, and answers its final status.
60
61
  - `response_format` — Response format for SERVICE_BINDING reads.
61
62
  - `version` — The version read: "active" (default) the activated version, "inactive" the version saved and awaiting activation, "workingArea" the version in the working area, as ADT answers it.
62
63
  - `object_adt_type` — ADT type code of the object (object_structure) or of the parent node (node_structure).
@@ -69,57 +70,57 @@ per request.
69
70
  - `with_versions` — Include versions (virtual_folders).
70
71
  - `ignore_short_descriptions` — Leave out short descriptions (virtual_folders).
71
72
 
72
- ### HandlerSearch
73
+ ### HandlerSystem
73
74
 
74
75
  **Half:** `@mcp-abap-adt/compact-readonly-entries`
75
76
 
76
- **Description:** [read-only] Searches the ABAP repository for the objects whose name matches query, a name or a mask. Required: query*. Optional: object_type, max_results (default 100). Response: one object per line. Runs on an ABAP session of its own. Optional timeout (seconds): when it passes, the read is cancelled, its ABAP session logged off, and the system stays as it was. Set it below your MCP client's request limit — the TypeScript SDK's client cancels at 60 s; a client's cancel ends only the client's wait, and SAP runs the read on.
77
-
78
- **Available in:** cloud, onprem
79
-
80
- **Parameters:**
81
-
82
- - `timeout` — Seconds to wait for the answer: a whole number, at least 1, no default — without it the call waits until SAP answers. When it passes, the read is cancelled (its ABAP session is logged off) and the call answers that nothing was changed. Set it below your MCP client's request limit — the TypeScript SDK's client cancels at 60 s; a cancel does nothing to SAP.
83
- - `query` (required) — Object name or mask, with * as a wildcard.
84
- - `object_type` — Optional: restrict the search to one type: a name of the system's object types list — a main type (e.g. CLAS, DEVC, TABL), an alias of one subtype (e.g. STRU for structures, DTAB for database tables, FUNC for function modules) or a group — or an ADT type code, which stands for the name that selects it (e.g. TABL/DS for STRU, FUGR/FF for FUNC, ENHO/XHH for ENHO), either case; or a name standing for a code, written in lower case (e.g. class, structure, table, function), read as its code: view is a CDS view (DDLS), dbview a dictionary view (VIEW). A value in upper case is a search name or a code first, so VIEW is the dictionary views; it is a name only when it is neither (CLASS is class).
85
- - `max_results` — Maximum number of objects returned.
86
-
87
- ### HandlerWhereUsed
88
-
89
- **Half:** `@mcp-abap-adt/compact-readonly-entries`
90
-
91
- **Description:** [read-only] Lists where the object named by object_type and object_name is used — a class, interface, program, include, function group, function module (BAPI included), package, table, structure, domain, data element, CDS DDL source or table type: the objects that use, call or reference it, with type and package. Required: object_type*, object_name*. Optional: function_group_name (FUNCTION_MODULE), max_results (default 100). Response: JSON. Runs on an ABAP session of its own. Optional timeout (seconds): when it passes, the read is cancelled, its ABAP session logged off, and the system stays as it was. Set it below your MCP client's request limit — the TypeScript SDK's client cancels at 60 s; a client's cancel ends only the client's wait, and SAP runs the read on.
92
-
93
- **Available in:** cloud, onprem
94
-
95
- **Parameters:**
96
-
97
- - `timeout` — Seconds to wait for the answer: a whole number, at least 1, no default — without it the call waits until SAP answers. When it passes, the read is cancelled (its ABAP session is logged off) and the call answers that nothing was changed. Set it below your MCP client's request limit — the TypeScript SDK's client cancels at 60 s; a cancel does nothing to SAP.
98
- - `object_type` (required) — Type of the object whose usages are listed.
99
- - `object_name` (required) — Object name.
100
- - `function_group_name` — Function group of the function module (FUNCTION_MODULE).
101
- - `max_results` — Maximum number of referencing objects returned.
102
-
103
- ### HandlerGetData
104
-
105
- **Half:** `@mcp-abap-adt/compact-readonly-entries`
106
-
107
- **Description:** [read-only] Reads the rows of the table or CDS view named by object_name, or the rows sql_query selects: every column of object_name, or what sql_query selects with its columns, conditions and order. Required: object_name or sql_query. Optional: max_rows (default 100). Response: JSON. Runs on an ABAP session of its own. Optional timeout (seconds): when it passes, the read is cancelled, its ABAP session logged off, and the system stays as it was. Set it below your MCP client's request limit — the TypeScript SDK's client cancels at 60 s; a client's cancel ends only the client's wait, and SAP runs the read on.
108
-
109
- **Available in:** cloud, onprem
110
-
111
- **Parameters:**
112
-
113
- - `timeout` — Seconds to wait for the answer: a whole number, at least 1, no default — without it the call waits until SAP answers. When it passes, the read is cancelled (its ABAP session is logged off) and the call answers that nothing was changed. Set it below your MCP client's request limit — the TypeScript SDK's client cancels at 60 s; a cancel does nothing to SAP.
114
- - `object_name` — Table or CDS view whose rows are read, all columns. Used when sql_query is absent.
115
- - `sql_query` — ABAP SQL SELECT naming the columns, conditions and order to read.
116
- - `max_rows` — Maximum number of rows returned.
77
+ **Description:** [read-only] Reads across the ABAP system, one read per action: search_source(query*, packages*, query2, exclude, include_subpackages, object_filter, object_types, exclude_comments, max_hits_per_object, max_hits, answer, version) the source lines of the objects in packages that contain query; search_object(object_name*, object_type, maxResults, detail) the objects whose name matches object_name, a name or a mask; where_used(object_name* and object_type*, or objects*; enable_all_types, enable_only_types, disable_types) every object that uses, calls or references the object named, with its type and package; package_tree(package_name* or package_names*; include_subpackages, max_depth, include_descriptions, debug) the subpackages and objects of a package as a tree; transports(user, modifiable_only, detail) the transport requests of user, by default the session's user; atc_findings(worklist_id*, detail) the findings of the ATC run whose worklist is worklist_id; atc_results(created_by*, central_only, age_min, age_max) the stored ATC results, newest first; atc_result(display_id*, detail) the stored ATC result display_id with its findings. Each argument is described with the actions that take it. Response: JSON, per action: search_source the hits (package, object type, object name, include, line, snippet) with the scanned and truncated counters; search_object the objects found; where_used the references with their total (one entry per object for objects); package_tree the tree (one entry per package for package_names); transports the requests; atc_findings the findings with the counts per priority; atc_results one entry per result; atc_result the findings with the counts per priority. Runs on an ABAP session of its own. By default the call answers at once with a run_handle, whose result is read by that handle; with background false it answers the result in the call.
78
+
79
+ **Available in:** cloud, onprem
80
+
81
+ **Parameters:**
82
+
83
+ - `background` — Default true: the read runs in the background on an ABAP session of its own and the call answers at once with a run_handle; HandlerBackgroundRunGet answers its result once, and HandlerBackgroundRunDiscard cancels it while it runs. false: the call answers the result itself.
84
+ - `action` (required) — The read: search_source (source text in packages), search_object (objects by name or mask), where_used (the objects that use an object), package_tree (a package tree), transports (transport requests), atc_findings (the findings of an ATC run), atc_results (the stored ATC results), atc_result (one stored ATC result).
85
+ - `query` — search_source: primary substring to match (case-insensitive, ABAP CS).
86
+ - `query2` — search_source: a second substring; when set, both query and query2 must appear on the same line.
87
+ - `exclude` — search_source: up to 3 substrings; a line containing any of them is dropped.
88
+ - `packages` — search_source: packages to scan, each an exact package name or a mask (`*` zero or more characters, `?` one character; `+`, `_`, `%` and `#` are characters of the name).
89
+ - `include_subpackages` — search_source: recurse into subpackages (default true). package_tree: expand subpackages recursively (default true).
90
+ - `object_filter` — search_source: glob applied to object names within each package (e.g. "Z*").
91
+ - `object_types` — search_source: object types to scan, by main type: PROG (programs and program includes), FUGR, CLAS, INTF, DDLS, BDEF, DDLX, SRVD (default all of them).
92
+ - `exclude_comments` — search_source: skip col-1 '*' and full-line '"' comment lines (default false).
93
+ - `max_hits_per_object` — search_source: the most hits answered per object; absent, every hit.
94
+ - `max_hits` — search_source: the most hits of the whole answer; reached, the scan stops reading. Absent, every hit.
95
+ - `answer` — search_source: what each hit is answered as: snippets (the default), lines or objects.
96
+ - `version` — search_source: the version every source is read at (default active).
97
+ - `object_name` — search_object: object name or mask (e.g. 'MARA*'). where_used: name of the object (with object_type), a function module as 'GROUP|FM_NAME'.
98
+ - `object_type` — search_object: Optional: restrict the search to one type: a name of the system's object types list — a main type (e.g. CLAS, DEVC, TABL), an alias of one subtype (e.g. STRU for structures, DTAB for database tables, FUNC for function modules) or a group — or an ADT type code, which stands for the name that selects it (e.g. TABL/DS for STRU, FUGR/FF for FUNC, ENHO/XHH for ENHO), either case; or a name standing for a code, written in lower case (e.g. class, structure, table, function), read as its code: view is a CDS view (DDLS), dbview a dictionary view (VIEW). A value in upper case is a search name or a code first, so VIEW is the dictionary views; it is a name only when it is neither (CLASS is class). where_used: Type of the ABAP object: an ADT type code (either case), or a name standing for one (in brackets after it): CLAS/OC (class), INTF/OI (interface), PROG/P (program), PROG/I (include), FUGR/F (functiongroup), FUGR/FF (function, functionmodule, function_module, func), DEVC/K (package), DDLS/DF (view), VIEW/DV (dbview), TABL/DT (table), TABL/DS (structure, stru), TTYP/DA, DOMA/DD (domain), DTEL/DE (dataelement), DCLS/DL, BDEF/BDO, DDLX/EX, SRVD/SRV, SRVB/SVB, DSFD/SCF, DSFI/SFI, XSLT/VT, MSAG/N, FTG2/FT, AUTH, ENHO/XHH, ENHO/XHB, ENHS/XSB. A function module is named as object_name says. A name is written in lower case: view is a CDS view (DDLS/DF). A value in upper case is a code, a main type or a search name of the system's object types list first, so VIEW is the dictionary views (VIEW/DV); it is a name only when it is none of these (CLASS is class). A main type, the part of a code before its slash, stands for its code when exactly one listed code has it. In upper case, a search name of the system's object types list stands for the listed code its list item has (e.g. STRU for TABL/DS).
99
+ - `maxResults` — search_object: maximum number of results to return (default 100).
100
+ - `detail` — search_object, transports, atc_findings, atc_result: How much of the answer to return: "terse" (default, the fields you need to act), "full" (the whole parse), "raw" (the document as ADT sent it).
101
+ - `objects` — where_used: several objects, read together (give this or object_name and object_type); the type filters apply to every object.
102
+ - `enable_all_types` — where_used: true selects every object type of the where-used scope (default false, the SAP default scope).
103
+ - `enable_only_types` — where_used: the only ADT object types searched, codes of the object's where-used scope (e.g. 'CLAS/OC', 'DDLS/DF').
104
+ - `disable_types` — where_used: ADT object types removed from the scope (e.g. ['CLAS/OC']).
105
+ - `package_name` — package_tree: package name (give this or package_names).
106
+ - `package_names` — package_tree: several package names, read together (give this or package_name).
107
+ - `max_depth` — package_tree: maximum depth of the walk (default 5).
108
+ - `include_descriptions` — package_tree: each object's description in the answer (default false).
109
+ - `debug` — package_tree: diagnostic metadata in the answer (counts, types, hierarchy; default false).
110
+ - `user` — transports: the SAP user id whose requests are listed (default the session's user).
111
+ - `modifiable_only` — transports: only modifiable (unreleased) requests (default true).
112
+ - `worklist_id` — atc_findings: worklist identifier an ATC run answered.
113
+ - `created_by` — atc_results: whose results: a user name, or * for every user.
114
+ - `central_only` — atc_results: true lists central results only.
115
+ - `age_min` — atc_results: youngest age to list, in days.
116
+ - `age_max` — atc_results: oldest age to list, in days.
117
+ - `display_id` — atc_result: display ID of a stored ATC result.
117
118
 
118
119
  ### HandlerValidate
119
120
 
120
121
  **Half:** `@mcp-abap-adt/compact-readonly-entries`
121
122
 
122
- **Description:** [read-only] Validates a new object named by object_type and object_name before it is created. object_type required: CLASS(object_name*, superclass), PROGRAM(object_name*), INCLUDE(object_name*, package_name*), INTERFACE(object_name*), FUNCTION_GROUP(object_name*), FUNCTION_MODULE(object_name* as GROUP|MODULE), TABLE(object_name*), STRUCTURE(object_name*), TABLE_TYPE(object_name*, description), DDL(object_name*), DOMAIN(object_name*), DATA_ELEMENT(object_name*), PACKAGE(object_name*, super_package), BEHAVIOR_DEFINITION(object_name*, package_name*, description*, root_entity*, implementation_type*), BEHAVIOR_IMPLEMENTATION(object_name*, package_name*, behavior_definition), METADATA_EXTENSION(object_name*, description*, package_name*), SERVICE_BINDING(object_name*=service_binding_name*, service_definition_name*, package_name*). For SERVICE_BINDING the answer is the verdict of SAP's transport check for the binding's name and package: admissible true where SAP answers S, false where it answers E, each with SAP's messages, and any other value as result; creating the binding checks the name, the package and the service definition itself.
123
+ **Description:** [read-only] Validates a new object named by object_type and object_name before it is created. object_type required: CLASS(object_name*, superclass), PROGRAM(object_name*, package_name*), INCLUDE(object_name*, package_name*), INTERFACE(object_name*), FUNCTION_GROUP(object_name*), FUNCTION_MODULE(object_name* as GROUP|MODULE, description*), TABLE(object_name*), STRUCTURE(object_name*), TABLE_TYPE(object_name*, description), DDL(object_name*), DOMAIN(object_name*), DATA_ELEMENT(object_name*), PACKAGE(object_name*, super_package), BEHAVIOR_DEFINITION(object_name*, package_name*, description*, root_entity*, implementation_type*), BEHAVIOR_IMPLEMENTATION(object_name*, package_name*, behavior_definition), METADATA_EXTENSION(object_name*, description*, package_name*), SERVICE_BINDING(object_name*=service_binding_name*, service_definition_name*, package_name*). For SERVICE_BINDING the answer is the verdict of SAP's transport check for the binding's name and package: admissible true where SAP answers S, false where it answers E, each with SAP's messages, and any other value as result; creating the binding checks the name, the package and the service definition itself.
123
124
 
124
125
  **Available in:** cloud, onprem
125
126
 
@@ -130,7 +131,7 @@ per request.
130
131
  - `package_name` — Package of the object to validate. Required for BEHAVIOR_DEFINITION, BEHAVIOR_IMPLEMENTATION, METADATA_EXTENSION and SERVICE_BINDING.
131
132
  - `super_package` — Super package of the package to validate (PACKAGE).
132
133
  - `superclass` — Superclass of the class to validate (CLASS).
133
- - `description` — Object description used during validation. Required for BEHAVIOR_DEFINITION and METADATA_EXTENSION.
134
+ - `description` — Object description used during validation. Required for FUNCTION_MODULE, BEHAVIOR_DEFINITION and METADATA_EXTENSION.
134
135
  - `behavior_definition` — Behavior definition the behavior implementation is for (BEHAVIOR_IMPLEMENTATION).
135
136
  - `root_entity` — CDS root entity of the behavior definition to validate. Required for BEHAVIOR_DEFINITION.
136
137
  - `implementation_type` — Implementation type of the behavior definition to validate (Managed, Unmanaged, Abstract or Projection). Required for BEHAVIOR_DEFINITION.
@@ -191,6 +192,7 @@ per request.
191
192
  - `run_id` (required) — Unit test run id.
192
193
  - `with_navigation_uris` — Include ADT navigation URIs in the result payload.
193
194
  - `format` — Result format.
195
+ - `detail` — How much of the answer to return: "terse" (default, the fields you need to act), "full" (the whole parse), "raw" (the document as ADT sent it).
194
196
 
195
197
  ### HandlerCdsUnitTestStatus
196
198
 
@@ -218,6 +220,7 @@ per request.
218
220
  - `run_id` (required) — Unit test run id.
219
221
  - `with_navigation_uris` — Include ADT navigation URIs in the result payload.
220
222
  - `format` — Result format.
223
+ - `detail` — How much of the answer to return: "terse" (default, the fields you need to act), "full" (the whole parse), "raw" (the document as ADT sent it).
221
224
 
222
225
  ### HandlerProfileList
223
226
 
@@ -233,13 +236,13 @@ per request.
233
236
 
234
237
  **Half:** `@mcp-abap-adt/compact-readonly-entries`
235
238
 
236
- **Description:** [read-only] Reads the ABAP profiler trace named by trace_id_or_uri in the view given (hit list, statements or database accesses), raw or analysed. Required: trace_id_or_uri*, view*(hitlist|statements|db_accesses). Optional: mode(raw|analyze, default raw), top(analyze only), with_system_events, id, with_details, auto_drill_down_threshold. Response: JSON. Runs on an ABAP session of its own. Optional timeout (seconds): when it passes, the read is cancelled, its ABAP session logged off, and the system stays as it was. Set it below your MCP client's request limit — the TypeScript SDK's client cancels at 60 s; a client's cancel ends only the client's wait, and SAP runs the read on.
239
+ **Description:** [read-only] Reads the ABAP profiler trace named by trace_id_or_uri in the view given (hit list, statements or database accesses), raw or analysed. Required: trace_id_or_uri*, view*(hitlist|statements|db_accesses). Optional: mode(raw|analyze, default raw), top(analyze only), with_system_events, id, with_details, auto_drill_down_threshold. Response: JSON. Runs on an ABAP session of its own. By default the call answers at once with a run_handle, whose result is read by that handle; with background false it answers the result in the call.
237
240
 
238
241
  **Available in:** cloud, onprem
239
242
 
240
243
  **Parameters:**
241
244
 
242
- - `timeout` — Seconds to wait for the answer: a whole number, at least 1, no default — without it the call waits until SAP answers. When it passes, the read is cancelled (its ABAP session is logged off) and the call answers that nothing was changed. Set it below your MCP client's request limit — the TypeScript SDK's client cancels at 60 s; a cancel does nothing to SAP.
245
+ - `background` — Default true: the read runs in the background on an ABAP session of its own and the call answers at once with a run_handle; HandlerBackgroundRunGet answers its result once, and HandlerBackgroundRunDiscard cancels it while it runs. false: the call answers the result itself.
243
246
  - `trace_id_or_uri` (required) — Profiler trace id or URI.
244
247
  - `view` (required) — Profiler trace view kind.
245
248
  - `mode` — "raw" returns the parsed trace payload as-is (default). "analyze" returns a compact summary instead — totals plus the top-ranked entries — via the same trace view.
@@ -253,13 +256,13 @@ per request.
253
256
 
254
257
  **Half:** `@mcp-abap-adt/compact-readonly-entries`
255
258
 
256
- **Description:** [read-only] Reads one page of the runtime feed named by feed_type in one request, newest first: the ABAP short dumps (runtime errors) of the user, object_name or time range from–to given, or system messages or SAP Gateway errors. Optional: feed_type(dumps|system_messages|gateway_errors, default dumps), user, runtime_error, exception, object_name, package, component, top (1 to 100), from, to. Response: JSON { feed_type, count, entries, next_to }; each dump carries dump_id; next_to is the `to` of SAP's next link, present when more remain. The next link's page starts at the boundary second, inclusive: entries of that second may repeat; match them by dump_id. Runs on an ABAP session of its own. Optional timeout (seconds): when it passes, the read is cancelled, its ABAP session logged off, and the system stays as it was. Set it below your MCP client's request limit — the TypeScript SDK's client cancels at 60 s; a client's cancel ends only the client's wait, and SAP runs the read on.
259
+ **Description:** [read-only] Reads one page of the runtime feed named by feed_type in one request, newest first: the ABAP short dumps (runtime errors) of the user, object_name or time range from–to given, or system messages or SAP Gateway errors. Optional: feed_type(dumps|system_messages|gateway_errors, default dumps), user, runtime_error, exception, object_name, package, component, top (1 to 100), from, to. Response: JSON { feed_type, count, entries, next_to }; each dump carries dump_id; next_to is the `to` of SAP's next link, present when more remain. The next link's page starts at the boundary second, inclusive: entries of that second may repeat; match them by dump_id. Runs on an ABAP session of its own. By default the call answers at once with a run_handle, whose result is read by that handle; with background false it answers the result in the call.
257
260
 
258
261
  **Available in:** cloud, onprem
259
262
 
260
263
  **Parameters:**
261
264
 
262
- - `timeout` — Seconds to wait for the answer: a whole number, at least 1, no default — without it the call waits until SAP answers. When it passes, the read is cancelled (its ABAP session is logged off) and the call answers that nothing was changed. Set it below your MCP client's request limit — the TypeScript SDK's client cancels at 60 s; a cancel does nothing to SAP.
265
+ - `background` — Default true: the read runs in the background on an ABAP session of its own and the call answers at once with a run_handle; HandlerBackgroundRunGet answers its result once, and HandlerBackgroundRunDiscard cancels it while it runs. false: the call answers the result itself.
263
266
  - `feed_type` — Which runtime feed to list. Default "dumps" (ABAP short dumps). "system_messages" and "gateway_errors" read the other two ADT runtime feeds through the same call.
264
267
  - `user` — Entries of this user.
265
268
  - `runtime_error` — Dumps whose runtime error contains this text, in any case.
@@ -312,11 +315,26 @@ per request.
312
315
  - `package_name` (required) — The binding's package, which the validation checks.
313
316
  - `description` — Binding description.
314
317
 
318
+ ### HandlerGetData
319
+
320
+ **Half:** `@mcp-abap-adt/compact-readonly-entries` (`compactDataEntries`). **Opt-in:** served only by a binary started with `--enable-data-tools` (`MCP_ENABLE_DATA_TOOLS`, `enable-data-tools`); off by default. SAP API Policy FAQ v1.3 (June 2026), Q33, says ADT APIs are not intended for reading application tables, exporting business data or running SQL against SAP systems; whether to enable it is the customer's decision.
321
+
322
+ **Description:** [read-only] Reads the rows of the table or CDS view named by object_name, or the rows sql_query selects: every column of object_name, or what sql_query selects with its columns, conditions and order. Required: object_name or sql_query. Optional: max_rows (default 100). Response: JSON. Runs on an ABAP session of its own. By default the call answers at once with a run_handle, whose result is read by that handle; with background false it answers the result in the call.
323
+
324
+ **Available in:** cloud, onprem
325
+
326
+ **Parameters:**
327
+
328
+ - `background` — Default true: the read runs in the background on an ABAP session of its own and the call answers at once with a run_handle; HandlerBackgroundRunGet answers its result once, and HandlerBackgroundRunDiscard cancels it while it runs. false: the call answers the result itself.
329
+ - `object_name` — Table or CDS view whose rows are read, all columns. Used when sql_query is absent.
330
+ - `sql_query` — ABAP SQL SELECT naming the columns, conditions and order to read.
331
+ - `max_rows` — Maximum number of rows returned.
332
+
315
333
  ### HandlerCreate
316
334
 
317
335
  **Half:** `@mcp-abap-adt/compact-modify`
318
336
 
319
- **Description:** Creates the object named by object_type and its name parameter (class_name, program_name, ddl_name, table_name, …): sends the create request for its type with the given parameters, and answers SAP's result. The object is created inactive. object_type required: PACKAGE(package_name*, super_package*), DOMAIN(domain_name*, package_name*), DATA_ELEMENT(data_element_name*, package_name*), TRANSPORT(description*), TABLE(table_name*, package_name*), STRUCTURE(structure_name*, package_name*), TABLE_TYPE(table_type_name*, package_name*), DDL(ddl_name*, package_name*), SERVICE_DEFINITION(service_definition_name*, package_name*), SERVICE_BINDING(service_binding_name*, service_definition_name*, package_name*), CLASS(class_name*, package_name*), PROGRAM(program_name*, package_name*), INCLUDE(include_name*, package_name*), INTERFACE(interface_name*, package_name*), FUNCTION_GROUP(function_group_name*, package_name*), FUNCTION_MODULE(function_module_name*, function_group_name*), BEHAVIOR_DEFINITION(name*, package_name*, implementation_type*), BEHAVIOR_IMPLEMENTATION(class_name*, package_name*), METADATA_EXTENSION(name*, package_name*). Optional for every type: description, transport_request.
337
+ **Description:** Creates the object named by object_type and its name parameter (class_name, program_name, ddl_name, table_name, …): sends the create request for its type with the given parameters, and answers SAP's result. The object is created inactive. object_type required: PACKAGE(package_name*, super_package*), DOMAIN(domain_name*, package_name*), DATA_ELEMENT(data_element_name*, package_name*), TRANSPORT(description*), TABLE(table_name*, package_name*), STRUCTURE(structure_name*, package_name*), TABLE_TYPE(table_type_name*, package_name*), DDL(ddl_name*, package_name*), SERVICE_DEFINITION(service_definition_name*, package_name*), SERVICE_BINDING(service_binding_name*, service_definition_name*, package_name*), CLASS(class_name*, package_name*), PROGRAM(program_name*, package_name*), INCLUDE(include_name*, package_name*), INTERFACE(interface_name*, package_name*), FUNCTION_GROUP(function_group_name*, package_name*), FUNCTION_MODULE(function_module_name*, function_group_name*), BEHAVIOR_DEFINITION(name*, package_name*, implementation_type*), BEHAVIOR_IMPLEMENTATION(class_name*, behavior_definition*, package_name*), METADATA_EXTENSION(name*, package_name*). Optional for every type: description, transport_request.
320
338
 
321
339
  **Available in:** cloud, onprem
322
340
 
@@ -324,6 +342,7 @@ per request.
324
342
 
325
343
  - `object_type` (required) — ABAP object type for routed compact operation.
326
344
  - `class_name` — ABAP class name (CLASS, BEHAVIOR_IMPLEMENTATION).
345
+ - `behavior_definition` — Behavior definition the implementation is for (BEHAVIOR_IMPLEMENTATION, required there).
327
346
  - `program_name` — ABAP program name.
328
347
  - `domain_name` — ABAP domain name.
329
348
  - `function_module_name` — ABAP function module name.
@@ -332,7 +351,7 @@ per request.
332
351
  - `ddl_name` — DDL source name (CDS view, AMDP table function, etc.).
333
352
  - `description` — Human-readable object description.
334
353
  - `transport_request` — Transport request id (if required by system).
335
- - `master_language` — Original language of the created object; the session language when absent.
354
+ - `master_language` — Original language of the created object (e.g. EN, DE). Absent, the session language (SAP_LANGUAGE or x-sap-language) is used; with none, SAP's logon language applies.
336
355
  - `super_package` — Super package (PACKAGE create).
337
356
  - `package_type` — Package type (PACKAGE create).
338
357
  - `software_component` — Software component (PACKAGE create).
@@ -342,10 +361,10 @@ per request.
342
361
  - `transport_type` — Transport request type (TRANSPORT create).
343
362
  - `target_system` — Target system of the transport request (TRANSPORT create).
344
363
  - `owner` — Owner of the transport request (TRANSPORT create).
364
+ - `task_type` — The type given to the request's task (TRANSPORT create): S — Development/Correction (default), R — Repair, X — Unclassified, as SAP creates it.
345
365
  - `superclass` — Superclass name (CLASS create).
346
366
  - `final` — Mark the class final (CLASS create).
347
367
  - `create_protected` — Protected constructor (CLASS create).
348
- - `program_type` — ABAP program type (PROGRAM create).
349
368
  - `application` — Application area (PROGRAM create).
350
369
  - `table_name` — Table name.
351
370
  - `structure_name` — Structure name.
@@ -360,6 +379,7 @@ per request.
360
379
  - `binding_variant` — Binding variant (SERVICE_BINDING create); ODATA_V4_UI when absent.
361
380
  - `name` — Object name for handlers that require a generic `name` (behavior definition, metadata extension).
362
381
  - `implementation_type` — Behavior definition implementation type.
382
+ - `detail` — How much of the answer to return: "terse" (default, the fields you need to act), "full" (the whole parse), "raw" (the document as ADT sent it).
363
383
 
364
384
  ### HandlerUpdate
365
385
 
@@ -441,7 +461,7 @@ per request.
441
461
 
442
462
  **Half:** `@mcp-abap-adt/compact-modify`
443
463
 
444
- **Description:** Activates the object named by object_name and object_type (or object_adt_type), or the objects named by objects, in one request. Single form (object_name*, object_type or object_adt_type*): object_type is enough for CLASS, PROGRAM, INCLUDE, INTERFACE, FUNCTION_GROUP, TABLE, STRUCTURE, TABLE_TYPE, DDL, DOMAIN, DATA_ELEMENT, BEHAVIOR_DEFINITION, METADATA_EXTENSION, PACKAGE, SERVICE_DEFINITION, SERVICE_BINDING and BEHAVIOR_IMPLEMENTATION; FUNCTION_MODULE(object_name* as GROUP|MODULE, or object_name* with function_group_name*) is activated under its function group; any other type takes object_adt_type (e.g. "CLAS/OC"), with parentName for a part of a function group (FUGR/FF, FUGR/I). List form (objects[].name*, objects[].type*, objects[].parentName, objects[].uri); an object of FUGR/FF, FUGR/I is listed with objects[].parentName set to its function group. One object of CLASS, PROGRAM, INTERFACE, FUNCTION_GROUP, TABLE, STRUCTURE, DDL, DOMAIN, DATA_ELEMENT, BEHAVIOR_DEFINITION, METADATA_EXTENSION or BEHAVIOR_IMPLEMENTATION (by object_type or its ADT type code) is activated directly and answers the activation verdict. Every other call starts an activation run and answers { run_id }: the id of the accepted run, whose status and messages are read by that id.
464
+ **Description:** Activates the object named by object_name and object_type (or object_adt_type), or the objects named by objects, in one request. Single form (object_name*, object_type or object_adt_type*): object_type is enough for CLASS, PROGRAM, INCLUDE, INTERFACE, FUNCTION_GROUP, TABLE, STRUCTURE, TABLE_TYPE, DDL, DOMAIN, DATA_ELEMENT, BEHAVIOR_DEFINITION, METADATA_EXTENSION, PACKAGE, SERVICE_DEFINITION, SERVICE_BINDING and BEHAVIOR_IMPLEMENTATION; FUNCTION_MODULE(object_name* as GROUP|MODULE, or object_name* with function_group_name*) is activated under its function group; any other type takes object_adt_type (e.g. "CLAS/OC"), with parentName for a part of a function group (FUGR/FF, FUGR/I). List form (objects[].name*, objects[].type*, objects[].parentName, objects[].uri); an object of FUGR/FF, FUGR/I is listed with objects[].parentName set to its function group. One object of CLASS, PROGRAM, INTERFACE, FUNCTION_GROUP, TABLE, STRUCTURE, DDL, DOMAIN, DATA_ELEMENT, BEHAVIOR_DEFINITION, METADATA_EXTENSION or BEHAVIOR_IMPLEMENTATION (by object_type or its ADT type code) is activated directly and answers the activation verdict. Every other call starts an activation run and answers { run_id }: the id of the accepted run, whose status and messages are read by that id. Where the system's discovery leaves out the activation runs (SAP_BASIS 751, 7.40), that call answers SAP's refusal; a group activation there is ActivateObjects (the full set) or ActivateObjectLow (the low handlers group).
445
465
 
446
466
  **Available in:** cloud, onprem
447
467
 
@@ -459,7 +479,7 @@ per request.
459
479
 
460
480
  **Half:** `@mcp-abap-adt/compact-modify`
461
481
 
462
- **Description:** Transport create. Required: description*. Optional: transport_type(workbench|customizing), target_system, owner. Response: JSON.
482
+ **Description:** Creates a transport request and gives its task the type task_type. Required: description*. Optional: transport_type(workbench|customizing), target_system, owner, task_type(S|R|X, default S). Response: JSON with transport_number, task_number and task_type.
463
483
 
464
484
  **Available in:** cloud, onprem
465
485
 
@@ -469,6 +489,7 @@ per request.
469
489
  - `description` (required) — Transport description.
470
490
  - `target_system` — Target system id.
471
491
  - `owner` — Transport owner user.
492
+ - `task_type` — Type given to the request's task: S Development/Correction (default), R Repair, X Unclassified.
472
493
 
473
494
  ### HandlerTransportSortAndCompress
474
495
 
@@ -500,7 +521,7 @@ per request.
500
521
 
501
522
  **Half:** `@mcp-abap-adt/compact-modify`
502
523
 
503
- **Description:** Lock operation. object_type required: CLASS(object_name*), PROGRAM(object_name*), INCLUDE(object_name*), INTERFACE(object_name*), FUNCTION_GROUP(object_name*), FUNCTION_MODULE(object_name*), TABLE(object_name*), STRUCTURE(object_name*), TABLE_TYPE(object_name*), DDL(object_name*), DOMAIN(object_name*), DATA_ELEMENT(object_name*), PACKAGE(object_name*, super_package*), BEHAVIOR_DEFINITION(object_name*), BEHAVIOR_IMPLEMENTATION(object_name*), METADATA_EXTENSION(object_name*), SERVICE_DEFINITION(object_name*), SERVICE_BINDING(object_name*). Answers the lock_handle; a SERVICE_BINDING open in an editing session answers an empty one, under which its publication runs. Over Streamable HTTP the answer also carries the state_handle of the instance that holds the lock: send it as the state_handle argument of every call under this lock, the write and the unlock (or in the x-mcp-state-handle header).
524
+ **Description:** Lock operation. object_type required: CLASS(object_name*), PROGRAM(object_name*), INCLUDE(object_name*), INTERFACE(object_name*), FUNCTION_GROUP(object_name*), FUNCTION_MODULE(object_name*), TABLE(object_name*), STRUCTURE(object_name*), TABLE_TYPE(object_name*), DDL(object_name*), DOMAIN(object_name*), DATA_ELEMENT(object_name*), PACKAGE(object_name*, super_package*), BEHAVIOR_DEFINITION(object_name*), BEHAVIOR_IMPLEMENTATION(object_name*), METADATA_EXTENSION(object_name*), SERVICE_DEFINITION(object_name*), SERVICE_BINDING(object_name*). Answers the lock_handle and the state_handle of the server instance that holds the lock; a SERVICE_BINDING open in an editing session answers an empty lock_handle, under which its publication runs. A write, a delete or an unlock under the lock_handle runs on the instance that holds it. Over Streamable HTTP send it as the state_handle argument of every call under this lock, the write and the unlock (or in the x-mcp-state-handle header).
504
525
 
505
526
  **Available in:** cloud, onprem
506
527
 
@@ -514,7 +535,7 @@ per request.
514
535
 
515
536
  **Half:** `@mcp-abap-adt/compact-modify`
516
537
 
517
- **Description:** Unlock operation. object_type required: CLASS(object_name*, lock_handle*), PROGRAM(object_name*, lock_handle*), INCLUDE(object_name*, lock_handle*), INTERFACE(object_name*, lock_handle*), FUNCTION_GROUP(object_name*, lock_handle*), FUNCTION_MODULE(object_name*, lock_handle*), TABLE(object_name*, lock_handle*), STRUCTURE(object_name*, lock_handle*), TABLE_TYPE(object_name*, lock_handle*), DDL(object_name*, lock_handle*), DOMAIN(object_name*, lock_handle*), DATA_ELEMENT(object_name*, lock_handle*), PACKAGE(object_name*, lock_handle*), BEHAVIOR_DEFINITION(object_name*, lock_handle*), BEHAVIOR_IMPLEMENTATION(object_name*, lock_handle*), METADATA_EXTENSION(object_name*, lock_handle*), SERVICE_DEFINITION(object_name*, lock_handle*), SERVICE_BINDING(object_name*, lock_handle*); an empty lock_handle of a SERVICE_BINDING answers that the binding is already unlocked. Over Streamable HTTP the unlock takes the lock's state_handle: send it as the state_handle argument of every call under the lock (or in the x-mcp-state-handle header); the unlock ends the instance's hold on the lock.
538
+ **Description:** Unlock operation. object_type required: CLASS(object_name*, lock_handle*), PROGRAM(object_name*, lock_handle*), INCLUDE(object_name*, lock_handle*), INTERFACE(object_name*, lock_handle*), FUNCTION_GROUP(object_name*, lock_handle*), FUNCTION_MODULE(object_name*, lock_handle*), TABLE(object_name*, lock_handle*), STRUCTURE(object_name*, lock_handle*), TABLE_TYPE(object_name*, lock_handle*), DDL(object_name*, lock_handle*), DOMAIN(object_name*, lock_handle*), DATA_ELEMENT(object_name*, lock_handle*), PACKAGE(object_name*, lock_handle*), BEHAVIOR_DEFINITION(object_name*, lock_handle*), BEHAVIOR_IMPLEMENTATION(object_name*, lock_handle*), METADATA_EXTENSION(object_name*, lock_handle*), SERVICE_DEFINITION(object_name*, lock_handle*), SERVICE_BINDING(object_name*, lock_handle*); an empty lock_handle of a SERVICE_BINDING answers that the binding is already unlocked. The lock_handle is one a lock of this server instance answered; the unlock ends the instance's hold on the lock. Over Streamable HTTP the unlock takes the lock's state_handle: send it as the state_handle argument of every call under the lock (or in the x-mcp-state-handle header).
518
539
 
519
540
  **Available in:** cloud, onprem
520
541
 
@@ -692,19 +713,19 @@ per request.
692
713
 
693
714
  **Half:** background-run tools of `@mcp-abap-adt/lib` (the write binaries, where `HandlerProfileRun` is)
694
715
 
695
- **Description:** [read-only] Reads one of your background runs by its run_handle: running, or finished with what the run tool answered (the system answer as it is, an error included). A read keeps the run.
716
+ **Description:** [read-only] Reads one of your background runs by its run_handle: running; finished with what the run tool answered (the system answer as it is, an error included); or cancelled. A read run's finished or cancelled answer is answered once and then deleted, so a lost answer is read again by starting the read again; a code run's answer is kept until it is discarded.
696
717
 
697
718
  **Available in:** all
698
719
 
699
720
  **Parameters:**
700
721
 
701
- - `run_handle` (required) — The run_handle a run started with background=true answered.
722
+ - `run_handle` (required) — The run_handle a background run answered at its start.
702
723
 
703
724
  ### HandlerBackgroundRunList
704
725
 
705
726
  **Half:** background-run tools of `@mcp-abap-adt/lib` (the write binaries, where `HandlerProfileRun` is)
706
727
 
707
- **Description:** [read-only] Lists your background runs: run_handle, tool, object, when it started, and running or finished. A run's output is read by its run_handle.
728
+ **Description:** [read-only] Lists your background runs: run_handle, tool, object, when it started, and its state: running, finished or cancelled. A run's output is read by its run_handle; a read run leaves the list once its answer was read.
708
729
 
709
730
  **Available in:** all
710
731
 
@@ -714,13 +735,13 @@ per request.
714
735
 
715
736
  **Half:** background-run tools of `@mcp-abap-adt/lib` (the write binaries, where `HandlerProfileRun` is)
716
737
 
717
- **Description:** [read-only] Removes the kept answer of one of your finished background runs. Works on a finished run; a started run runs to its end.
738
+ **Description:** [read-only] Ends the run named by run_handle: a running read is cancelled and its session logged off; a finished run's answer is deleted; a running code run is refused.
718
739
 
719
740
  **Available in:** all
720
741
 
721
742
  **Parameters:**
722
743
 
723
- - `run_handle` (required) — The run_handle a run started with background=true answered.
744
+ - `run_handle` (required) — The run_handle a background run answered at its start.
724
745
 
725
746
  ### HandlerLeftoverSessionList
726
747
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mcp-abap-adt/compact",
3
3
  "mcpName": "io.github.fr0ster/mcp-abap-adt-compact",
4
- "version": "23.1.0",
4
+ "version": "24.0.0",
5
5
  "description": "The compact MCP server for SAP ABAP ADT: one tool per operation with the object in the arguments — 28 tools instead of 370, for a host that cannot build a retrieval pipeline of its own. Connects over HTTP, RFC or SNC, configured as @mcp-abap-adt/core; RFC and SNC need the SAP NW RFC library at run time.",
6
6
  "license": "AGPL-3.0-only",
7
7
  "author": "Oleksii Kyslytsia <oleksij.kyslytsja@gmail.com>",
@@ -58,12 +58,12 @@
58
58
  "docs:tools": "node ./tools/generate-docs.js"
59
59
  },
60
60
  "dependencies": {
61
- "@mcp-abap-adt/background-runs-memory": "^23.1.0",
62
- "@mcp-abap-adt/compact-modify": "^23.1.0",
63
- "@mcp-abap-adt/compact-readonly-entries": "^23.1.0",
64
- "@mcp-abap-adt/lib": "^23.1.0",
65
- "@mcp-abap-adt/responsible-rules": "^23.1.0",
66
- "@mcp-abap-adt/server-runtime": "^23.1.0"
61
+ "@mcp-abap-adt/background-runs-memory": "^24.0.0",
62
+ "@mcp-abap-adt/compact-modify": "^24.0.0",
63
+ "@mcp-abap-adt/compact-readonly-entries": "^24.0.0",
64
+ "@mcp-abap-adt/lib": "^24.0.0",
65
+ "@mcp-abap-adt/responsible-rules": "^24.0.0",
66
+ "@mcp-abap-adt/server-runtime": "^24.0.0"
67
67
  },
68
68
  "devDependencies": {
69
69
  "typescript": "^6.0.2",