@mcp-abap-adt/core 2.3.0 → 2.4.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/CHANGELOG.md +31 -0
- package/README.md +3 -2
- package/dist/handlers/system/readonly/handleRuntimeCreateProfilerTraceParameters.d.ts +79 -0
- package/dist/handlers/system/readonly/handleRuntimeCreateProfilerTraceParameters.d.ts.map +1 -0
- package/dist/handlers/system/readonly/handleRuntimeCreateProfilerTraceParameters.js +75 -0
- package/dist/handlers/system/readonly/handleRuntimeCreateProfilerTraceParameters.js.map +1 -0
- package/dist/handlers/system/readonly/handleRuntimeGetDumpById.d.ts +27 -0
- package/dist/handlers/system/readonly/handleRuntimeGetDumpById.d.ts.map +1 -0
- package/dist/handlers/system/readonly/handleRuntimeGetDumpById.js +48 -0
- package/dist/handlers/system/readonly/handleRuntimeGetDumpById.js.map +1 -0
- package/dist/handlers/system/readonly/handleRuntimeGetDumpByUri.d.ts +27 -0
- package/dist/handlers/system/readonly/handleRuntimeGetDumpByUri.d.ts.map +1 -0
- package/dist/handlers/system/readonly/handleRuntimeGetDumpByUri.js +47 -0
- package/dist/handlers/system/readonly/handleRuntimeGetDumpByUri.js.map +1 -0
- package/dist/handlers/system/readonly/handleRuntimeGetProfilerTraceData.d.ts +53 -0
- package/dist/handlers/system/readonly/handleRuntimeGetProfilerTraceData.d.ts.map +1 -0
- package/dist/handlers/system/readonly/handleRuntimeGetProfilerTraceData.js +83 -0
- package/dist/handlers/system/readonly/handleRuntimeGetProfilerTraceData.js.map +1 -0
- package/dist/handlers/system/readonly/handleRuntimeListDumps.d.ts +48 -0
- package/dist/handlers/system/readonly/handleRuntimeListDumps.d.ts.map +1 -0
- package/dist/handlers/system/readonly/handleRuntimeListDumps.js +75 -0
- package/dist/handlers/system/readonly/handleRuntimeListDumps.js.map +1 -0
- package/dist/handlers/system/readonly/handleRuntimeListProfilerTraceFiles.d.ts +18 -0
- package/dist/handlers/system/readonly/handleRuntimeListProfilerTraceFiles.d.ts.map +1 -0
- package/dist/handlers/system/readonly/handleRuntimeListProfilerTraceFiles.js +39 -0
- package/dist/handlers/system/readonly/handleRuntimeListProfilerTraceFiles.js.map +1 -0
- package/dist/handlers/system/readonly/runtimePayloadParser.d.ts +6 -0
- package/dist/handlers/system/readonly/runtimePayloadParser.d.ts.map +1 -0
- package/dist/handlers/system/readonly/runtimePayloadParser.js +28 -0
- package/dist/handlers/system/readonly/runtimePayloadParser.js.map +1 -0
- package/dist/lib/config/ArgumentsParser.js +2 -2
- package/dist/lib/config/ArgumentsParser.js.map +1 -1
- package/dist/lib/config/ServerConfigManager.d.ts.map +1 -1
- package/dist/lib/config/ServerConfigManager.js +4 -2
- package/dist/lib/config/ServerConfigManager.js.map +1 -1
- package/dist/lib/config/yamlConfig.d.ts +2 -1
- package/dist/lib/config/yamlConfig.d.ts.map +1 -1
- package/dist/lib/config/yamlConfig.js +18 -7
- package/dist/lib/config/yamlConfig.js.map +1 -1
- package/dist/lib/handlers/groups/SystemHandlersGroup.d.ts.map +1 -1
- package/dist/lib/handlers/groups/SystemHandlersGroup.js +45 -0
- package/dist/lib/handlers/groups/SystemHandlersGroup.js.map +1 -1
- package/dist/lib/utils.d.ts.map +1 -1
- package/dist/lib/utils.js +5 -4
- package/dist/lib/utils.js.map +1 -1
- package/dist/server/SseServer.d.ts.map +1 -1
- package/dist/server/SseServer.js +7 -3
- package/dist/server/SseServer.js.map +1 -1
- package/dist/server/StreamableHttpServer.d.ts.map +1 -1
- package/dist/server/StreamableHttpServer.js +10 -5
- package/dist/server/StreamableHttpServer.js.map +1 -1
- package/dist/server/launcher.js +1 -1
- package/dist/server/launcher.js.map +1 -1
- package/docs/architecture/ARCHITECTURE.md +706 -0
- package/docs/architecture/README.md +1 -0
- package/docs/configuration/YAML_CONFIG.md +25 -22
- package/docs/user-guide/AVAILABLE_TOOLS.md +73 -3
- package/docs/user-guide/AVAILABLE_TOOLS_HIGH.md +1 -1
- package/docs/user-guide/AVAILABLE_TOOLS_LOW.md +1 -1
- package/docs/user-guide/AVAILABLE_TOOLS_READONLY.md +72 -2
- package/docs/user-guide/CLI_OPTIONS.md +6 -5
- package/package.json +7 -7
|
@@ -38,6 +38,7 @@ Handlers are organized into logical groups for flexible composition:
|
|
|
38
38
|
|
|
39
39
|
## Files
|
|
40
40
|
|
|
41
|
+
- **[ARCHITECTURE.md](ARCHITECTURE.md)** - Comprehensive architecture overview: server boot flow, transport/auth model, handler sets, runtime diagnostics tools, and extension points
|
|
41
42
|
- **[STATEFUL_SESSION_GUIDE.md](STATEFUL_SESSION_GUIDE.md)** - Stateful ADT request flow for lock/update/unlock operations
|
|
42
43
|
- **[TOOLS_ARCHITECTURE.md](TOOLS_ARCHITECTURE.md)** - MCP tools architecture and handler structure, explaining how tools are organized and how `TOOL_DEFINITION` works
|
|
43
44
|
- **[CONNECTION_ISOLATION.md](CONNECTION_ISOLATION.md)** - Connection isolation architecture, explaining how per-session connection isolation prevents data mixing between clients (version 1.1.10+)
|
|
@@ -6,7 +6,7 @@ The MCP ABAP ADT server supports YAML configuration files to simplify server set
|
|
|
6
6
|
|
|
7
7
|
1. **Generate a template:**
|
|
8
8
|
```bash
|
|
9
|
-
mcp-abap-adt --
|
|
9
|
+
mcp-abap-adt --conf=config.yaml
|
|
10
10
|
```
|
|
11
11
|
If the file doesn't exist, a template will be automatically generated.
|
|
12
12
|
|
|
@@ -15,7 +15,7 @@ The MCP ABAP ADT server supports YAML configuration files to simplify server set
|
|
|
15
15
|
|
|
16
16
|
3. **Run with config:**
|
|
17
17
|
```bash
|
|
18
|
-
mcp-abap-adt --
|
|
18
|
+
mcp-abap-adt --conf=config.yaml
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
## Command-Line Override
|
|
@@ -28,7 +28,7 @@ Command-line arguments **always override** YAML values. This allows you to:
|
|
|
28
28
|
Example:
|
|
29
29
|
```bash
|
|
30
30
|
# Use config.yaml but override the port
|
|
31
|
-
mcp-abap-adt --
|
|
31
|
+
mcp-abap-adt --conf=config.yaml --http-port=8080
|
|
32
32
|
```
|
|
33
33
|
|
|
34
34
|
## Configuration File Structure
|
|
@@ -41,8 +41,11 @@ transport: stdio
|
|
|
41
41
|
# Default MCP destination (uses auth-broker)
|
|
42
42
|
mcp: TRIAL
|
|
43
43
|
|
|
44
|
-
#
|
|
45
|
-
env:
|
|
44
|
+
# Env destination name in sessions store (e.g. trial -> trial.env)
|
|
45
|
+
env: trial
|
|
46
|
+
|
|
47
|
+
# Explicit path to .env file (recommended for file-based config)
|
|
48
|
+
env-path: .env
|
|
46
49
|
|
|
47
50
|
# Use unsafe mode (file-based session store)
|
|
48
51
|
unsafe: false
|
|
@@ -83,7 +86,8 @@ sse:
|
|
|
83
86
|
|--------|------|---------|-------------|
|
|
84
87
|
| `transport` | string | `stdio` | Transport type: `stdio` (default, for MCP clients), `http`, `streamable-http`, or `sse` |
|
|
85
88
|
| `mcp` | string | - | Default MCP destination name (uses auth-broker) |
|
|
86
|
-
| `env` | string | - |
|
|
89
|
+
| `env` | string | - | Destination name resolved from sessions store (`sessions/<name>.env`) |
|
|
90
|
+
| `env-path` | string | - | Explicit path to `.env` file |
|
|
87
91
|
| `unsafe` | boolean | `false` | Use file-based session store (persists to disk) |
|
|
88
92
|
| `auth-broker` | boolean | `false` | Force use of auth-broker (service keys) instead of `.env` |
|
|
89
93
|
| `auth-broker-path` | string | - | Custom path for auth-broker storage |
|
|
@@ -120,7 +124,7 @@ mcp: TRIAL
|
|
|
120
124
|
|
|
121
125
|
Usage:
|
|
122
126
|
```bash
|
|
123
|
-
mcp-abap-adt --
|
|
127
|
+
mcp-abap-adt --conf=config.yaml
|
|
124
128
|
```
|
|
125
129
|
|
|
126
130
|
### Example 2: HTTP Mode with Custom Port
|
|
@@ -134,7 +138,7 @@ http:
|
|
|
134
138
|
|
|
135
139
|
Usage:
|
|
136
140
|
```bash
|
|
137
|
-
mcp-abap-adt --
|
|
141
|
+
mcp-abap-adt --conf=config.yaml
|
|
138
142
|
```
|
|
139
143
|
|
|
140
144
|
### Example 3: SSE Mode with CORS
|
|
@@ -150,19 +154,19 @@ sse:
|
|
|
150
154
|
|
|
151
155
|
Usage:
|
|
152
156
|
```bash
|
|
153
|
-
mcp-abap-adt --
|
|
157
|
+
mcp-abap-adt --conf=config.yaml
|
|
154
158
|
```
|
|
155
159
|
|
|
156
160
|
### Example 4: stdio Mode with .env File
|
|
157
161
|
|
|
158
162
|
```yaml
|
|
159
163
|
transport: stdio
|
|
160
|
-
env: .env
|
|
164
|
+
env-path: .env
|
|
161
165
|
```
|
|
162
166
|
|
|
163
167
|
Usage:
|
|
164
168
|
```bash
|
|
165
|
-
mcp-abap-adt --
|
|
169
|
+
mcp-abap-adt --conf=config.yaml
|
|
166
170
|
```
|
|
167
171
|
|
|
168
172
|
### Example 5: HTTP Mode with Auth-Broker
|
|
@@ -178,7 +182,7 @@ http:
|
|
|
178
182
|
|
|
179
183
|
Usage:
|
|
180
184
|
```bash
|
|
181
|
-
mcp-abap-adt --
|
|
185
|
+
mcp-abap-adt --conf=config.yaml
|
|
182
186
|
```
|
|
183
187
|
|
|
184
188
|
## Testing Scenarios
|
|
@@ -194,7 +198,7 @@ mcp: TRIAL
|
|
|
194
198
|
### Test Config 2: stdio-env.yaml
|
|
195
199
|
```yaml
|
|
196
200
|
transport: stdio
|
|
197
|
-
env: .env
|
|
201
|
+
env-path: .env
|
|
198
202
|
```
|
|
199
203
|
|
|
200
204
|
### Test Config 3: http-default.yaml
|
|
@@ -215,10 +219,10 @@ sse:
|
|
|
215
219
|
|
|
216
220
|
Run tests with different configs:
|
|
217
221
|
```bash
|
|
218
|
-
mcp-abap-adt --
|
|
219
|
-
mcp-abap-adt --
|
|
220
|
-
mcp-abap-adt --
|
|
221
|
-
mcp-abap-adt --
|
|
222
|
+
mcp-abap-adt --conf=stdio-stdio.yaml
|
|
223
|
+
mcp-abap-adt --conf=stdio-env.yaml
|
|
224
|
+
mcp-abap-adt --conf=http-default.yaml
|
|
225
|
+
mcp-abap-adt --conf=sse-cors.yaml
|
|
222
226
|
```
|
|
223
227
|
|
|
224
228
|
## Benefits
|
|
@@ -231,7 +235,7 @@ mcp-abap-adt --config=sse-cors.yaml
|
|
|
231
235
|
|
|
232
236
|
## Template Generation
|
|
233
237
|
|
|
234
|
-
When you specify `--config=<path>` and the file doesn't exist, a template is automatically generated with:
|
|
238
|
+
When you specify `--conf=<path>` (or `--config=<path>`) and the file doesn't exist, a template is automatically generated with:
|
|
235
239
|
- All available options
|
|
236
240
|
- Default values
|
|
237
241
|
- Comments explaining each option
|
|
@@ -248,13 +252,13 @@ Edit the template to customize your configuration.
|
|
|
248
252
|
Examples:
|
|
249
253
|
```bash
|
|
250
254
|
# Relative path (resolved from current directory)
|
|
251
|
-
mcp-abap-adt --
|
|
255
|
+
mcp-abap-adt --conf=config.yaml
|
|
252
256
|
|
|
253
257
|
# Absolute path
|
|
254
|
-
mcp-abap-adt --
|
|
258
|
+
mcp-abap-adt --conf=/path/to/config.yaml
|
|
255
259
|
|
|
256
260
|
# Home directory
|
|
257
|
-
mcp-abap-adt --
|
|
261
|
+
mcp-abap-adt --conf=~/config.yaml
|
|
258
262
|
```
|
|
259
263
|
|
|
260
264
|
## Error Handling
|
|
@@ -269,4 +273,3 @@ If the YAML file has syntax errors or invalid values:
|
|
|
269
273
|
- [CLI Options](user-guide/CLI_OPTIONS.md) - Complete list of command-line options
|
|
270
274
|
- [Client Configuration](user-guide/CLIENT_CONFIGURATION.md) - How to configure MCP clients
|
|
271
275
|
- [Installation Guide](installation/INSTALLATION.md) - Server installation instructions
|
|
272
|
-
|
|
@@ -4,8 +4,8 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
4
4
|
|
|
5
5
|
## Summary
|
|
6
6
|
|
|
7
|
-
- Total tools:
|
|
8
|
-
- Read-only tools:
|
|
7
|
+
- Total tools: 243
|
|
8
|
+
- Read-only tools: 32
|
|
9
9
|
- High-level tools: 89
|
|
10
10
|
- Low-level tools: 122
|
|
11
11
|
|
|
@@ -44,6 +44,11 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
44
44
|
- [GetTransaction](#gettransaction-read-only-system)
|
|
45
45
|
- [GetTypeInfo](#gettypeinfo-read-only-system)
|
|
46
46
|
- [GetWhereUsed](#getwhereused-read-only-system)
|
|
47
|
+
- [RuntimeCreateProfilerTraceParameters](#runtimecreateprofilertraceparameters-read-only-system)
|
|
48
|
+
- [RuntimeGetDumpById](#runtimegetdumpbyid-read-only-system)
|
|
49
|
+
- [RuntimeGetProfilerTraceData](#runtimegetprofilertracedata-read-only-system)
|
|
50
|
+
- [RuntimeListDumps](#runtimelistdumps-read-only-system)
|
|
51
|
+
- [RuntimeListProfilerTraceFiles](#runtimelistprofilertracefiles-read-only-system)
|
|
47
52
|
- [Table](#read-only-table)
|
|
48
53
|
- [GetTableContents](#gettablecontents-read-only-table)
|
|
49
54
|
- [Transport](#read-only-transport)
|
|
@@ -608,6 +613,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
608
613
|
**Source:** `src/handlers/system/readonly/handleGetTypeInfo.ts`
|
|
609
614
|
|
|
610
615
|
**Parameters:**
|
|
616
|
+
- `include_structure_fallback` (boolean, optional (default: true)) - When true (default), tries DDIC structure lookup only if type lookup returns 404/empty.
|
|
611
617
|
- `type_name` (string, required) - Name of the ABAP type
|
|
612
618
|
|
|
613
619
|
---
|
|
@@ -625,6 +631,70 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
625
631
|
|
|
626
632
|
---
|
|
627
633
|
|
|
634
|
+
<a id="runtimecreateprofilertraceparameters-read-only-system"></a>
|
|
635
|
+
#### RuntimeCreateProfilerTraceParameters (Read-Only / System)
|
|
636
|
+
**Description:** [runtime] Create ABAP profiler trace parameters and return profilerId (URI) for profiled execution.
|
|
637
|
+
|
|
638
|
+
**Source:** `src/handlers/system/readonly/handleRuntimeCreateProfilerTraceParameters.ts`
|
|
639
|
+
|
|
640
|
+
**Parameters:**
|
|
641
|
+
- `description` (string, required) - Human-readable trace description.
|
|
642
|
+
|
|
643
|
+
---
|
|
644
|
+
|
|
645
|
+
<a id="runtimegetdumpbyid-read-only-system"></a>
|
|
646
|
+
#### RuntimeGetDumpById (Read-Only / System)
|
|
647
|
+
**Description:** [runtime] Read a specific ABAP runtime dump by dump ID. Returns parsed JSON payload.
|
|
648
|
+
|
|
649
|
+
**Source:** `src/handlers/system/readonly/handleRuntimeGetDumpById.ts`
|
|
650
|
+
|
|
651
|
+
**Parameters:**
|
|
652
|
+
- `dump_id` (string, required) - Runtime dump ID (for example: 694AB694097211F1929806D06D234D38).
|
|
653
|
+
|
|
654
|
+
---
|
|
655
|
+
|
|
656
|
+
<a id="runtimegetprofilertracedata-read-only-system"></a>
|
|
657
|
+
#### RuntimeGetProfilerTraceData (Read-Only / System)
|
|
658
|
+
**Description:** [runtime] Read profiler trace data by trace id/uri: hitlist, statements, or db accesses. Returns parsed JSON payload.
|
|
659
|
+
|
|
660
|
+
**Source:** `src/handlers/system/readonly/handleRuntimeGetProfilerTraceData.ts`
|
|
661
|
+
|
|
662
|
+
**Parameters:**
|
|
663
|
+
- `auto_drill_down_threshold` (number, optional) - Auto drill-down threshold (for statements view).
|
|
664
|
+
- `id` (number, optional) - Statement node ID (for statements view).
|
|
665
|
+
- `trace_id_or_uri` (string, required) - Profiler trace ID or full ADT trace URI.
|
|
666
|
+
- `view` (string, required) - Trace view to retrieve.
|
|
667
|
+
- `with_details` (boolean, optional) - Include statement details (for statements view).
|
|
668
|
+
- `with_system_events` (boolean, optional) - Include system events.
|
|
669
|
+
|
|
670
|
+
---
|
|
671
|
+
|
|
672
|
+
<a id="runtimelistdumps-read-only-system"></a>
|
|
673
|
+
#### RuntimeListDumps (Read-Only / System)
|
|
674
|
+
**Description:** [runtime] List ABAP runtime dumps with optional user filter and paging. Returns parsed JSON payload.
|
|
675
|
+
|
|
676
|
+
**Source:** `src/handlers/system/readonly/handleRuntimeListDumps.ts`
|
|
677
|
+
|
|
678
|
+
**Parameters:**
|
|
679
|
+
- `inlinecount` (string, optional) - Include total count metadata.
|
|
680
|
+
- `orderby` (string, optional) - ADT order by expression.
|
|
681
|
+
- `skip` (number, optional) - Number of records to skip.
|
|
682
|
+
- `top` (number, optional) - Maximum number of records to return.
|
|
683
|
+
- `user` (string, optional) - Optional username filter. If omitted, dumps for all users are returned.
|
|
684
|
+
|
|
685
|
+
---
|
|
686
|
+
|
|
687
|
+
<a id="runtimelistprofilertracefiles-read-only-system"></a>
|
|
688
|
+
#### RuntimeListProfilerTraceFiles (Read-Only / System)
|
|
689
|
+
**Description:** [runtime] List ABAP profiler trace files available in ADT runtime. Returns parsed JSON payload.
|
|
690
|
+
|
|
691
|
+
**Source:** `src/handlers/system/readonly/handleRuntimeListProfilerTraceFiles.ts`
|
|
692
|
+
|
|
693
|
+
**Parameters:**
|
|
694
|
+
- None
|
|
695
|
+
|
|
696
|
+
---
|
|
697
|
+
|
|
628
698
|
<a id="read-only-table"></a>
|
|
629
699
|
### Read-Only / Table
|
|
630
700
|
|
|
@@ -3742,4 +3812,4 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
3742
3812
|
|
|
3743
3813
|
---
|
|
3744
3814
|
|
|
3745
|
-
*Last updated: 2026-02-
|
|
3815
|
+
*Last updated: 2026-02-15*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Generated from code in `src/handlers/**` (not from docs).
|
|
4
4
|
|
|
5
5
|
- Level: Read-Only
|
|
6
|
-
- Total tools:
|
|
6
|
+
- Total tools: 32
|
|
7
7
|
|
|
8
8
|
## Navigation
|
|
9
9
|
|
|
@@ -40,6 +40,11 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
40
40
|
- [GetTransaction](#gettransaction-read-only-system)
|
|
41
41
|
- [GetTypeInfo](#gettypeinfo-read-only-system)
|
|
42
42
|
- [GetWhereUsed](#getwhereused-read-only-system)
|
|
43
|
+
- [RuntimeCreateProfilerTraceParameters](#runtimecreateprofilertraceparameters-read-only-system)
|
|
44
|
+
- [RuntimeGetDumpById](#runtimegetdumpbyid-read-only-system)
|
|
45
|
+
- [RuntimeGetProfilerTraceData](#runtimegetprofilertracedata-read-only-system)
|
|
46
|
+
- [RuntimeListDumps](#runtimelistdumps-read-only-system)
|
|
47
|
+
- [RuntimeListProfilerTraceFiles](#runtimelistprofilertracefiles-read-only-system)
|
|
43
48
|
- [Table](#read-only-table)
|
|
44
49
|
- [GetTableContents](#gettablecontents-read-only-table)
|
|
45
50
|
- [Transport](#read-only-transport)
|
|
@@ -355,6 +360,7 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
355
360
|
**Source:** `src/handlers/system/readonly/handleGetTypeInfo.ts`
|
|
356
361
|
|
|
357
362
|
**Parameters:**
|
|
363
|
+
- `include_structure_fallback` (boolean, optional (default: true)) - When true (default), tries DDIC structure lookup only if type lookup returns 404/empty.
|
|
358
364
|
- `type_name` (string, required) - Name of the ABAP type
|
|
359
365
|
|
|
360
366
|
---
|
|
@@ -372,6 +378,70 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
372
378
|
|
|
373
379
|
---
|
|
374
380
|
|
|
381
|
+
<a id="runtimecreateprofilertraceparameters-read-only-system"></a>
|
|
382
|
+
#### RuntimeCreateProfilerTraceParameters (Read-Only / System)
|
|
383
|
+
**Description:** [runtime] Create ABAP profiler trace parameters and return profilerId (URI) for profiled execution.
|
|
384
|
+
|
|
385
|
+
**Source:** `src/handlers/system/readonly/handleRuntimeCreateProfilerTraceParameters.ts`
|
|
386
|
+
|
|
387
|
+
**Parameters:**
|
|
388
|
+
- `description` (string, required) - Human-readable trace description.
|
|
389
|
+
|
|
390
|
+
---
|
|
391
|
+
|
|
392
|
+
<a id="runtimegetdumpbyid-read-only-system"></a>
|
|
393
|
+
#### RuntimeGetDumpById (Read-Only / System)
|
|
394
|
+
**Description:** [runtime] Read a specific ABAP runtime dump by dump ID. Returns parsed JSON payload.
|
|
395
|
+
|
|
396
|
+
**Source:** `src/handlers/system/readonly/handleRuntimeGetDumpById.ts`
|
|
397
|
+
|
|
398
|
+
**Parameters:**
|
|
399
|
+
- `dump_id` (string, required) - Runtime dump ID (for example: 694AB694097211F1929806D06D234D38).
|
|
400
|
+
|
|
401
|
+
---
|
|
402
|
+
|
|
403
|
+
<a id="runtimegetprofilertracedata-read-only-system"></a>
|
|
404
|
+
#### RuntimeGetProfilerTraceData (Read-Only / System)
|
|
405
|
+
**Description:** [runtime] Read profiler trace data by trace id/uri: hitlist, statements, or db accesses. Returns parsed JSON payload.
|
|
406
|
+
|
|
407
|
+
**Source:** `src/handlers/system/readonly/handleRuntimeGetProfilerTraceData.ts`
|
|
408
|
+
|
|
409
|
+
**Parameters:**
|
|
410
|
+
- `auto_drill_down_threshold` (number, optional) - Auto drill-down threshold (for statements view).
|
|
411
|
+
- `id` (number, optional) - Statement node ID (for statements view).
|
|
412
|
+
- `trace_id_or_uri` (string, required) - Profiler trace ID or full ADT trace URI.
|
|
413
|
+
- `view` (string, required) - Trace view to retrieve.
|
|
414
|
+
- `with_details` (boolean, optional) - Include statement details (for statements view).
|
|
415
|
+
- `with_system_events` (boolean, optional) - Include system events.
|
|
416
|
+
|
|
417
|
+
---
|
|
418
|
+
|
|
419
|
+
<a id="runtimelistdumps-read-only-system"></a>
|
|
420
|
+
#### RuntimeListDumps (Read-Only / System)
|
|
421
|
+
**Description:** [runtime] List ABAP runtime dumps with optional user filter and paging. Returns parsed JSON payload.
|
|
422
|
+
|
|
423
|
+
**Source:** `src/handlers/system/readonly/handleRuntimeListDumps.ts`
|
|
424
|
+
|
|
425
|
+
**Parameters:**
|
|
426
|
+
- `inlinecount` (string, optional) - Include total count metadata.
|
|
427
|
+
- `orderby` (string, optional) - ADT order by expression.
|
|
428
|
+
- `skip` (number, optional) - Number of records to skip.
|
|
429
|
+
- `top` (number, optional) - Maximum number of records to return.
|
|
430
|
+
- `user` (string, optional) - Optional username filter. If omitted, dumps for all users are returned.
|
|
431
|
+
|
|
432
|
+
---
|
|
433
|
+
|
|
434
|
+
<a id="runtimelistprofilertracefiles-read-only-system"></a>
|
|
435
|
+
#### RuntimeListProfilerTraceFiles (Read-Only / System)
|
|
436
|
+
**Description:** [runtime] List ABAP profiler trace files available in ADT runtime. Returns parsed JSON payload.
|
|
437
|
+
|
|
438
|
+
**Source:** `src/handlers/system/readonly/handleRuntimeListProfilerTraceFiles.ts`
|
|
439
|
+
|
|
440
|
+
**Parameters:**
|
|
441
|
+
- None
|
|
442
|
+
|
|
443
|
+
---
|
|
444
|
+
|
|
375
445
|
<a id="read-only-table"></a>
|
|
376
446
|
### Read-Only / Table
|
|
377
447
|
|
|
@@ -402,4 +472,4 @@ Generated from code in `src/handlers/**` (not from docs).
|
|
|
402
472
|
|
|
403
473
|
---
|
|
404
474
|
|
|
405
|
-
*Last updated: 2026-02-
|
|
475
|
+
*Last updated: 2026-02-15*
|
|
@@ -20,16 +20,16 @@ The help message shows all available options for all transport modes.
|
|
|
20
20
|
|
|
21
21
|
### YAML Configuration File
|
|
22
22
|
|
|
23
|
-
**--
|
|
23
|
+
**--conf=\<path\>** or **--conf \<path\>** (alias: `--config`)
|
|
24
24
|
|
|
25
25
|
Load server configuration from a YAML file instead of command-line arguments. If the file doesn't exist, a template will be automatically generated.
|
|
26
26
|
|
|
27
27
|
```bash
|
|
28
28
|
# Use YAML config file
|
|
29
|
-
mcp-abap-adt --
|
|
29
|
+
mcp-abap-adt --conf=config.yaml
|
|
30
30
|
|
|
31
31
|
# Override YAML values with command-line arguments
|
|
32
|
-
mcp-abap-adt --
|
|
32
|
+
mcp-abap-adt --conf=config.yaml --http-port=8080
|
|
33
33
|
```
|
|
34
34
|
|
|
35
35
|
**Benefits:**
|
|
@@ -132,7 +132,7 @@ mcp-abap-adt --transport=sse
|
|
|
132
132
|
|
|
133
133
|
**--mcp=\<destination\>**
|
|
134
134
|
|
|
135
|
-
Default MCP destination name. When specified, this destination
|
|
135
|
+
Default MCP destination name. When specified, this destination is used when `x-mcp-destination` header is not provided.
|
|
136
136
|
|
|
137
137
|
```bash
|
|
138
138
|
# Use stdio with auth-broker (--mcp parameter)
|
|
@@ -141,7 +141,7 @@ mcp-abap-adt --transport=stdio --mcp=TRIAL
|
|
|
141
141
|
# Use SSE with auth-broker (--mcp parameter)
|
|
142
142
|
mcp-abap-adt --transport=sse --mcp=TRIAL
|
|
143
143
|
|
|
144
|
-
# Use HTTP with default destination (
|
|
144
|
+
# Use HTTP with default destination (fallback when x-mcp-destination is not provided)
|
|
145
145
|
mcp-abap-adt --transport=http --mcp=TRIAL
|
|
146
146
|
```
|
|
147
147
|
|
|
@@ -149,6 +149,7 @@ mcp-abap-adt --transport=http --mcp=TRIAL
|
|
|
149
149
|
- For **stdio transport**: The server initializes auth-broker with the specified destination at startup
|
|
150
150
|
- For **SSE transport**: The server uses the specified destination when `x-mcp-destination` header is not provided
|
|
151
151
|
- For **HTTP transport**: The server uses the specified destination as a fallback when `x-mcp-destination` header is not provided
|
|
152
|
+
- If neither header nor default destination is provided, HTTP/SSE requests are rejected with `400` (missing SAP connection context)
|
|
152
153
|
- **`.env` file is not loaded automatically** when `--mcp` is specified (even if it exists in current directory)
|
|
153
154
|
- **`.env` file is not considered mandatory** for stdio and SSE transports when `--mcp` is specified
|
|
154
155
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mcp-abap-adt/core",
|
|
3
3
|
"mcpName": "io.github.fr0ster/mcp-abap-adt",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.4.0",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"exports": {
|
|
@@ -125,13 +125,13 @@
|
|
|
125
125
|
"yaml": "^2.8.1"
|
|
126
126
|
},
|
|
127
127
|
"dependencies": {
|
|
128
|
-
"@mcp-abap-adt/adt-clients": "^0.3.
|
|
129
|
-
"@mcp-abap-adt/auth-broker": "^0.
|
|
130
|
-
"@mcp-abap-adt/auth-providers": "^0.
|
|
131
|
-
"@mcp-abap-adt/auth-stores": "^0.
|
|
132
|
-
"@mcp-abap-adt/connection": "^
|
|
128
|
+
"@mcp-abap-adt/adt-clients": "^0.3.16",
|
|
129
|
+
"@mcp-abap-adt/auth-broker": "^1.0.5",
|
|
130
|
+
"@mcp-abap-adt/auth-providers": "^1.0.5",
|
|
131
|
+
"@mcp-abap-adt/auth-stores": "^1.0.2",
|
|
132
|
+
"@mcp-abap-adt/connection": "^1.1.0",
|
|
133
133
|
"@mcp-abap-adt/header-validator": "^0.1.8",
|
|
134
|
-
"@mcp-abap-adt/interfaces": "^
|
|
134
|
+
"@mcp-abap-adt/interfaces": "^2.5.0",
|
|
135
135
|
"@mcp-abap-adt/logger": "^0.1.4",
|
|
136
136
|
"@modelcontextprotocol/sdk": "^1.26.0",
|
|
137
137
|
"axios": "^1.13.5",
|