@mcp-abap-adt/compact 14.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.
@@ -0,0 +1,462 @@
1
+ # Compact Tools — MCP ABAP ADT
2
+
3
+ Generated from the built packages, not from source text: these are the tool
4
+ definitions a client receives.
5
+
6
+ - Tools: 22
7
+ - Read-only half: `@mcp-abap-adt/compact-readonly`
8
+ - Modifying half: `@mcp-abap-adt/compact-modify`
9
+ - Command: `mcp-abap-adt-compact` (`@mcp-abap-adt/compact`)
10
+
11
+ ## How it works
12
+
13
+ One tool per OPERATION, with the object in `object_type`: `HandlerCreate` with
14
+ `object_type: "CLASS"` rather than a `CreateClass` tool. 22 schemas instead of
15
+ the object-oriented surface's hundreds, for a host that cannot select tools
16
+ per request.
17
+
18
+ ## Tools
19
+
20
+ ### HandlerGet
21
+
22
+ **Half:** `@mcp-abap-adt/compact-readonly`
23
+
24
+ **Description:** Read operation. object_type required: PACKAGE(package_name*), DOMAIN(domain_name*), DATA_ELEMENT(data_element_name*), TABLE(table_name*), STRUCTURE(structure_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*) [onprem only], INTERFACE(interface_name*), FUNCTION_GROUP(function_group_name*), FUNCTION_MODULE(function_module_name*, 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*).
25
+
26
+ **Available in:** cloud, onprem
27
+
28
+ **Parameters:**
29
+
30
+ - `object_type` (required) — ABAP object type for routed compact operation.
31
+ - `package_name` — Package name.
32
+ - `class_name` — Class name.
33
+ - `interface_name` — Interface name.
34
+ - `program_name` — Program name.
35
+ - `domain_name` — Domain name.
36
+ - `data_element_name` — Data element name.
37
+ - `table_name` — Table name.
38
+ - `structure_name` — Structure name.
39
+ - `ddl_name` — DDL source name.
40
+ - `function_module_name` — Function module name.
41
+ - `function_group_name` — Function group name.
42
+ - `behavior_definition_name` — Behavior definition name.
43
+ - `behavior_implementation_name` — Behavior implementation name.
44
+ - `metadata_extension_name` — Metadata extension name.
45
+ - `service_definition_name` — Service definition name.
46
+ - `service_binding_name` — Service binding name.
47
+ - `run_id` — Unit test run id.
48
+ - `response_format` — Response format for SERVICE_BINDING reads.
49
+ - `version` — Object version to read/check.
50
+
51
+ ### HandlerValidate
52
+
53
+ **Half:** `@mcp-abap-adt/compact-readonly`
54
+
55
+ **Description:** Validate before create only. object_type required: CLASS(object_name*), PROGRAM(object_name*) [onprem only], INTERFACE(object_name*), FUNCTION_GROUP(object_name*), FUNCTION_MODULE(object_name*), TABLE(object_name*), STRUCTURE(object_name*), DDL(object_name*), DOMAIN(object_name*), DATA_ELEMENT(object_name*), PACKAGE(object_name*), BEHAVIOR_DEFINITION(object_name*), BEHAVIOR_IMPLEMENTATION(object_name*), METADATA_EXTENSION(object_name*), SERVICE_BINDING(object_name*=service_binding_name*, service_definition_name*).
56
+
57
+ **Available in:** cloud, onprem
58
+
59
+ **Parameters:**
60
+
61
+ - `object_type` (required) — Object type to validate before create. Supported: CLASS, PROGRAM, INTERFACE, FUNCTION_GROUP, FUNCTION_MODULE, TABLE, STRUCTURE, DDL, DOMAIN, DATA_ELEMENT, PACKAGE, BEHAVIOR_DEFINITION, BEHAVIOR_IMPLEMENTATION, METADATA_EXTENSION, SERVICE_BINDING.
62
+ - `object_name` (required) — Required object name. For SERVICE_BINDING this is the service binding name.
63
+ - `package_name` — Optional package context for validation (especially for create scenarios).
64
+ - `description` — Optional object description used during validation.
65
+ - `behavior_definition` — Optional behavior definition name, used when validating behavior implementation.
66
+ - `root_entity` — Optional CDS root entity name, used for behavior-related validation.
67
+ - `implementation_type` — Optional implementation type, used for behavior implementation validation.
68
+ - `service_definition_name` — Required when object_type=SERVICE_BINDING. Service definition paired with the binding.
69
+ - `service_binding_version` — Optional service binding version for SERVICE_BINDING.
70
+ - `session_id` — Optional ADT session id for stateful validation flow.
71
+ - `session_state` — Optional ADT session state container (cookies/CSRF) for stateful validation flow.
72
+
73
+ ### HandlerCheckRun
74
+
75
+ **Half:** `@mcp-abap-adt/compact-readonly`
76
+
77
+ **Description:** CheckRun operation (syntax, no activation). object_type required: CLASS(object_name*), PROGRAM(object_name*) [onprem only], INTERFACE(object_name*), FUNCTION_GROUP(object_name*), FUNCTION_MODULE(object_name*), TABLE(object_name*), STRUCTURE(object_name*), DDL(object_name*), DOMAIN(object_name*), DATA_ELEMENT(object_name*), PACKAGE(object_name*), BEHAVIOR_DEFINITION(object_name*), BEHAVIOR_IMPLEMENTATION(object_name*), METADATA_EXTENSION(object_name*).
78
+
79
+ **Available in:** cloud, onprem
80
+
81
+ **Parameters:**
82
+
83
+ - `object_type` (required) — ABAP object type for routed compact operation.
84
+ - `object_name` (required) — Primary object name for lifecycle operation.
85
+ - `version` — Version to syntax-check.
86
+ - `session_id` — Optional ADT session id for stateful check flow.
87
+ - `session_state` — Optional ADT session state container (cookies/CSRF) for stateful check flow.
88
+
89
+ ### HandlerUnitTestStatus
90
+
91
+ **Half:** `@mcp-abap-adt/compact-readonly`
92
+
93
+ **Description:** ABAP Unit status. object_type: not used. Required: run_id*. Optional: with_long_polling. Response: JSON.
94
+
95
+ **Available in:** cloud, onprem
96
+
97
+ **Parameters:**
98
+
99
+ - `run_id` (required) — Unit test run id.
100
+ - `with_long_polling` — Use long polling while waiting for completion.
101
+
102
+ ### HandlerUnitTestResult
103
+
104
+ **Half:** `@mcp-abap-adt/compact-readonly`
105
+
106
+ **Description:** ABAP Unit result. object_type: not used. Required: run_id*. Optional: with_navigation_uris, format(abapunit|junit). Response: JSON.
107
+
108
+ **Available in:** cloud, onprem
109
+
110
+ **Parameters:**
111
+
112
+ - `run_id` (required) — Unit test run id.
113
+ - `with_navigation_uris` — Include ADT navigation URIs in the result payload.
114
+ - `format` — Result format.
115
+
116
+ ### HandlerCdsUnitTestStatus
117
+
118
+ **Half:** `@mcp-abap-adt/compact-readonly`
119
+
120
+ **Description:** CDS unit test status. object_type: not used. Required: run_id*. Optional: with_long_polling. Response: JSON.
121
+
122
+ **Available in:** cloud, onprem
123
+
124
+ **Parameters:**
125
+
126
+ - `run_id` (required) — Unit test run id.
127
+ - `with_long_polling` — Use long polling while waiting for completion.
128
+
129
+ ### HandlerCdsUnitTestResult
130
+
131
+ **Half:** `@mcp-abap-adt/compact-readonly`
132
+
133
+ **Description:** CDS unit test result. object_type: not used. Required: run_id*. Optional: with_navigation_uris, format(abapunit|junit). Response: JSON.
134
+
135
+ **Available in:** cloud, onprem
136
+
137
+ **Parameters:**
138
+
139
+ - `run_id` (required) — Unit test run id.
140
+ - `with_navigation_uris` — Include ADT navigation URIs in the result payload.
141
+ - `format` — Result format.
142
+
143
+ ### HandlerProfileList
144
+
145
+ **Half:** `@mcp-abap-adt/compact-readonly`
146
+
147
+ **Description:** Runtime profiling list. object_type: not used. Required: none. Response: JSON.
148
+
149
+ **Available in:** cloud, onprem
150
+
151
+ **Parameters:** none
152
+
153
+ ### HandlerProfileView
154
+
155
+ **Half:** `@mcp-abap-adt/compact-readonly`
156
+
157
+ **Description:** Runtime profiling view. object_type: not used. 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.
158
+
159
+ **Available in:** cloud, onprem
160
+
161
+ **Parameters:**
162
+
163
+ - `trace_id_or_uri` (required) — Profiler trace id or URI.
164
+ - `view` (required) — Profiler trace view kind.
165
+ - `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.
166
+ - `top` — Number of top-ranked rows to include when mode is "analyze". Default 10. Ignored for mode "raw".
167
+ - `with_system_events` — Include system events in analysis.
168
+ - `id` — Optional statement/access id.
169
+ - `with_details` — Include detailed payload.
170
+ - `auto_drill_down_threshold` — Auto drill-down threshold.
171
+
172
+ ### HandlerDumpList
173
+
174
+ **Half:** `@mcp-abap-adt/compact-readonly`
175
+
176
+ **Description:** Runtime feed list. object_type: not used. Optional: feed_type(dumps|system_messages|gateway_errors, default dumps), user, top, from, to. Response: JSON.
177
+
178
+ **Available in:** cloud, onprem
179
+
180
+ **Parameters:**
181
+
182
+ - `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.
183
+ - `user` — Filter entries by user.
184
+ - `top` — Limit number of returned entries.
185
+ - `from` — Start of time range (YYYYMMDDHHMMSS).
186
+ - `to` — End of time range (YYYYMMDDHHMMSS).
187
+
188
+ ### HandlerDumpView
189
+
190
+ **Half:** `@mcp-abap-adt/compact-readonly`
191
+
192
+ **Description:** Runtime dump view. object_type: not used. Required: dump_id*. Optional: view(default|summary|formatted). Response: JSON.
193
+
194
+ **Available in:** cloud, onprem
195
+
196
+ **Parameters:**
197
+
198
+ - `dump_id` (required) — Runtime dump id.
199
+ - `view` — Dump rendering mode.
200
+
201
+ ### HandlerServiceBindingListTypes
202
+
203
+ **Half:** `@mcp-abap-adt/compact-readonly`
204
+
205
+ **Description:** Service binding types list. object_type: not used. Required: none. Optional: response_format(xml|json|plain). Response: XML/JSON/plain by response_format.
206
+
207
+ **Available in:** cloud, onprem
208
+
209
+ **Parameters:**
210
+
211
+ - `response_format` — Response format for protocol types list.
212
+
213
+ ### HandlerServiceBindingValidate
214
+
215
+ **Half:** `@mcp-abap-adt/compact-readonly`
216
+
217
+ **Description:** Service binding validate before create. object_type: not used. Required: service_binding_name*, service_definition_name*. Optional: service_binding_version, package_name, description. Response: JSON.
218
+
219
+ **Available in:** cloud, onprem
220
+
221
+ **Parameters:**
222
+
223
+ - `service_binding_name` (required) — Service binding name to validate.
224
+ - `service_definition_name` (required) — Service definition name to pair with binding.
225
+ - `service_binding_version` — Service binding version.
226
+ - `package_name` — Target package name.
227
+ - `description` — Binding description.
228
+
229
+ ### HandlerCreate
230
+
231
+ **Half:** `@mcp-abap-adt/compact-modify`
232
+
233
+ **Description:** Create operation. object_type required: PACKAGE(package_name*), DOMAIN(domain_name*), DATA_ELEMENT(data_element_name*), TABLE(table_name*), STRUCTURE(structure_name*), DDL(ddl_name*), SERVICE_DEFINITION(service_definition_name*), SERVICE_BINDING(service_binding_name*), CLASS(class_name*), PROGRAM(program_name*) [onprem only], INTERFACE(interface_name*), FUNCTION_GROUP(function_group_name*), FUNCTION_MODULE(function_module_name*, function_group_name*), BEHAVIOR_DEFINITION(name*, package_name*, root_entity*, implementation_type*), BEHAVIOR_IMPLEMENTATION(class_name*, behavior_definition*, package_name*), METADATA_EXTENSION(name*, package_name*), UNIT_TEST(tests*), CDS_UNIT_TEST(class_name*, package_name*, cds_view_name*).
234
+
235
+ **Available in:** cloud, onprem
236
+
237
+ **Parameters:**
238
+
239
+ - `object_type` (required) — ABAP object type for routed compact operation.
240
+ - `class_name` — ABAP class name.
241
+ - `program_name` — ABAP program name.
242
+ - `domain_name` — ABAP domain name.
243
+ - `function_module_name` — ABAP function module name.
244
+ - `function_group_name` — ABAP function group name.
245
+ - `package_name` — ABAP package name.
246
+ - `ddl_name` — DDL source name (CDS view, AMDP table function, etc.).
247
+ - `description` — Human-readable object description.
248
+ - `transport_request` — Transport request id (if required by system).
249
+ - `activate` — Activate object after create.
250
+ - `program_type` — ABAP program type.
251
+ - `application` — Domain application area.
252
+ - `datatype` — ABAP data type.
253
+ - `length` — Length for typed artifacts.
254
+ - `decimals` — Decimal places.
255
+ - `conversion_exit` — Conversion exit name.
256
+ - `lowercase` — Allow lowercase values (domain setting).
257
+ - `sign_exists` — Allow signed values (domain setting).
258
+ - `value_table` — Foreign key value table.
259
+ - `fixed_values` — Domain fixed values list.
260
+ - `table_name` — Table name.
261
+ - `structure_name` — Structure name.
262
+ - `data_element_name` — Data element name.
263
+ - `interface_name` — Interface name.
264
+ - `service_definition_name` — Service definition name.
265
+ - `service_binding_name` — Service binding name.
266
+ - `name` — Object name for handlers that require a generic `name` (behavior definition, metadata extension).
267
+ - `root_entity` — Root CDS entity name (behavior definition create).
268
+ - `implementation_type` — Behavior definition implementation type.
269
+ - `behavior_definition` — Referenced behavior definition name (behavior implementation create).
270
+ - `cds_view_name` — CDS view name to validate for unit test doubles.
271
+ - `fields` — Structure fields (for STRUCTURE create).
272
+ - `tests` — Container/test class pairs (for UNIT_TEST create).
273
+
274
+ ### HandlerUpdate
275
+
276
+ **Half:** `@mcp-abap-adt/compact-modify`
277
+
278
+ **Description:** Update operation. object_type required: PACKAGE(package_name*), DOMAIN(domain_name*), DATA_ELEMENT(data_element_name*), TABLE(table_name*), STRUCTURE(structure_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*) [onprem only], INTERFACE(interface_name*), FUNCTION_GROUP(function_group_name*), FUNCTION_MODULE(function_module_name*, function_group_name*), BEHAVIOR_DEFINITION(name*, source_code*), BEHAVIOR_IMPLEMENTATION(class_name*, behavior_definition*, implementation_code*), METADATA_EXTENSION(name*, source_code*), UNIT_TEST(run_id*), CDS_UNIT_TEST(class_name*, test_class_source*).
279
+
280
+ **Available in:** cloud, onprem
281
+
282
+ **Parameters:**
283
+
284
+ - `object_type` (required) — ABAP object type for routed compact operation.
285
+ - `class_name` — ABAP class name.
286
+ - `program_name` — ABAP program name.
287
+ - `domain_name` — ABAP domain name.
288
+ - `function_module_name` — ABAP function module name.
289
+ - `function_group_name` — ABAP function group name.
290
+ - `package_name` — ABAP package name.
291
+ - `ddl_name` — DDL source name (CDS view, AMDP table function, etc.).
292
+ - `source_code` — ABAP source code payload.
293
+ - `ddl_source` — Complete DDL source code (for DDL update).
294
+ - `transport_request` — Transport request id (if required by system).
295
+ - `activate` — Activate object after update.
296
+ - `description` — Human-readable object description.
297
+ - `datatype` — ABAP data type.
298
+ - `length` — Length for typed artifacts.
299
+ - `decimals` — Decimal places.
300
+ - `conversion_exit` — Conversion exit name.
301
+ - `lowercase` — Allow lowercase values (domain setting).
302
+ - `sign_exists` — Allow signed values (domain setting).
303
+ - `value_table` — Foreign key value table.
304
+ - `fixed_values` — Domain fixed values list.
305
+ - `table_name` — Table name.
306
+ - `structure_name` — Structure name.
307
+ - `data_element_name` — Data element name.
308
+ - `interface_name` — Interface name.
309
+ - `service_definition_name` — Service definition name.
310
+ - `service_binding_name` — Service binding name.
311
+ - `service_name` — Published service name (service binding update).
312
+ - `name` — Object name for handlers that require a generic `name` (behavior definition, metadata extension).
313
+ - `behavior_definition` — Referenced behavior definition name (behavior implementation update).
314
+ - `ddl_code` — Complete DDL source code (for TABLE/STRUCTURE update).
315
+ - `implementation_code` — Behavior implementation methods source code.
316
+ - `test_class_source` — Updated local test class source (CDS_UNIT_TEST update).
317
+ - `test_class_code` — Updated source for the local test class.
318
+ - `local_types_code` — Updated source for class local types.
319
+ - `definitions_code` — Updated source for class local definitions.
320
+ - `macros_code` — Updated source for class local macros.
321
+ - `run_id` — Unit test run id (UNIT_TEST update).
322
+ - `binding_variant` — Service binding variant (service binding update).
323
+ - `desired_publication_state` — Target publication state (service binding update).
324
+
325
+ ### HandlerDelete
326
+
327
+ **Half:** `@mcp-abap-adt/compact-modify`
328
+
329
+ **Description:** Delete operation. object_type required: DOMAIN(domain_name*), DATA_ELEMENT(data_element_name*), TABLE(table_name*), STRUCTURE(structure_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*) [onprem only], INTERFACE(interface_name*), FUNCTION_GROUP(function_group_name*), FUNCTION_MODULE(function_module_name*, 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(class_name*).
330
+
331
+ **Available in:** cloud, onprem
332
+
333
+ **Parameters:**
334
+
335
+ - `object_type` (required) — ABAP object type for routed compact operation.
336
+ - `class_name` — ABAP class name.
337
+ - `program_name` — ABAP program name.
338
+ - `domain_name` — ABAP domain name.
339
+ - `function_module_name` — ABAP function module name.
340
+ - `function_group_name` — ABAP function group name.
341
+ - `ddl_name` — DDL source name (CDS view, AMDP table function, etc.).
342
+ - `transport_request` — Transport request id (if required by system).
343
+ - `table_name` — Table name.
344
+ - `structure_name` — Structure name.
345
+ - `data_element_name` — Data element name.
346
+ - `interface_name` — Interface name.
347
+ - `service_definition_name` — Service definition name.
348
+ - `service_binding_name` — Service binding name.
349
+ - `behavior_definition_name` — Behavior definition name.
350
+ - `behavior_implementation_name` — Behavior implementation name.
351
+ - `metadata_extension_name` — Metadata extension name.
352
+ - `run_id` — Unit test run id (UNIT_TEST delete).
353
+
354
+ ### HandlerActivate
355
+
356
+ **Half:** `@mcp-abap-adt/compact-modify`
357
+
358
+ **Description:** Activate operation. Single mode(object_name*, object_type or object_adt_type*). object_type is enough for CLASS, PROGRAM [onprem only], INTERFACE, FUNCTION_GROUP, TABLE, STRUCTURE, DDL, DOMAIN, DATA_ELEMENT, BEHAVIOR_DEFINITION, METADATA_EXTENSION, PACKAGE, SERVICE_DEFINITION and SERVICE_BINDING; any other type needs object_adt_type (e.g. "CLAS/OC"). FUNCTION_MODULE needs the batch mode with objects[].parentName set to its function group, because a module is addressed under the group. Batch mode(objects[].name*, objects[].type*, objects[].parentName, objects[].uri).
359
+
360
+ **Available in:** cloud, onprem
361
+
362
+ **Parameters:**
363
+
364
+ - `object_type` — ABAP object type for routed compact operation. For single-object activation, this alone is enough — no ADT type code needed.
365
+ - `object_name` — Object name for single-object activation form.
366
+ - `object_adt_type` — ADT object type code (e.g. CLAS/OC, PROG/P), for a type object_type does not cover. Only needed when object_type is not enough; prefer object_type otherwise.
367
+ - `objects` — Explicit objects list for batch activation.
368
+ - `preaudit` — Run pre-audit checks before activation.
369
+
370
+ ### HandlerTransportCreate
371
+
372
+ **Half:** `@mcp-abap-adt/compact-modify`
373
+
374
+ **Description:** Transport create. object_type: not used. Required: description*. Optional: transport_type(workbench|customizing), target_system, owner. Response: JSON.
375
+
376
+ **Available in:** cloud, onprem
377
+
378
+ **Parameters:**
379
+
380
+ - `transport_type` — Transport type.
381
+ - `description` (required) — Transport description.
382
+ - `target_system` — Target system id.
383
+ - `owner` — Transport owner user.
384
+
385
+ ### HandlerLock
386
+
387
+ **Half:** `@mcp-abap-adt/compact-modify`
388
+
389
+ **Description:** Lock operation. object_type required: CLASS(object_name*), PROGRAM(object_name*) [onprem only], INTERFACE(object_name*), FUNCTION_GROUP(object_name*), FUNCTION_MODULE(object_name*), TABLE(object_name*), STRUCTURE(object_name*), DDL(object_name*), DOMAIN(object_name*), DATA_ELEMENT(object_name*), PACKAGE(object_name*), BEHAVIOR_DEFINITION(object_name*), BEHAVIOR_IMPLEMENTATION(object_name*), METADATA_EXTENSION(object_name*).
390
+
391
+ **Available in:** cloud, onprem
392
+
393
+ **Parameters:**
394
+
395
+ - `object_type` (required) — ABAP object type for routed compact operation.
396
+ - `object_name` (required) — Primary object name for lifecycle operation.
397
+ - `super_package` — Super package context when relevant.
398
+ - `session_id` — Optional ADT session id for stateful lock flow.
399
+ - `session_state` — Optional ADT session state container (cookies/CSRF) for stateful lock flow.
400
+
401
+ ### HandlerUnlock
402
+
403
+ **Half:** `@mcp-abap-adt/compact-modify`
404
+
405
+ **Description:** Unlock operation. object_type required: CLASS(object_name*, lock_handle*, session_id*), PROGRAM(object_name*, lock_handle*, session_id*) [onprem only], INTERFACE(object_name*, lock_handle*, session_id*), FUNCTION_GROUP(object_name*, lock_handle*, session_id*), FUNCTION_MODULE(object_name*, lock_handle*, session_id*), TABLE(object_name*, lock_handle*, session_id*), STRUCTURE(object_name*, lock_handle*, session_id*), DDL(object_name*, lock_handle*, session_id*), DOMAIN(object_name*, lock_handle*, session_id*), DATA_ELEMENT(object_name*, lock_handle*, session_id*), PACKAGE(object_name*, lock_handle*, session_id*), BEHAVIOR_DEFINITION(object_name*, lock_handle*, session_id*), BEHAVIOR_IMPLEMENTATION(object_name*, lock_handle*, session_id*), METADATA_EXTENSION(object_name*, lock_handle*, session_id*).
406
+
407
+ **Available in:** cloud, onprem
408
+
409
+ **Parameters:**
410
+
411
+ - `object_type` (required) — ABAP object type for routed compact operation.
412
+ - `object_name` (required) — Primary object name for lifecycle operation.
413
+ - `lock_handle` (required) — Lock handle returned by lock.
414
+ - `session_id` (required) — ADT session id used during lock.
415
+ - `session_state` — Optional ADT session state container (cookies/CSRF) for stateful unlock flow.
416
+
417
+ ### HandlerUnitTestRun
418
+
419
+ **Half:** `@mcp-abap-adt/compact-modify`
420
+
421
+ **Description:** ABAP Unit run. object_type: not used. Required: tests[]{container_class*, test_class*}. Optional: title, context, scope, risk_level, duration. Response: JSON.
422
+
423
+ **Available in:** cloud, onprem
424
+
425
+ **Parameters:**
426
+
427
+ - `tests` (required) — List of test classes to run.
428
+ - `title` — Run title shown in ABAP Unit logs.
429
+ - `context` — Run context label.
430
+ - `scope` — ABAP Unit scope flags.
431
+ - `risk_level` — Allowed risk levels.
432
+ - `duration` — Allowed duration classes.
433
+
434
+ ### HandlerProfileRun
435
+
436
+ **Half:** `@mcp-abap-adt/compact-modify`
437
+
438
+ **Description:** Runtime profiling run. object_type: not used. Required: target_type*(CLASS|PROGRAM) + class_name* for CLASS or program_name* for PROGRAM [onprem only — ABAP Cloud has no programs]. Optional: profiling(default true; set false for a plain run with no trace), profiling flags, description. Response: JSON.
439
+
440
+ **Available in:** cloud, onprem
441
+
442
+ **Parameters:**
443
+
444
+ - `target_type` (required) — Profile execution target kind.
445
+ - `class_name` — Class name for profiling.
446
+ - `program_name` — Program name for profiling.
447
+ - `profiling` — Whether to capture a profiler trace while running. Default true. Set false for a plain run with no tracing — the profiling flags below are then ignored.
448
+ - `description` — Profiler run description.
449
+ - `all_procedural_units` — Trace all procedural units.
450
+ - `all_misc_abap_statements` — Trace miscellaneous ABAP statements.
451
+ - `all_internal_table_events` — Trace internal table events.
452
+ - `all_dynpro_events` — Trace dynpro events.
453
+ - `aggregate` — Aggregate profiling data.
454
+ - `explicit_on_off` — Use explicit on/off trace sections.
455
+ - `with_rfc_tracing` — Enable RFC tracing.
456
+ - `all_system_kernel_events` — Trace system kernel events.
457
+ - `sql_trace` — Enable SQL trace.
458
+ - `all_db_events` — Trace all DB events.
459
+ - `max_size_for_trace_file` — Maximum trace file size.
460
+ - `amdp_trace` — Enable AMDP tracing.
461
+ - `max_time_for_tracing` — Maximum tracing time.
462
+
package/package.json ADDED
@@ -0,0 +1,69 @@
1
+ {
2
+ "name": "@mcp-abap-adt/compact",
3
+ "version": "14.0.0",
4
+ "description": "The compact MCP server for SAP ABAP ADT: one tool per operation with the object in the arguments \u2014 22 tools instead of 370, for a host that cannot build a retrieval pipeline of its own.",
5
+ "license": "AGPL-3.0-only",
6
+ "author": "Oleksii Kyslytsia <oleksij.kyslytsja@gmail.com>",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/fr0ster/mcp-abap-adt.git"
10
+ },
11
+ "homepage": null,
12
+ "bugs": null,
13
+ "keywords": [
14
+ "sap",
15
+ "abap",
16
+ "adt",
17
+ "mcp",
18
+ "mcp-server",
19
+ "compact"
20
+ ],
21
+ "type": "commonjs",
22
+ "main": "dist/index.js",
23
+ "types": "dist/index.d.ts",
24
+ "exports": {
25
+ ".": {
26
+ "types": "./dist/index.d.ts",
27
+ "import": "./dist/index.js",
28
+ "require": "./dist/index.js"
29
+ },
30
+ "./launcher": {
31
+ "types": "./dist/launcher.d.ts",
32
+ "import": "./dist/launcher.js",
33
+ "require": "./dist/launcher.js"
34
+ }
35
+ },
36
+ "bin": {
37
+ "mcp-abap-adt-compact": "./bin/mcp-abap-adt-compact.js"
38
+ },
39
+ "files": [
40
+ "dist/",
41
+ "bin/",
42
+ "docs/",
43
+ "README.md",
44
+ "LICENSE"
45
+ ],
46
+ "engines": {
47
+ "node": ">=22.0.0",
48
+ "npm": ">=9.0.0"
49
+ },
50
+ "scripts": {
51
+ "prebuild": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"",
52
+ "build": "npx tsc -p tsconfig.json",
53
+ "test": "jest --passWithNoTests",
54
+ "lint:check": "npx biome check src",
55
+ "prepublishOnly": "npm run build",
56
+ "start": "node ./bin/mcp-abap-adt-compact.js",
57
+ "docs:tools": "node ./tools/generate-docs.js"
58
+ },
59
+ "dependencies": {
60
+ "@mcp-abap-adt/compact-modify": "^14.0.0",
61
+ "@mcp-abap-adt/compact-readonly": "^14.0.0",
62
+ "@mcp-abap-adt/core": "^14.0.0",
63
+ "@mcp-abap-adt/lib": "^14.0.0"
64
+ },
65
+ "devDependencies": {
66
+ "typescript": "^6.0.2",
67
+ "@types/node": "^22.20.4"
68
+ }
69
+ }