sap-abap-mcp 0.4.0 → 0.4.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.
Files changed (3) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/README.md +31 -0
  3. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -3,6 +3,23 @@
3
3
  All notable changes to **SAP ABAP MCP** (npm + VS Code extension — same
4
4
  codebase, same version).
5
5
 
6
+ ## 0.4.1 — 2026-05-22
7
+
8
+ ### Documentation
9
+ - **README — npm smoke-test section**: explains how to verify the
10
+ published npm package end-to-end from a terminal, and warns that
11
+ running `npx -y sap-abap-mcp` from inside the source repo itself
12
+ produces a misleading `sh: sap-abap-mcp: command not found`. Reason:
13
+ the repo's own `package.json` declares the same package name, so
14
+ `npx` resolves the local package (which has no `node_modules/.bin/`
15
+ linkage) instead of fetching from the registry. Running from any
16
+ other directory (e.g. `/tmp`) avoids the name-shadowing. Real MCP
17
+ clients (Claude Desktop, Claude Code, Cursor) spawn from their own
18
+ working directory and never hit this — the quirk only shows up during
19
+ manual smoke tests inside the source checkout.
20
+
21
+ No code changes vs 0.4.0; the bundled `mcp-server.js` is byte-identical.
22
+
6
23
  ## 0.4.0 — 2026-05-22
7
24
 
8
25
  ### Added
package/README.md CHANGED
@@ -156,6 +156,37 @@ npx-based config above, so the registration survives extension upgrades).
156
156
  provider.
157
157
  5. Ask Copilot: *"Ping my SAP system."*
158
158
 
159
+ ### Smoke-test the npm package from the command line
160
+
161
+ If you want to verify the published `sap-abap-mcp` npm package runs on
162
+ your machine (independent of any MCP client), run this from a directory
163
+ **other than this repo's source checkout** — see the warning below:
164
+
165
+ ```bash
166
+ cd /tmp # any directory that is NOT the sap-abap-vscode-mcp source repo
167
+ echo '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"t","version":"1"}}}' \
168
+ | SAP_HOST="https://sap.example.com:44300" SAP_CLIENT="800" \
169
+ SAP_USER="YOURUSER" SAP_PASSWORD="yourpassword" SAP_VERIFY_SSL=false \
170
+ npx -y sap-abap-mcp
171
+ ```
172
+
173
+ Expected output (single line):
174
+
175
+ ```json
176
+ {"result":{"protocolVersion":"2024-11-05","capabilities":{"tools":{}},"serverInfo":{"name":"sap-abap-mcp","version":"0.1.0"}},"jsonrpc":"2.0","id":1}
177
+ ```
178
+
179
+ > **⚠️ Why "not in the source repo":** the source repo's own
180
+ > `package.json` declares `"name": "sap-abap-mcp"`, so `npx` inside that
181
+ > directory tries to resolve the *local* package instead of fetching
182
+ > from the registry. Since the local repo has no `node_modules/.bin/`
183
+ > linkage for its own bin entry, you get `sh: sap-abap-mcp: command not
184
+ > found`. Running from `/tmp` (or any other directory) avoids the
185
+ > name-shadowing and `npx` cleanly downloads + executes the published
186
+ > package. This is a quirk of npm's resolution, not a bug in the
187
+ > package. Real MCP clients (Claude Desktop, Claude Code, Cursor) spawn
188
+ > from their own working directory and never hit this.
189
+
159
190
  ## VS Code extension commands
160
191
 
161
192
  All available from the command palette (`⇧⌘P` / `Ctrl+Shift+P`) — these
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "sap-abap-mcp",
3
3
  "displayName": "SAP ABAP MCP",
4
4
  "description": "AI-powered ABAP development. Registers an MCP server that lets Copilot Chat (and other MCP clients) read, search, and edit ABAP objects on any on-premise SAP system via the ADT REST API.",
5
- "version": "0.4.0",
5
+ "version": "0.4.1",
6
6
  "publisher": "lom-ali-imadaev",
7
7
  "license": "Apache-2.0",
8
8
  "bin": {