@oobe-protocol-labs/sap-mcp-server 0.1.0 → 0.1.1

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 CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project are documented in this file.
4
4
 
5
+ ## 0.1.1 - 2026-06-29
6
+
7
+ ### Fixed
8
+
9
+ - Fixed `npx`/`npm exec` startup for the default `sap-mcp-server` and `sap-mcp-remote` binaries by adding resolver-safe bootstrap entrypoints.
10
+ - Fixed hosted package execution when the SAP SDK resolves its bundled IDL assets from outside the package working directory.
11
+
5
12
  ## 0.1.0 - 2026-06-29
6
13
 
7
14
  ### Added
package/README.md CHANGED
@@ -13,7 +13,7 @@ It also includes a professional setup wizard, profile-managed config under `~/.c
13
13
 
14
14
  | Area | Current behavior |
15
15
  | --- | --- |
16
- | Package version | `0.1.0` |
16
+ | Package version | `0.1.1` |
17
17
  | MCP transport | stdio locally, Streamable HTTP remotely |
18
18
  | Remote access | Bearerless public mode for hosted agents; API key or JWT for private modes |
19
19
  | Config directory | `~/.config/mcp-sap` only |
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+ export {};
3
+ //# sourceMappingURL=sap-mcp-remote.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sap-mcp-remote.d.ts","sourceRoot":"","sources":["../../src/bin/sap-mcp-remote.ts"],"names":[],"mappings":""}
@@ -0,0 +1,9 @@
1
+ #!/usr/bin/env node
2
+ /**
3
+ * @name sap-mcp-remote
4
+ * @description npx-safe bootstrap for the SAP MCP Streamable HTTP server.
5
+ */
6
+ import { installPackageNodePath } from '../runtime/module-resolution.js';
7
+ installPackageNodePath(import.meta.url);
8
+ await import('../remote/server.js');
9
+ //# sourceMappingURL=sap-mcp-remote.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sap-mcp-remote.js","sourceRoot":"","sources":["../../src/bin/sap-mcp-remote.ts"],"names":[],"mappings":";AACA;;;GAGG;AACH,OAAO,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AAEzE,sBAAsB,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AACxC,MAAM,MAAM,CAAC,qBAAqB,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+ export {};
3
+ //# sourceMappingURL=sap-mcp-server.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sap-mcp-server.d.ts","sourceRoot":"","sources":["../../src/bin/sap-mcp-server.ts"],"names":[],"mappings":""}
@@ -0,0 +1,9 @@
1
+ #!/usr/bin/env node
2
+ /**
3
+ * @name sap-mcp-server
4
+ * @description npx-safe bootstrap for the SAP MCP local server CLI.
5
+ */
6
+ import { installPackageNodePath } from '../runtime/module-resolution.js';
7
+ installPackageNodePath(import.meta.url);
8
+ await import('../cli.js');
9
+ //# sourceMappingURL=sap-mcp-server.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sap-mcp-server.js","sourceRoot":"","sources":["../../src/bin/sap-mcp-server.ts"],"names":[],"mappings":";AACA;;;GAGG;AACH,OAAO,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AAEzE,sBAAsB,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AACxC,MAAM,MAAM,CAAC,WAAW,CAAC,CAAC"}
@@ -45,7 +45,7 @@ export declare const MCP_SERVER_NAME = "sap-mcp-server";
45
45
  /**
46
46
  * Shared mcp server version definition used by the SAP MCP runtime.
47
47
  */
48
- export declare const MCP_SERVER_VERSION = "0.1.0";
48
+ export declare const MCP_SERVER_VERSION = "0.1.1";
49
49
  /**
50
50
  * Tool categories
51
51
  */
@@ -45,7 +45,7 @@ export const MCP_SERVER_NAME = 'sap-mcp-server';
45
45
  /**
46
46
  * Shared mcp server version definition used by the SAP MCP runtime.
47
47
  */
48
- export const MCP_SERVER_VERSION = '0.1.0';
48
+ export const MCP_SERVER_VERSION = '0.1.1';
49
49
  /**
50
50
  * Tool categories
51
51
  */
@@ -117,7 +117,7 @@ export const logger = {
117
117
  ╚══════════════════════════════════════════════════════════╝
118
118
  `.trim();
119
119
  console.error(banner);
120
- console.error(`Version: ${config.version || '0.1.0'}`);
120
+ console.error(`Version: ${config.version || '0.1.1'}`);
121
121
  console.error(`Mode: ${config.mode}`);
122
122
  console.error(`RPC: ${config.rpcUrl}`);
123
123
  console.error(`Program: ${config.programId}`);
