@mcp-abap-adt/http 0.0.0-stage → 19.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/LICENSE +661 -0
- package/README.md +148 -2
- package/bin/mcp-abap-adt-http.js +23 -0
- package/dist/InstancePool.d.ts +127 -0
- package/dist/InstancePool.d.ts.map +1 -0
- package/dist/InstancePool.js +318 -0
- package/dist/InstancePool.js.map +1 -0
- package/dist/StreamableHttpServer.d.ts +160 -0
- package/dist/StreamableHttpServer.d.ts.map +1 -0
- package/dist/StreamableHttpServer.js +403 -0
- package/dist/StreamableHttpServer.js.map +1 -0
- package/dist/config/httpParameters.d.ts +45 -0
- package/dist/config/httpParameters.d.ts.map +1 -0
- package/dist/config/httpParameters.js +143 -0
- package/dist/config/httpParameters.js.map +1 -0
- package/dist/httpVersion.d.ts +11 -0
- package/dist/httpVersion.d.ts.map +1 -0
- package/dist/httpVersion.js +16 -0
- package/dist/httpVersion.js.map +1 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +28 -0
- package/dist/index.js.map +1 -0
- package/dist/launcher.d.ts +42 -0
- package/dist/launcher.d.ts.map +1 -0
- package/dist/launcher.js +132 -0
- package/dist/launcher.js.map +1 -0
- package/package.json +78 -4
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* `mcp-abap-adt-http`'s parameter table: the Streamable HTTP
|
|
4
|
+
* listener, beside lib's shared rows and the TLS rows. No destination,
|
|
5
|
+
* login or SSE option is here; the CLI or YAML form of one — or any form of
|
|
6
|
+
* `--transport`, which is gone — stops the start naming the binary that serves
|
|
7
|
+
* it. Their environment variables are not read.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.HTTP_PARAMETERS = exports.HTTP_ROWS = void 0;
|
|
11
|
+
exports.httpParameters = httpParameters;
|
|
12
|
+
exports.readHttpConfig = readHttpConfig;
|
|
13
|
+
const config_1 = require("@mcp-abap-adt/lib/config");
|
|
14
|
+
const tool_set_1 = require("@mcp-abap-adt/lib/tool-set");
|
|
15
|
+
const responsible_rules_1 = require("@mcp-abap-adt/responsible-rules");
|
|
16
|
+
const HTTP = 'STREAMABLE HTTP';
|
|
17
|
+
/** The Streamable HTTP rows: today's names. */
|
|
18
|
+
exports.HTTP_ROWS = [
|
|
19
|
+
{
|
|
20
|
+
key: 'host',
|
|
21
|
+
cli: '--host',
|
|
22
|
+
cliAliases: ['--http-host'],
|
|
23
|
+
env: 'MCP_HTTP_HOST',
|
|
24
|
+
yaml: 'http.host',
|
|
25
|
+
kind: 'string',
|
|
26
|
+
default: '127.0.0.1',
|
|
27
|
+
valueHint: '=<host>',
|
|
28
|
+
section: HTTP,
|
|
29
|
+
help: 'Host to listen on (default 127.0.0.1, this machine only; 0.0.0.0 for every interface)',
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
key: 'port',
|
|
33
|
+
cli: '--port',
|
|
34
|
+
cliAliases: ['--http-port'],
|
|
35
|
+
env: 'MCP_HTTP_PORT',
|
|
36
|
+
yaml: 'http.port',
|
|
37
|
+
kind: 'port',
|
|
38
|
+
default: 3000,
|
|
39
|
+
section: HTTP,
|
|
40
|
+
help: 'Port to listen on, 1-65535 (default 3000)',
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
key: 'httpPath',
|
|
44
|
+
cli: '--path',
|
|
45
|
+
cliAliases: ['--http-path'],
|
|
46
|
+
kind: 'string',
|
|
47
|
+
valueHint: '=<path>',
|
|
48
|
+
section: HTTP,
|
|
49
|
+
help: 'The MCP endpoint path (default /mcp/stream/http)',
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
key: 'httpJsonResponse',
|
|
53
|
+
cli: '--http-json-response',
|
|
54
|
+
env: 'MCP_HTTP_ENABLE_JSON_RESPONSE',
|
|
55
|
+
yaml: 'http.json-response',
|
|
56
|
+
kind: 'flag',
|
|
57
|
+
section: HTTP,
|
|
58
|
+
help: 'Answer with JSON responses rather than SSE streams',
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
key: 'allowedHosts',
|
|
62
|
+
cli: '--http-allowed-hosts',
|
|
63
|
+
env: 'MCP_HTTP_ALLOWED_HOSTS',
|
|
64
|
+
yaml: 'http.allowed-hosts',
|
|
65
|
+
kind: 'list',
|
|
66
|
+
section: HTTP,
|
|
67
|
+
help: 'Host header values accepted with DNS-rebinding protection (exact, with the port), comma-separated',
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
key: 'allowedOrigins',
|
|
71
|
+
cli: '--http-allowed-origins',
|
|
72
|
+
env: 'MCP_HTTP_ALLOWED_ORIGINS',
|
|
73
|
+
yaml: 'http.allowed-origins',
|
|
74
|
+
kind: 'list',
|
|
75
|
+
section: HTTP,
|
|
76
|
+
help: 'Origin header values accepted with DNS-rebinding protection (exact, with the scheme), comma-separated',
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
key: 'enableDnsRebindingProtection',
|
|
80
|
+
cli: '--http-enable-dns-protection',
|
|
81
|
+
env: 'MCP_HTTP_ENABLE_DNS_PROTECTION',
|
|
82
|
+
yaml: 'http.enable-dns-protection',
|
|
83
|
+
kind: 'flag',
|
|
84
|
+
section: HTTP,
|
|
85
|
+
help: 'Enable DNS-rebinding protection (with --http-allowed-hosts and/or --http-allowed-origins)',
|
|
86
|
+
},
|
|
87
|
+
];
|
|
88
|
+
/**
|
|
89
|
+
* http's table for a tool set: its rows, the shared rows, and what it
|
|
90
|
+
* refuses — the set's removed `--exposition` among them, naming the http
|
|
91
|
+
* binary its words asked for. `mcp-abap-adt-http-ro`, `mcp-abap-adt-compact-http`
|
|
92
|
+
* and `mcp-abap-adt-compact-http-ro` are this table with their own set,
|
|
93
|
+
* nothing else.
|
|
94
|
+
*/
|
|
95
|
+
function httpParameters(toolSet, program = 'mcp-abap-adt-http') {
|
|
96
|
+
return {
|
|
97
|
+
program,
|
|
98
|
+
rows: [
|
|
99
|
+
config_1.CONF_ROW,
|
|
100
|
+
responsible_rules_1.SYSTEM_TYPE_ROW,
|
|
101
|
+
...exports.HTTP_ROWS,
|
|
102
|
+
...(0, config_1.tlsRows)('http'),
|
|
103
|
+
config_1.STATE_IDLE_ROW,
|
|
104
|
+
config_1.BATCH_KEEP_RAW_PARTS_ROW,
|
|
105
|
+
config_1.SHUTDOWN_TIMEOUT_ROW,
|
|
106
|
+
],
|
|
107
|
+
removed: [
|
|
108
|
+
toolSet.expositionRemoved('http'),
|
|
109
|
+
(0, config_1.transportRemoved)('http'),
|
|
110
|
+
config_1.DESTINATION_OPTIONS_REMOVED,
|
|
111
|
+
config_1.SSE_OPTIONS_REMOVED,
|
|
112
|
+
],
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
/** `mcp-abap-adt-http`'s table: http's, with the full tool set. */
|
|
116
|
+
exports.HTTP_PARAMETERS = httpParameters(tool_set_1.fullToolSet);
|
|
117
|
+
const list = (v) => Array.isArray(v) ? [...v] : undefined;
|
|
118
|
+
/**
|
|
119
|
+
* `mcp-abap-adt-http`'s configuration from the arguments, the environment
|
|
120
|
+
* and the loaded config file. A removed parameter, or an invalid value,
|
|
121
|
+
* throws a `ParameterRefusal` in its words.
|
|
122
|
+
*/
|
|
123
|
+
function readHttpConfig(argv, env, yaml = null, toolSet = tool_set_1.fullToolSet) {
|
|
124
|
+
const table = httpParameters(toolSet);
|
|
125
|
+
const values = (0, config_1.readParameters)(table, argv, env, yaml);
|
|
126
|
+
return {
|
|
127
|
+
configFile: values.configFile,
|
|
128
|
+
systemType: values.systemType,
|
|
129
|
+
systemTypeSource: (0, config_1.parameterSource)(table, 'systemType', argv, env, yaml),
|
|
130
|
+
stateIdleMinutes: values.stateIdleMinutes,
|
|
131
|
+
batchKeepRawParts: values.batchKeepRawParts === true,
|
|
132
|
+
shutdownTimeout: values.shutdownTimeout,
|
|
133
|
+
host: values.host,
|
|
134
|
+
port: values.port,
|
|
135
|
+
httpPath: values.httpPath,
|
|
136
|
+
httpJsonResponse: values.httpJsonResponse,
|
|
137
|
+
allowedHosts: list(values.allowedHosts),
|
|
138
|
+
allowedOrigins: list(values.allowedOrigins),
|
|
139
|
+
enableDnsRebindingProtection: values.enableDnsRebindingProtection ?? false,
|
|
140
|
+
tls: (0, config_1.tlsConfigOf)(values),
|
|
141
|
+
};
|
|
142
|
+
}
|
|
143
|
+
//# sourceMappingURL=httpParameters.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"httpParameters.js","sourceRoot":"","sources":["../../src/config/httpParameters.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAyGH,wCAsBC;AA+BD,wCAyBC;AArLD,qDAkBkC;AAClC,yDAAuE;AACvE,uEAAkE;AAElE,MAAM,IAAI,GAAG,iBAAiB,CAAC;AAE/B,+CAA+C;AAClC,QAAA,SAAS,GAAyB;IAC7C;QACE,GAAG,EAAE,MAAM;QACX,GAAG,EAAE,QAAQ;QACb,UAAU,EAAE,CAAC,aAAa,CAAC;QAC3B,GAAG,EAAE,eAAe;QACpB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,WAAW;QACpB,SAAS,EAAE,SAAS;QACpB,OAAO,EAAE,IAAI;QACb,IAAI,EAAE,uFAAuF;KAC9F;IACD;QACE,GAAG,EAAE,MAAM;QACX,GAAG,EAAE,QAAQ;QACb,UAAU,EAAE,CAAC,aAAa,CAAC;QAC3B,GAAG,EAAE,eAAe;QACpB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,MAAM;QACZ,OAAO,EAAE,IAAI;QACb,OAAO,EAAE,IAAI;QACb,IAAI,EAAE,2CAA2C;KAClD;IACD;QACE,GAAG,EAAE,UAAU;QACf,GAAG,EAAE,QAAQ;QACb,UAAU,EAAE,CAAC,aAAa,CAAC;QAC3B,IAAI,EAAE,QAAQ;QACd,SAAS,EAAE,SAAS;QAC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@@
|
|
|
1
|
+
/**
|
|
2
|
+
* `@mcp-abap-adt/http`'s own version, read from its own manifest: the version
|
|
3
|
+
* a transport reports in `serverInfo` and on `/health` when its caller passes
|
|
4
|
+
* none.
|
|
5
|
+
*
|
|
6
|
+
* One step up from this file is `http/` in a checkout (`src/` under test,
|
|
7
|
+
* `dist/` when built) and the package root when installed — in every layout it
|
|
8
|
+
* is this package's `package.json`.
|
|
9
|
+
*/
|
|
10
|
+
export declare const HTTP_VERSION: string;
|
|
11
|
+
//# sourceMappingURL=httpVersion.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"httpVersion.d.ts","sourceRoot":"","sources":["../src/httpVersion.ts"],"names":[],"mappings":"AAGA;;;;;;;;GAQG;AACH,eAAO,MAAM,YAAY,EAAE,MAElB,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.HTTP_VERSION = void 0;
|
|
4
|
+
const node_fs_1 = require("node:fs");
|
|
5
|
+
const node_path_1 = require("node:path");
|
|
6
|
+
/**
|
|
7
|
+
* `@mcp-abap-adt/http`'s own version, read from its own manifest: the version
|
|
8
|
+
* a transport reports in `serverInfo` and on `/health` when its caller passes
|
|
9
|
+
* none.
|
|
10
|
+
*
|
|
11
|
+
* One step up from this file is `http/` in a checkout (`src/` under test,
|
|
12
|
+
* `dist/` when built) and the package root when installed — in every layout it
|
|
13
|
+
* is this package's `package.json`.
|
|
14
|
+
*/
|
|
15
|
+
exports.HTTP_VERSION = JSON.parse((0, node_fs_1.readFileSync)((0, node_path_1.join)(__dirname, '..', 'package.json'), 'utf8')).version;
|
|
16
|
+
//# sourceMappingURL=httpVersion.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"httpVersion.js","sourceRoot":"","sources":["../src/httpVersion.ts"],"names":[],"mappings":";;;AAAA,qCAAuC;AACvC,yCAAiC;AAEjC;;;;;;;;GAQG;AACU,QAAA,YAAY,GAAW,IAAI,CAAC,KAAK,CAC5C,IAAA,sBAAY,EAAC,IAAA,gBAAI,EAAC,SAAS,EAAE,IAAI,EAAE,cAAc,CAAC,EAAE,MAAM,CAAC,CAC5D,CAAC,OAAO,CAAC"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `@mcp-abap-adt/http` — the Streamable HTTP transport of the MCP ABAP ADT
|
|
3
|
+
* server, AGPL-3.0-only.
|
|
4
|
+
*
|
|
5
|
+
* Importing from here links AGPL code. If you are embedding ADT tools in your
|
|
6
|
+
* own application, you want `@mcp-abap-adt/lib` instead: it carries the
|
|
7
|
+
* handlers and the embeddable server under Apache-2.0, and no transport.
|
|
8
|
+
*/
|
|
9
|
+
export * from './config/httpParameters.js';
|
|
10
|
+
export * from './StreamableHttpServer.js';
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* `@mcp-abap-adt/http` — the Streamable HTTP transport of the MCP ABAP ADT
|
|
4
|
+
* server, AGPL-3.0-only.
|
|
5
|
+
*
|
|
6
|
+
* Importing from here links AGPL code. If you are embedding ADT tools in your
|
|
7
|
+
* own application, you want `@mcp-abap-adt/lib` instead: it carries the
|
|
8
|
+
* handlers and the embeddable server under Apache-2.0, and no transport.
|
|
9
|
+
*/
|
|
10
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
13
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
14
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
15
|
+
}
|
|
16
|
+
Object.defineProperty(o, k2, desc);
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
22
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
23
|
+
};
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
// http's parameter table
|
|
26
|
+
__exportStar(require("./config/httpParameters.js"), exports);
|
|
27
|
+
__exportStar(require("./StreamableHttpServer.js"), exports);
|
|
28
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;GAOG;;;;;;;;;;;;;;;;AAEH,yBAAyB;AACzB,6DAA2C;AAC3C,4DAA0C"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `mcp-abap-adt-http` — the Streamable HTTP binary. Credentials
|
|
3
|
+
* come only from each request's `x-sap-*` headers; no destination, no
|
|
4
|
+
* broker, no store, no login. The tools are the `ToolSet` the command passes.
|
|
5
|
+
*/
|
|
6
|
+
import type { EventEmitter } from 'node:events';
|
|
7
|
+
import { type LauncherEdges } from '@mcp-abap-adt/lib/config';
|
|
8
|
+
import { type ToolSet } from '@mcp-abap-adt/lib/tool-set';
|
|
9
|
+
import { type HttpConfig } from './config/httpParameters.js';
|
|
10
|
+
import { StreamableHttpServer } from './StreamableHttpServer.js';
|
|
11
|
+
/**
|
|
12
|
+
* What a command passes http's launcher: the tools it
|
|
13
|
+
* serves, and its own name and version — nothing else. Everything the
|
|
14
|
+
* launcher does is http's, the same for any tool set:
|
|
15
|
+
* `mcp-abap-adt-http` passes `fullToolSet`, `mcp-abap-adt-http-ro`
|
|
16
|
+
* `fullReadOnlyToolSet`, `mcp-abap-adt-compact-http` and
|
|
17
|
+
* `mcp-abap-adt-compact-http-ro` the compact sets.
|
|
18
|
+
*/
|
|
19
|
+
export interface HttpLauncherOptions {
|
|
20
|
+
/** The tools served: fixed by the command, never by a flag. */
|
|
21
|
+
toolSet: ToolSet;
|
|
22
|
+
/** The command's own name: USAGE in `--help`, the `--conf` template's header. */
|
|
23
|
+
program: string;
|
|
24
|
+
/** The version `--version` and `initialize` report: the command's own package's. */
|
|
25
|
+
version: string;
|
|
26
|
+
}
|
|
27
|
+
/** What the launcher takes from the program: the process's edges. */
|
|
28
|
+
export interface HttpLauncherDeps {
|
|
29
|
+
stderr: (line: string) => void;
|
|
30
|
+
exit: (code: number) => void;
|
|
31
|
+
/** Where the shutdown listens: `process` in the program. */
|
|
32
|
+
processLike: EventEmitter;
|
|
33
|
+
}
|
|
34
|
+
/** http's help: its own table, the set's TOOLS section, the headers. */
|
|
35
|
+
export declare function httpHelp(options?: {
|
|
36
|
+
toolSet?: ToolSet;
|
|
37
|
+
program?: string;
|
|
38
|
+
}): string;
|
|
39
|
+
export declare function main(options: HttpLauncherOptions, edges?: LauncherEdges): Promise<StreamableHttpServer | undefined>;
|
|
40
|
+
/** Everything after the parameters are read: the tool list, the server, the shutdown. */
|
|
41
|
+
export declare function launch(config: HttpConfig, options: HttpLauncherOptions, deps: HttpLauncherDeps): Promise<StreamableHttpServer | undefined>;
|
|
42
|
+
//# sourceMappingURL=launcher.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"launcher.d.ts","sourceRoot":"","sources":["../src/launcher.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,OAAO,EAGL,KAAK,aAAa,EAGnB,MAAM,0BAA0B,CAAC;AAIlC,OAAO,EAGL,KAAK,OAAO,EACb,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EACL,KAAK,UAAU,EAGhB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEjE;;;;;;;GAOG;AACH,MAAM,WAAW,mBAAmB;IAClC,+DAA+D;IAC/D,OAAO,EAAE,OAAO,CAAC;IACjB,iFAAiF;IACjF,OAAO,EAAE,MAAM,CAAC;IAChB,oFAAoF;IACpF,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,qEAAqE;AACrE,MAAM,WAAW,gBAAgB;IAC/B,MAAM,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/B,IAAI,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7B,4DAA4D;IAC5D,WAAW,EAAE,YAAY,CAAC;CAC3B;AA6BD,wEAAwE;AACxE,wBAAgB,QAAQ,CACtB,OAAO,GAAE;IAAE,OAAO,CAAC,EAAE,OAAO,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAO,GACpD,MAAM,CAYR;AAED,wBAAsB,IAAI,CACxB,OAAO,EAAE,mBAAmB,EAC5B,KAAK,GAAE,aAA8B,GACpC,OAAO,CAAC,oBAAoB,GAAG,SAAS,CAAC,CAyB3C;AAED,yFAAyF;AACzF,wBAAsB,MAAM,CAC1B,MAAM,EAAE,UAAU,EAClB,OAAO,EAAE,mBAAmB,EAC5B,IAAI,EAAE,gBAAgB,GACrB,OAAO,CAAC,oBAAoB,GAAG,SAAS,CAAC,CAqD3C"}
|
package/dist/launcher.js
ADDED
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* `mcp-abap-adt-http` — the Streamable HTTP binary. Credentials
|
|
4
|
+
* come only from each request's `x-sap-*` headers; no destination, no
|
|
5
|
+
* broker, no store, no login. The tools are the `ToolSet` the command passes.
|
|
6
|
+
*/
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.httpHelp = httpHelp;
|
|
9
|
+
exports.main = main;
|
|
10
|
+
exports.launch = launch;
|
|
11
|
+
const background_runs_memory_1 = require("@mcp-abap-adt/background-runs-memory");
|
|
12
|
+
const config_1 = require("@mcp-abap-adt/lib/config");
|
|
13
|
+
const http_transport_1 = require("@mcp-abap-adt/lib/http-transport");
|
|
14
|
+
const logger_1 = require("@mcp-abap-adt/lib/logger");
|
|
15
|
+
const state_1 = require("@mcp-abap-adt/lib/state");
|
|
16
|
+
const tool_set_1 = require("@mcp-abap-adt/lib/tool-set");
|
|
17
|
+
const responsible_rules_1 = require("@mcp-abap-adt/responsible-rules");
|
|
18
|
+
const httpParameters_js_1 = require("./config/httpParameters.js");
|
|
19
|
+
const StreamableHttpServer_js_1 = require("./StreamableHttpServer.js");
|
|
20
|
+
const HELP_SECTIONS = `
|
|
21
|
+
CREDENTIALS (each request's headers; nothing is stored, shared or cached):
|
|
22
|
+
x-sap-url The system's URL (required)
|
|
23
|
+
x-sap-client The client (optional)
|
|
24
|
+
x-sap-jwt-token A token you hold, sent as a Bearer token
|
|
25
|
+
x-sap-login, x-sap-password A user and password (basic)
|
|
26
|
+
A request without them is answered 400 (ping excepted). x-mcp-destination is
|
|
27
|
+
refused with 400: destinations are served only by mcp-abap-adt (stdio).
|
|
28
|
+
|
|
29
|
+
System Context (per request, first found wins):
|
|
30
|
+
x-sap-responsible Responsible of created objects
|
|
31
|
+
x-sap-master-system Master system of created objects
|
|
32
|
+
x-sap-language Master/original language for created objects
|
|
33
|
+
x-sap-debug-terminal-id The debugger's terminal id (where the debugger is served)
|
|
34
|
+
x-sap-debug-ide-id The debugger's IDE id
|
|
35
|
+
x-sap-debug-breakpoint-conflict replace (default) or refuse-if-held: whether a take-over
|
|
36
|
+
of the debugger, and every later change of its breakpoints,
|
|
37
|
+
first asks if another debugger listens for the same SAP user
|
|
38
|
+
Then SAP_RESPONSIBLE, SAP_MASTER_SYSTEM, SAP_DEBUG_TERMINAL_ID, SAP_DEBUG_IDE_ID,
|
|
39
|
+
SAP_DEBUG_BREAKPOINT_CONFLICT of the environment; with x-sap-login, the login is the responsible when none is stated.
|
|
40
|
+
|
|
41
|
+
Held state (a debug session) is reached again with its state_handle, on the
|
|
42
|
+
instance that holds it; MCP_STATE_IDLE_MINUTES / --state-idle-minutes bound it.
|
|
43
|
+
|
|
44
|
+
A health check answers GET /mcp/health.
|
|
45
|
+
`;
|
|
46
|
+
/** http's help: its own table, the set's TOOLS section, the headers. */
|
|
47
|
+
function httpHelp(options = {}) {
|
|
48
|
+
const toolSet = options.toolSet ?? tool_set_1.fullToolSet;
|
|
49
|
+
const program = options.program ?? 'mcp-abap-adt-http';
|
|
50
|
+
return (0, config_1.generateHelp)((0, httpParameters_js_1.httpParameters)(toolSet, program), {
|
|
51
|
+
description: " MCP server for SAP ABAP systems via ADT, over Streamable HTTP: credentials only from\n each request's x-sap-* headers. stdio (destinations, logins) is mcp-abap-adt, SSE\n mcp-abap-adt-sse; a binary is its transport.",
|
|
52
|
+
sections: [
|
|
53
|
+
toolSet.toolsHelp('http'),
|
|
54
|
+
HELP_SECTIONS,
|
|
55
|
+
`\nEXAMPLES:\n # Listen on port 3000\n ${program} --port=3000\n`,
|
|
56
|
+
],
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
async function main(options, edges = (0, config_1.processEdges)()) {
|
|
60
|
+
const { argv, stderr, exit } = edges;
|
|
61
|
+
if ((0, config_1.answerVersionOrHelp)(edges, {
|
|
62
|
+
version: options.version,
|
|
63
|
+
help: () => httpHelp(options),
|
|
64
|
+
})) {
|
|
65
|
+
return undefined;
|
|
66
|
+
}
|
|
67
|
+
// http's own table: an option of another binary, --transport, or the
|
|
68
|
+
// removed --exposition stops here.
|
|
69
|
+
const config = (0, config_1.readStartupConfig)((0, httpParameters_js_1.httpParameters)(options.toolSet, options.program), argv, process.env, { stderr, exit }, (args, env, yaml) => (0, httpParameters_js_1.readHttpConfig)(args, env, yaml, options.toolSet));
|
|
70
|
+
if (config === undefined)
|
|
71
|
+
return undefined;
|
|
72
|
+
return launch(config, options, {
|
|
73
|
+
stderr,
|
|
74
|
+
exit,
|
|
75
|
+
processLike: edges.processLike,
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
/** Everything after the parameters are read: the tool list, the server, the shutdown. */
|
|
79
|
+
async function launch(config, options, deps) {
|
|
80
|
+
// The system kind is required, never guessed: stated by --system-type,
|
|
81
|
+
// SAP_SYSTEM_TYPE or YAML system-type (no request header states it).
|
|
82
|
+
// Without it the start ends here, before anything listens — so no tool
|
|
83
|
+
// list is filtered for a kind nobody stated.
|
|
84
|
+
if (config.systemType === undefined) {
|
|
85
|
+
deps.stderr(`[MCP] ${(0, responsible_rules_1.listenerSystemTypeRequiredWords)()}`);
|
|
86
|
+
deps.exit(1);
|
|
87
|
+
return undefined;
|
|
88
|
+
}
|
|
89
|
+
// The connector and the tool filter read the system kind from the
|
|
90
|
+
// environment (`resolveSystemKind`).
|
|
91
|
+
process.env.SAP_SYSTEM_TYPE = config.systemType;
|
|
92
|
+
const server = new StreamableHttpServer_js_1.StreamableHttpServer((0, tool_set_1.registryOf)(options.toolSet, 'http'), {
|
|
93
|
+
version: options.version,
|
|
94
|
+
stateIdleMinutes: config.stateIdleMinutes,
|
|
95
|
+
// Batch mode: one InstanceBatch per pooled instance.
|
|
96
|
+
batch: { keepRawParts: config.batchKeepRawParts === true },
|
|
97
|
+
// The state's lines go to stderr whatever the transport logger says.
|
|
98
|
+
stateLogger: state_1.stderrStateLogger,
|
|
99
|
+
host: config.host,
|
|
100
|
+
port: config.port,
|
|
101
|
+
enableJsonResponse: config.httpJsonResponse || undefined,
|
|
102
|
+
path: config.httpPath,
|
|
103
|
+
logger: logger_1.noopLogger,
|
|
104
|
+
tls: config.tls,
|
|
105
|
+
allowedHosts: config.allowedHosts,
|
|
106
|
+
allowedOrigins: config.allowedOrigins,
|
|
107
|
+
enableDnsRebindingProtection: config.enableDnsRebindingProtection,
|
|
108
|
+
// No runtime session file and no leftover-session tool: one server holds
|
|
109
|
+
// the sessions of many users, so they are stdio's only.
|
|
110
|
+
// Background runs of the run tools, kept in this process's memory
|
|
111
|
+
// and handed to every instance; they end with the process.
|
|
112
|
+
// Only where the set serves them: a -ro command has none, so a
|
|
113
|
+
// run's `background: true` is refused.
|
|
114
|
+
...(options.toolSet.backgroundRuns && {
|
|
115
|
+
backgroundRuns: new background_runs_memory_1.InMemoryBackgroundRuns(),
|
|
116
|
+
}),
|
|
117
|
+
});
|
|
118
|
+
(0, http_transport_1.installTransportShutdown)({
|
|
119
|
+
begin: () => server.beginShutdown(),
|
|
120
|
+
stopListening: () => server.stopListening(),
|
|
121
|
+
release: () => server.releaseConnections(),
|
|
122
|
+
exit: deps.exit,
|
|
123
|
+
stderr: deps.stderr,
|
|
124
|
+
processLike: deps.processLike,
|
|
125
|
+
shutdownTimeoutMs: config.shutdownTimeout === undefined
|
|
126
|
+
? undefined
|
|
127
|
+
: config.shutdownTimeout * 1000,
|
|
128
|
+
});
|
|
129
|
+
await server.start();
|
|
130
|
+
return server;
|
|
131
|
+
}
|
|
132
|
+
//# sourceMappingURL=launcher.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"launcher.js","sourceRoot":"","sources":["../src/launcher.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;AAgFH,4BAcC;AAED,oBA4BC;AAGD,wBAyDC;AArLD,iFAA8E;AAC9E,qDAMkC;AAClC,qEAA4E;AAC5E,qDAAsD;AACtD,mDAA4D;AAC5D,yDAIoC;AACpC,uEAAkF;AAClF,kEAIoC;AACpC,uEAAiE;AA2BjE,MAAM,aAAa,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;CAyBrB,CAAC;AAEF,wEAAwE;AACxE,SAAgB,QAAQ,CACt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uC;QACvC,GAAG,CAAC,OAAO,CAAC,OAAO,CAAC,cAAc,IAAI;YACpC,cAAc,EAAE,IAAI,+CAAsB,EAAE;SAC7C,CAAC;KACH,CAAC,CAAC;IACH,IAAA,yCAAwB,EAAC;QACvB,KAAK,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,aAAa,EAAE;QACnC,aAAa,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,aAAa,EAAE;QAC3C,OAAO,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,kBAAkB,EAAE;QAC1C,IAAI,EAAE,IAAI,CAAC,IAAI;QACf,MAAM,EAAE,IAAI,CAAC,MAAM;QACnB,WAAW,EAAE,IAAI,CAAC,WAAW;QAC7B,iBAAiB,EACf,MAAM,CAAC,eAAe,KAAK,SAAS;YAClC,CAAC,CAAC,SAAS;YACX,CAAC,CAAC,MAAM,CAAC,eAAe,GAAG,IAAI;KACpC,CAAC,CAAC;IACH,MAAM,MAAM,CAAC,KAAK,EAAE,CAAC;IACrB,OAAO,MAAM,CAAC;AAChB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,80 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mcp-abap-adt/http",
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"description": "
|
|
6
|
-
|
|
3
|
+
"mcpName": "io.github.fr0ster/mcp-abap-adt-http",
|
|
4
|
+
"version": "19.0.0",
|
|
5
|
+
"description": "The Streamable HTTP transport of the MCP ABAP ADT server: an Express app serving the ADT tools of @mcp-abap-adt/lib over MCP Streamable HTTP, with DNS rebinding protection and TLS.",
|
|
6
|
+
"license": "AGPL-3.0-only",
|
|
7
|
+
"publishConfig": {
|
|
8
|
+
"access": "public"
|
|
9
|
+
},
|
|
10
|
+
"author": "Oleksii Kyslytsia <oleksij.kyslytsja@gmail.com>",
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "git+https://github.com/fr0ster/mcp-abap-adt.git"
|
|
14
|
+
},
|
|
15
|
+
"keywords": [
|
|
16
|
+
"abap",
|
|
17
|
+
"sap",
|
|
18
|
+
"adt",
|
|
19
|
+
"mcp",
|
|
20
|
+
"model-context-protocol",
|
|
21
|
+
"mcp-server",
|
|
22
|
+
"streamable-http"
|
|
23
|
+
],
|
|
24
|
+
"engines": {
|
|
25
|
+
"node": ">=22.0.0",
|
|
26
|
+
"npm": ">=9.0.0"
|
|
27
|
+
},
|
|
28
|
+
"main": "dist/index.js",
|
|
29
|
+
"types": "dist/index.d.ts",
|
|
30
|
+
"exports": {
|
|
31
|
+
".": {
|
|
32
|
+
"types": "./dist/index.d.ts",
|
|
33
|
+
"import": "./dist/index.js",
|
|
34
|
+
"require": "./dist/index.js"
|
|
35
|
+
},
|
|
36
|
+
"./launcher": {
|
|
37
|
+
"types": "./dist/launcher.d.ts",
|
|
38
|
+
"import": "./dist/launcher.js",
|
|
39
|
+
"require": "./dist/launcher.js"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"typesVersions": {
|
|
43
|
+
"*": {
|
|
44
|
+
"launcher": [
|
|
45
|
+
"dist/launcher.d.ts"
|
|
46
|
+
]
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"bin": {
|
|
50
|
+
"mcp-abap-adt-http": "./bin/mcp-abap-adt-http.js"
|
|
51
|
+
},
|
|
52
|
+
"files": [
|
|
53
|
+
"dist/",
|
|
54
|
+
"bin/",
|
|
55
|
+
"README.md",
|
|
56
|
+
"LICENSE"
|
|
57
|
+
],
|
|
58
|
+
"scripts": {
|
|
59
|
+
"prebuild": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"",
|
|
60
|
+
"build": "npx tsc -p tsconfig.json",
|
|
61
|
+
"test": "npm --prefix .. test -- --roots http/src",
|
|
62
|
+
"test:check": "npx tsc --noEmit -p tsconfig.test.json",
|
|
63
|
+
"lint:check": "npx biome check src",
|
|
64
|
+
"prepublishOnly": "npm run build"
|
|
65
|
+
},
|
|
66
|
+
"dependencies": {
|
|
67
|
+
"@mcp-abap-adt/background-runs-memory": "^19.0.0",
|
|
68
|
+
"@mcp-abap-adt/lib": "^19.0.0",
|
|
69
|
+
"@mcp-abap-adt/logger": "^0.4.1",
|
|
70
|
+
"@mcp-abap-adt/responsible-rules": "^19.0.0",
|
|
71
|
+
"@modelcontextprotocol/sdk": "^1.32.0",
|
|
72
|
+
"express": "^5.2.1"
|
|
73
|
+
},
|
|
74
|
+
"devDependencies": {
|
|
75
|
+
"@types/express": "*",
|
|
76
|
+
"@types/jest": "*",
|
|
77
|
+
"@types/node": "*",
|
|
78
|
+
"typescript": "*"
|
|
79
|
+
}
|
|
80
|
+
}
|