@mcp-abap-adt/http-ro 19.1.0 → 19.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.
- package/README.md +2 -2
- package/bin/mcp-abap-adt-http-ro.js +1 -1
- package/dist/launcher.d.ts +7 -4
- package/dist/launcher.d.ts.map +1 -1
- package/dist/launcher.js +10 -6
- package/dist/launcher.js.map +1 -1
- package/package.json +5 -3
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@ The read-only MCP server for SAP ABAP ADT over **Streamable HTTP**:
|
|
|
4
4
|
the `mcp-abap-adt-http-ro` command. **The binary fixes the tool set** (19.0.0): there is no `--exposition`;
|
|
5
5
|
installing this package is how you choose the tools that change nothing.
|
|
6
6
|
|
|
7
|
-
It is [`@mcp-abap-adt/http`](https://www.npmjs.com/package/@mcp-abap-adt/http)'s launcher with the read-only tool set (`fullReadOnlyToolSet` of `@mcp-abap-adt/lib/tool-set`) and nothing else: the same options, credentials, failures and shutdown as `mcp-abap-adt-http`; only the tools differ. It
|
|
7
|
+
It is [`@mcp-abap-adt/http`](https://www.npmjs.com/package/@mcp-abap-adt/http)'s launcher — the one in [`@mcp-abap-adt/server-runtime`](https://www.npmjs.com/package/@mcp-abap-adt/server-runtime) — with the read-only tool set (`fullReadOnlyToolSet` of `@mcp-abap-adt/lib/tool-set`) and nothing else: the same options, credentials, failures and shutdown as `mcp-abap-adt-http`; only the tools differ. It depends on no other server package (not on `@mcp-abap-adt/http`, not on `@mcp-abap-adt/core`).
|
|
8
8
|
|
|
9
9
|
## The tools
|
|
10
10
|
|
|
@@ -43,7 +43,7 @@ There is no `--transport` (a binary is its transport) and no `--exposition`: pas
|
|
|
43
43
|
config file's `exposition`, stops the start with a sentence naming the binary that serves what you
|
|
44
44
|
asked for — for example `--exposition=high` names `mcp-abap-adt-http` (`@mcp-abap-adt/http`).
|
|
45
45
|
|
|
46
|
-
**Credentials** come only from each request's `x-sap-*` headers — `x-sap-url`, `x-sap-client`, and `x-sap-jwt-token` or `x-sap-login` with `x-sap-password`; nothing is stored, shared or cached across requests. A request without them is answered `400`; so is one carrying `x-mcp-destination` (destinations are served only over stdio). No auth broker, no stores.
|
|
46
|
+
**Credentials** come only from each request's `x-sap-*` headers — `x-sap-url`, `x-sap-client`, and `x-sap-jwt-token` or `x-sap-login` with `x-sap-password`; nothing is stored, shared or cached across requests. A request without them is answered `400`; so is one carrying `x-mcp-destination` (destinations are served only over stdio). No auth broker, no stores: `@mcp-abap-adt/auth-broker` and `auth-stores` are installed with `server-runtime` and never loaded.
|
|
47
47
|
|
|
48
48
|
Every binary and its tools:
|
|
49
49
|
[Handler sets](https://github.com/fr0ster/mcp-abap-adt/blob/main/docs/user-guide/HANDLERS_MANAGEMENT.md);
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* mcp-abap-adt-http-ro — the read-only MCP ABAP ADT server over Streamable HTTP.
|
|
5
5
|
*
|
|
6
|
-
* `@mcp-abap-adt/http`'s launcher with the read-only tool set, started in this
|
|
6
|
+
* `@mcp-abap-adt/server-runtime/http`'s launcher with the read-only tool set, started in this
|
|
7
7
|
* process.
|
|
8
8
|
*/
|
|
9
9
|
const { main } = require('../dist/launcher.js');
|
package/dist/launcher.d.ts
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* `mcp-abap-adt-http-ro` — the read-only tool set over Streamable HTTP.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
4
|
+
* The runtime's Streamable HTTP `main` with `fullReadOnlyToolSet`, and this command's name and
|
|
5
5
|
* version. Nothing else: http's table, credentials, cancellation, failures and
|
|
6
|
-
* shutdown.
|
|
7
|
-
*
|
|
6
|
+
* shutdown. The launcher is `@mcp-abap-adt/server-runtime/http`'s; the
|
|
7
|
+
* package depends on lib, the runtime,
|
|
8
|
+
* background-runs-memory, responsible-rules, never on another binary package.
|
|
8
9
|
*
|
|
9
10
|
* **Why a package of its own:** the binary fixes the tool set (the owner's
|
|
10
11
|
* decision), and a user installs only what they need. The high,
|
|
11
12
|
* debugger, background-run and resume tools are `mcp-abap-adt-http`'s.
|
|
12
13
|
*/
|
|
13
|
-
import { main as httpMain } from '@mcp-abap-adt/http/launcher';
|
|
14
14
|
import { type LauncherEdges } from '@mcp-abap-adt/lib/config';
|
|
15
15
|
import { type ToolSet } from '@mcp-abap-adt/lib/tool-set';
|
|
16
|
+
import { main as httpMain } from '@mcp-abap-adt/server-runtime/http';
|
|
16
17
|
/**
|
|
17
18
|
* The read-only tool set: readonly (with system and search). No high, no debugger, no background run,
|
|
18
19
|
* no resume.
|
|
@@ -23,5 +24,7 @@ export declare const readOnlyToolSet: ToolSet;
|
|
|
23
24
|
* file read: a bundler (the portable build) inlines it.
|
|
24
25
|
*/
|
|
25
26
|
export declare const HTTP_RO_VERSION: string;
|
|
27
|
+
/** THIS package's name, from the same manifest: what a second copy of lib asks to reinstall. */
|
|
28
|
+
export declare const HTTP_RO_PACKAGE: string;
|
|
26
29
|
export declare function main(edges?: LauncherEdges): ReturnType<typeof httpMain>;
|
|
27
30
|
//# sourceMappingURL=launcher.d.ts.map
|
package/dist/launcher.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"launcher.d.ts","sourceRoot":"","sources":["../src/launcher.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"launcher.d.ts","sourceRoot":"","sources":["../src/launcher.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,EAAE,KAAK,aAAa,EAAgB,MAAM,0BAA0B,CAAC;AAC5E,OAAO,EAAuB,KAAK,OAAO,EAAE,MAAM,4BAA4B,CAAC;AAC/E,OAAO,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,mCAAmC,CAAC;AAErE;;;GAGG;AACH,eAAO,MAAM,eAAe,EAAE,OAA6B,CAAC;AAE5D;;;GAGG;AACH,eAAO,MAAM,eAAe,EAAE,MAErB,CAAC;AAEV,gGAAgG;AAChG,eAAO,MAAM,eAAe,EAAE,MAExB,CAAC;AAEP,wBAAgB,IAAI,CAClB,KAAK,GAAE,aAA8B,GACpC,UAAU,CAAC,OAAO,QAAQ,CAAC,CAU7B"}
|
package/dist/launcher.js
CHANGED
|
@@ -1,22 +1,23 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.HTTP_RO_VERSION = exports.readOnlyToolSet = void 0;
|
|
3
|
+
exports.HTTP_RO_PACKAGE = exports.HTTP_RO_VERSION = exports.readOnlyToolSet = void 0;
|
|
4
4
|
exports.main = main;
|
|
5
5
|
/**
|
|
6
6
|
* `mcp-abap-adt-http-ro` — the read-only tool set over Streamable HTTP.
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* The runtime's Streamable HTTP `main` with `fullReadOnlyToolSet`, and this command's name and
|
|
9
9
|
* version. Nothing else: http's table, credentials, cancellation, failures and
|
|
10
|
-
* shutdown.
|
|
11
|
-
*
|
|
10
|
+
* shutdown. The launcher is `@mcp-abap-adt/server-runtime/http`'s; the
|
|
11
|
+
* package depends on lib, the runtime,
|
|
12
|
+
* background-runs-memory, responsible-rules, never on another binary package.
|
|
12
13
|
*
|
|
13
14
|
* **Why a package of its own:** the binary fixes the tool set (the owner's
|
|
14
15
|
* decision), and a user installs only what they need. The high,
|
|
15
16
|
* debugger, background-run and resume tools are `mcp-abap-adt-http`'s.
|
|
16
17
|
*/
|
|
17
|
-
const launcher_1 = require("@mcp-abap-adt/http/launcher");
|
|
18
18
|
const config_1 = require("@mcp-abap-adt/lib/config");
|
|
19
19
|
const tool_set_1 = require("@mcp-abap-adt/lib/tool-set");
|
|
20
|
+
const http_1 = require("@mcp-abap-adt/server-runtime/http");
|
|
20
21
|
/**
|
|
21
22
|
* The read-only tool set: readonly (with system and search). No high, no debugger, no background run,
|
|
22
23
|
* no resume.
|
|
@@ -27,11 +28,14 @@ exports.readOnlyToolSet = tool_set_1.fullReadOnlyToolSet;
|
|
|
27
28
|
* file read: a bundler (the portable build) inlines it.
|
|
28
29
|
*/
|
|
29
30
|
exports.HTTP_RO_VERSION = require('../package.json').version;
|
|
31
|
+
/** THIS package's name, from the same manifest: what a second copy of lib asks to reinstall. */
|
|
32
|
+
exports.HTTP_RO_PACKAGE = require('../package.json').name;
|
|
30
33
|
function main(edges = (0, config_1.processEdges)()) {
|
|
31
|
-
return (0,
|
|
34
|
+
return (0, http_1.main)({
|
|
32
35
|
toolSet: exports.readOnlyToolSet,
|
|
33
36
|
program: 'mcp-abap-adt-http-ro',
|
|
34
37
|
version: exports.HTTP_RO_VERSION,
|
|
38
|
+
packageName: exports.HTTP_RO_PACKAGE,
|
|
35
39
|
}, edges);
|
|
36
40
|
}
|
|
37
41
|
//# sourceMappingURL=launcher.js.map
|
package/dist/launcher.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"launcher.js","sourceRoot":"","sources":["../src/launcher.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"launcher.js","sourceRoot":"","sources":["../src/launcher.ts"],"names":[],"mappings":";;;AAoCA,oBAYC;AAhDD;;;;;;;;;;;;GAYG;AACH,qDAA4E;AAC5E,yDAA+E;AAC/E,4DAAqE;AAErE;;;GAGG;AACU,QAAA,eAAe,GAAY,8BAAmB,CAAC;AAE5D;;;GAGG;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,QAAuB,IAAA,qBAAY,GAAE;IAErC,OAAO,IAAA,WAAQ,EACb;QACE,OAAO,EAAE,uBAAe;QACxB,OAAO,EAAE,sBAAsB;QAC/B,OAAO,EAAE,uBAAe;QACxB,WAAW,EAAE,uBAAe;KAC7B,EACD,KAAK,CACN,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mcp-abap-adt/http-ro",
|
|
3
3
|
"mcpName": "io.github.fr0ster/mcp-abap-adt-http-ro",
|
|
4
|
-
"version": "19.
|
|
4
|
+
"version": "19.2.0",
|
|
5
5
|
"description": "The read-only MCP server for SAP ABAP ADT over Streamable HTTP: the readonly tools (with system and search), no high, debugger, background-run or leftover-session tool; credentials only from each request's x-sap-* headers. No auth broker, no stores.",
|
|
6
6
|
"license": "AGPL-3.0-only",
|
|
7
7
|
"publishConfig": {
|
|
@@ -58,8 +58,10 @@
|
|
|
58
58
|
"start": "node ./bin/mcp-abap-adt-http-ro.js"
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@mcp-abap-adt/
|
|
62
|
-
"@mcp-abap-adt/lib": "^19.
|
|
61
|
+
"@mcp-abap-adt/background-runs-memory": "^19.2.0",
|
|
62
|
+
"@mcp-abap-adt/lib": "^19.2.0",
|
|
63
|
+
"@mcp-abap-adt/responsible-rules": "^19.2.0",
|
|
64
|
+
"@mcp-abap-adt/server-runtime": "^19.2.0"
|
|
63
65
|
},
|
|
64
66
|
"devDependencies": {
|
|
65
67
|
"typescript": "^6.0.2",
|