@@ -111,7 +111,7 @@ export function buildA2AAgentCard(req, config) {
111
111
  ? 'Authenticated SAP Protocol and Solana agent gateway exposed through native MCP Streamable HTTP.'
112
112
  : 'Bearerless SAP Protocol and Solana agent gateway with x402-gated paid MCP tool calls.',
113
113
  url: `${baseUrl}/mcp`,
114
- version: '0.1.0',
114
+ version: '0.1.1',
115
115
  protocol: {
116
116
  primary: 'mcp',
117
117
  transport: 'streamable-http',
@@ -181,7 +181,7 @@ export function buildWizardInstallDescriptor(req, config) {
181
181
  const baseUrl = buildPublicBaseUrl(req, config);
182
182
  return {
183
183
  name: 'SAP MCP Wizard',
184
- version: '0.1.0',
184
+ version: '0.1.1',
185
185
  packageName: '@oobe-protocol-labs/sap-mcp-server',
186
186
  hostedMcpUrl: `${baseUrl}/mcp`,
187
187
  configDirectory: '~/.config/mcp-sap',
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @name installPackageNodePath
3
+ * @description Ensures dependencies that resolve assets from `process.cwd()` can still find this package's dependencies.
4
+ */
5
+ export declare function installPackageNodePath(metaUrl: string): void;
6
+ //# sourceMappingURL=module-resolution.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"module-resolution.d.ts","sourceRoot":"","sources":["../../src/runtime/module-resolution.ts"],"names":[],"mappings":"AASA;;;GAGG;AACH,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAoB5D"}
@@ -0,0 +1,30 @@
1
+ /**
2
+ * @name installPackageNodePath
3
+ * @description Adds this package's installed node_modules directory to Node's resolver for npm exec/npx runs.
4
+ */
5
+ import Module from 'module';
6
+ import { existsSync } from 'fs';
7
+ import { dirname, delimiter, resolve } from 'path';
8
+ import { fileURLToPath } from 'url';
9
+ /**
10
+ * @name installPackageNodePath
11
+ * @description Ensures dependencies that resolve assets from `process.cwd()` can still find this package's dependencies.
12
+ */
13
+ export function installPackageNodePath(metaUrl) {
14
+ const moduleDir = dirname(fileURLToPath(metaUrl));
15
+ const packageRoot = resolve(moduleDir, '..', '..');
16
+ const packageNodeModules = resolve(packageRoot, 'node_modules');
17
+ if (!existsSync(packageNodeModules)) {
18
+ return;
19
+ }
20
+ const paths = (process.env.NODE_PATH ?? '')
21
+ .split(delimiter)
22
+ .map((entry) => entry.trim())
23
+ .filter(Boolean);
24
+ if (!paths.includes(packageNodeModules)) {
25
+ process.env.NODE_PATH = [packageNodeModules, ...paths].join(delimiter);
26
+ }
27
+ const moduleWithInitPaths = Module;
28
+ moduleWithInitPaths._initPaths?.();
29
+ }
30
+ //# sourceMappingURL=module-resolution.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"module-resolution.js","sourceRoot":"","sources":["../../src/runtime/module-resolution.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,IAAI,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,KAAK,CAAC;AAEpC;;;GAGG;AACH,MAAM,UAAU,sBAAsB,CAAC,OAAe;IACpD,MAAM,SAAS,GAAG,OAAO,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC,CAAC;IAClD,MAAM,WAAW,GAAG,OAAO,CAAC,SAAS,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IACnD,MAAM,kBAAkB,GAAG,OAAO,CAAC,WAAW,EAAE,cAAc,CAAC,CAAC;IAEhE,IAAI,CAAC,UAAU,CAAC,kBAAkB,CAAC,EAAE,CAAC;QACpC,OAAO;IACT,CAAC;IAED,MAAM,KAAK,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,SAAS,IAAI,EAAE,CAAC;SACxC,KAAK,CAAC,SAAS,CAAC;SAChB,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC;SAC5B,MAAM,CAAC,OAAO,CAAC,CAAC;IAEnB,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,kBAAkB,CAAC,EAAE,CAAC;QACxC,OAAO,CAAC,GAAG,CAAC,SAAS,GAAG,CAAC,kBAAkB,EAAE,GAAG,KAAK,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;IACzE,CAAC;IAED,MAAM,mBAAmB,GAAG,MAAqD,CAAC;IAClF,mBAAmB,CAAC,UAAU,EAAE,EAAE,CAAC;AACrC,CAAC"}
@@ -76,7 +76,7 @@ Each release should document:
76
76
 
77
77
  ## 10.7 Current Release Notes
78
78
 
79
- Version `0.1.0` includes:
79
+ Version `0.1.1` includes:
80
80
 
81
81
  1. Local stdio and remote Streamable HTTP MCP modes.
82
82
  2. Profile-managed config under `~/.config/mcp-sap`.
@@ -1,6 +1,6 @@
1
1
  # 11. Code Quality Audit
2
2
 
3
- This audit records the current engineering posture for SAP MCP Server `0.1.0`.
3
+ This audit records the current engineering posture for SAP MCP Server `0.1.1`.
4
4
 
5
5
  ## 11.1 Result
6
6
 
package/package.json CHANGED
@@ -1,19 +1,19 @@
1
1
  {
2
2
  "name": "@oobe-protocol-labs/sap-mcp-server",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Official MCP gateway for OOBE Protocol SAP — AI agents can interact with SAP identity, registry, reputation, tools, memory, payments, settlement, and proof-of-execution on Solana",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
8
8
  "types": "dist/index.d.ts",
9
9
  "bin": {
10
- "sap-mcp-server": "./dist/cli.js",
11
- "sap-mcp-config": "./dist/config-cli.js",
12
- "sap-mcp-wizard": "./dist/tui/config-wizard.js",
13
- "sap-signing-proxy": "./dist/signer/signing-proxy.js",
14
- "sap-mcp-remote": "./dist/remote/server.js",
15
- "sap-mcp-facilitator": "./dist/payments/oobe-facilitator-server.js",
16
- "sap-mcp-pay-sh-spec": "./dist/payments/pay-sh-spec.js"
10
+ "sap-mcp-server": "dist/bin/sap-mcp-server.js",
11
+ "sap-mcp-config": "dist/config-cli.js",
12
+ "sap-mcp-wizard": "dist/tui/config-wizard.js",
13
+ "sap-signing-proxy": "dist/signer/signing-proxy.js",
14
+ "sap-mcp-remote": "dist/bin/sap-mcp-remote.js",
15
+ "sap-mcp-facilitator": "dist/payments/oobe-facilitator-server.js",
16
+ "sap-mcp-pay-sh-spec": "dist/payments/pay-sh-spec.js"
17
17
  },
18
18
  "files": [
19
19
  "dist",