@mcp-abap-adt/compact-sse 24.1.1 → 24.2.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.
Files changed (2) hide show
  1. package/README.md +4 -4
  2. package/package.json +23 -9
package/README.md CHANGED
@@ -7,7 +7,7 @@ of its own.
7
7
  It is [`@mcp-abap-adt/sse`](https://www.npmjs.com/package/@mcp-abap-adt/sse)'s launcher — the one in
8
8
  [`@mcp-abap-adt/server-runtime`](https://www.npmjs.com/package/@mcp-abap-adt/server-runtime) — with the
9
9
  compact tool set and nothing else: the same options, the same credentials, the same failures and
10
- shutdown as `mcp-abap-adt-sse`; only the tools differ. The 16 that change nothing alone are
10
+ shutdown as `mcp-abap-adt-sse`; only the tools differ. The 17 that change nothing alone are
11
11
  [`@mcp-abap-adt/compact-sse-ro`](https://www.npmjs.com/package/@mcp-abap-adt/compact-sse-ro)
12
12
  (`mcp-abap-adt-compact-sse-ro`): the binary fixes the tool set (19.0.0). stdio is
13
13
  [`@mcp-abap-adt/compact`](https://www.npmjs.com/package/@mcp-abap-adt/compact), the other HTTP
@@ -25,13 +25,13 @@ mcp-abap-adt-compact-sse --help # every option, from this bi
25
25
 
26
26
  There is no `--transport`: a binary is its transport.
27
27
 
28
- **The low set's analogue.** The low set left the full binaries in 19.0.0; its single-step operations are compact's: `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; `part` is taken by INCLUDE alone, `source` when absent), `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`). **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).
28
+ **The low set's analogue.** The low set left the full binaries in 19.0.0; its single-step operations are compact's: `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; `part` is taken by INCLUDE alone, `source` when absent), `HandlerLock` `action: unlock`, `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`). **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
29
 
30
30
  **Credentials** come only from the `x-sap-*` headers of the `GET` that opens each SSE connection — `x-sap-url`, `x-sap-client`, and `x-sap-jwt-token` or `x-sap-login` with `x-sap-password`; a `POST` is routed by its `sessionId` alone. Nothing is shared with another connection, and nothing outlives it. A request without them is answered `400`; so is one
31
31
  carrying `x-mcp-destination` (destinations are served only by `mcp-abap-adt`, stdio).
32
32
 
33
- **The tools are fixed by the binary**: all 28, the four debugger tools (`HandlerDebugBreakpoints`,
34
- `HandlerDebugSession`, `HandlerDebugStep`, `HandlerDebugMaintain`), the debugger batch (`HandlerDebugBatch`), the background-run tools and `HandlerBatch` — 36; `HandlerGetData`, one of the 28, only with `--enable-data-tools` (37). `--exposition` (`ro`, `rw`, `debug`, any word) and a config file's
33
+ **The tools are fixed by the binary**: all 29, the four debugger tools (`HandlerDebugBreakpoints`,
34
+ `HandlerDebugSession`, `HandlerDebugStep`, `HandlerDebugMaintain`), the debugger batch (`HandlerDebugBatch`), the background-run tools and `HandlerBatch` — 37; `HandlerGetData`, one of the 29, only with `--enable-data-tools` (38). `--exposition` (`ro`, `rw`, `debug`, any word) and a config file's
35
35
  `exposition` stop the start, naming the binary to install instead
36
36
  (`mcp-abap-adt-compact-sse-ro` for `ro`). No leftover-session tool and no runtime session file: one server holds the sessions of many
37
37
  users, so those are the stdio binaries' (`mcp-abap-adt-compact`, `mcp-abap-adt-compact-ro`); resuming
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@mcp-abap-adt/compact-sse",
3
3
  "mcpName": "io.github.fr0ster/mcp-abap-adt-compact-sse",
4
- "version": "24.1.1",
5
- "description": "The compact MCP server for SAP ABAP ADT over HTTP+SSE: one tool per operation with the object in the arguments — 28 tools instead of 370 — with credentials only from the x-sap-* headers of the request that opens each SSE connection. No auth broker, no stores.",
4
+ "version": "24.2.0",
5
+ "description": "The compact MCP server for SAP ABAP ADT over HTTP+SSE, on premise (ECC, S/4HANA) and SAP BTP ABAP Cloud: one tool per operation with the object type in the arguments: CRUD, where-used, ATC, unit tests, transports, the debugger, abapGit, batch mode, MCP prompts and access restrictions. Credentials only from the x-sap-* headers of the request that opens each SSE connection. No auth broker, no stores.",
6
6
  "license": "AGPL-3.0-only",
7
7
  "publishConfig": {
8
8
  "access": "public"
@@ -13,12 +13,26 @@
13
13
  "url": "git+https://github.com/fr0ster/mcp-abap-adt.git"
14
14
  },
15
15
  "keywords": [
16
- "sap",
17
16
  "abap",
17
+ "sap",
18
18
  "adt",
19
19
  "mcp",
20
20
  "mcp-server",
21
+ "model-context-protocol",
22
+ "abap-cloud",
23
+ "sap-btp",
24
+ "s4hana",
25
+ "on-premise",
26
+ "where-used",
27
+ "atc",
28
+ "abap-unit",
29
+ "transports",
30
+ "mcp-prompts",
31
+ "access-control",
32
+ "crud",
33
+ "debugger",
21
34
  "compact",
35
+ "batch",
22
36
  "sse"
23
37
  ],
24
38
  "type": "commonjs",
@@ -58,12 +72,12 @@
58
72
  "start": "node ./bin/mcp-abap-adt-compact-sse.js"
59
73
  },
60
74
  "dependencies": {
61
- "@mcp-abap-adt/background-runs-memory": "^24.1.1",
62
- "@mcp-abap-adt/compact-modify": "^24.1.1",
63
- "@mcp-abap-adt/compact-readonly-entries": "^24.1.1",
64
- "@mcp-abap-adt/lib": "^24.1.1",
65
- "@mcp-abap-adt/responsible-rules": "^24.1.1",
66
- "@mcp-abap-adt/server-runtime": "^24.1.1"
75
+ "@mcp-abap-adt/background-runs-memory": "^24.2.0",
76
+ "@mcp-abap-adt/compact-modify": "^24.2.0",
77
+ "@mcp-abap-adt/compact-readonly-entries": "^24.2.0",
78
+ "@mcp-abap-adt/lib": "^24.2.0",
79
+ "@mcp-abap-adt/responsible-rules": "^24.2.0",
80
+ "@mcp-abap-adt/server-runtime": "^24.2.0"
67
81
  },
68
82
  "devDependencies": {
69
83
  "typescript": "^6.0.2",