Release 2.13.0.202611081505
This commit is contained in:
@@ -5,7 +5,7 @@ server runs on your computer. It accepts connections from `127.0.0.1` only.
|
||||
|
||||
## Choose a mode
|
||||
|
||||
EPOD has two modes. Both modes give the same 35 tools.
|
||||
EPOD has two modes. Both modes give the same 36 tools.
|
||||
|
||||
| Topic | Eclipse mode | Standalone mode |
|
||||
|---|---|---|
|
||||
|
||||
@@ -47,6 +47,9 @@ The internal host gives files only to a browser with a sign-in. Eclipse cannot s
|
||||
8. Accept the license and complete the wizard.
|
||||
9. Restart Eclipse when Eclipse asks for it.
|
||||
|
||||
Keep the cloned folder. Eclipse installs the updates from it, and the update check takes the download link from it
|
||||
(section 11).
|
||||
|
||||
### Install with dropins (not tested)
|
||||
|
||||
CAUTION: Nobody tested this way with the two bundles of version 2.6.0. Use the update site if you can.
|
||||
@@ -226,10 +229,30 @@ Select **Window > Preferences...**. Select the page **ABAP MCP Server**.
|
||||
<!-- external-only:start -->
|
||||
- External update site: select **Help > Check for Updates**.
|
||||
<!-- external-only:end -->
|
||||
- Internal update site: run `git pull` in the clone. Then repeat the install of section 2.
|
||||
- Internal update site: run `git pull` in the clone. Then restart Eclipse, or select **Help > Check for Updates**.
|
||||
ADT checks the known update sites at each start of Eclipse, so Eclipse offers the update.
|
||||
|
||||
The token and the access modes stay after an update.
|
||||
|
||||
### The update check
|
||||
|
||||
The server checks once a day for a new EPOD release. The first check runs 3 minutes after the server start. The
|
||||
server reads one file, `latest.json`, from the external update site. The request holds no user data and no
|
||||
identifier. The server stores the time of the last check, so a restart does not check again within 24 hours. EPOD
|
||||
has no setting for the check. No tool result shows the update.
|
||||
|
||||
- The tab **Log** shows one line for each check, for example
|
||||
`Update check: EPOD 2.14.0 is available (2026-11-15). Installed: 2.13.0. Download: <link>.`
|
||||
- A popup shows a new version one time. The popup names the installed version, the download link, and the changes
|
||||
of each version after the installed one. The popup stays open until you close it.
|
||||
- The link comes from the update site that you installed from. A local clone gives the link of its site, and the
|
||||
line and the popup also name the folder of the clone and the version that the clone holds.
|
||||
- No popup shows when Eclipse reports the update itself. This is the case when the automatic update of Eclipse is
|
||||
on (the ADT default) and **Available Software Sites** holds the external update site.
|
||||
- A failed check writes one line to the tab **Log**, for example
|
||||
`Update check: no answer from the update site (connect timeout). Next check in 24 hours.`
|
||||
- The check uses the proxy of Eclipse (**Window > Preferences > General > Network Connections**).
|
||||
|
||||
## 12. Uninstall
|
||||
|
||||
1. Click **Stop Server** in the view.
|
||||
@@ -255,5 +278,5 @@ Delete the file to remove the token.
|
||||
| The tab **Log** shows `ERROR: Connect to at least one ABAP project before starting the server.` | No project is connected. | Connect a project. Click **Start Server**. |
|
||||
| The tab **Log** shows `ERROR: Failed to start server:` and a reason. | An example is a port that another program uses. | Set another port in the preferences. Update the URL in each MCP client. |
|
||||
| A tool returns `The destination with ID <name> is not registered.` | The ABAP project has no logon after a restart of Eclipse. | Log on to the project in Eclipse. Call the tool again. |
|
||||
| A tool returns `Multiple systems connected. Specify 'systemId'.` | Two or more projects are connected. | Tell the MCP client the project name. |
|
||||
| A tool returns `Multiple systems connected. The call needs 'systemId'.` | Two or more projects are connected. | Tell the MCP client the project name. |
|
||||
| A tool returns `System <name> is set to read-only.` | The project is read-only. | Click **Toggle Read-Only**, or use another project. |
|
||||
|
||||
@@ -11,10 +11,10 @@ The launcher is `epod-adt` on macOS and `epod-adt.ps1` on Windows. Run a command
|
||||
|
||||
| Command | Action |
|
||||
|---|---|
|
||||
| `install [<folder>]` | The command copies the jars and the scripts of the unpacked zip into the home folder. Without `<folder>`, it uses the folder of the launcher. It refuses to run while the server runs. |
|
||||
| `start` | The command starts the server and waits until `/health` answers, for a maximum of 120 seconds. |
|
||||
| `install [<folder>]` | The command copies the jars, the scripts, and `download.properties` of the unpacked zip into the home folder. It deletes `update.properties`. Without `<folder>`, it uses the folder of the launcher. It refuses to run while the server runs. |
|
||||
| `start` | The command starts the server and waits until `/health` answers, for a maximum of 120 seconds. It prints the line of the update check when a newer version exists. |
|
||||
| `stop` | The command stops the server and waits for a maximum of 60 seconds. |
|
||||
| `status` | The command shows the server state, the client entry, and the HTTP configuration. The exit code is 3 when the server is stopped. |
|
||||
| `status` | The command shows the server state, the line of the update check when a newer version exists, the client entry, and the HTTP configuration. The exit code is 3 when the server is stopped. |
|
||||
| `stdio` | The command is the client entry for an MCP client on macOS. It starts the server when necessary. On Windows the client entry is `cmd /c "<home>\epod-adt.cmd" stdio`. |
|
||||
| `install-claude` | The command adds the client entry `epod-adt` to Claude Code (user scope). |
|
||||
| `install-codex` | The command adds the client entry `epod-adt` to Codex. |
|
||||
@@ -25,7 +25,7 @@ The launcher is `epod-adt` on macOS and `epod-adt.ps1` on Windows. Run a command
|
||||
| `mode <id> write` | The command sets the destination to write. It needs an interactive terminal and the answer `y`. |
|
||||
| `token` | The command shows the token. It needs an interactive terminal. |
|
||||
| `token rotate` | The command makes a new token. The old token stops working at once. |
|
||||
| `monitor` | The command shows a live screen. It needs an interactive terminal. The keys are `[m]` mode, `[t]` token, `[l]` log, and `[q]` quit. |
|
||||
| `monitor` | The command shows a live screen. It needs an interactive terminal. The keys are `[m]` mode, `[t]` token, `[l]` log, and `[q]` quit. The line of the update check shows under the first line when a newer version exists. |
|
||||
| `monitor --snapshot [--width <columns>]` | The command writes one screen with a masked token. |
|
||||
| `help` | The command shows the command list. |
|
||||
|
||||
@@ -65,6 +65,8 @@ The home folder is `~/.epod-adt` on macOS and `%USERPROFILE%\.epod-adt` on Windo
|
||||
| `token` | The file holds the token. Only the owner can read the file. |
|
||||
| `mcp-client.json` | The file holds the client configuration for the HTTP way, with the URL and the token. Only the owner can read the file. The server writes it at each start and after `token rotate`. |
|
||||
| `epod-adt.pid` | The file holds the process ID of the running server. |
|
||||
| `update.properties` | The file holds the state of the update check: the time of the last check and, while a newer version exists, the newest version and the line that `status`, `start`, and `monitor` print. Only the owner can read the file. The server writes it. |
|
||||
| `download.properties` | The file holds the folder of the standalone zip on the update site that the zip came from. `install` copies it from the zip. The line of the update check names the new zip in this folder. |
|
||||
| `start.lock` | The file is the lock of `start`, `stop`, and `install`. |
|
||||
| `stop` | The command `stop` creates this file. The server stops when it sees the file. |
|
||||
| `logs/` | The folder holds the log files (section 5). |
|
||||
@@ -77,6 +79,7 @@ The home folder is `~/.epod-adt` on macOS and `%USERPROFILE%\.epod-adt` on Windo
|
||||
| `EPOD_VSCODE_EXTENSIONS` | The variable sets the folder of the VS Code extensions. The default is `~/.vscode/extensions` (macOS) or `%USERPROFILE%\.vscode\extensions` (Windows). |
|
||||
| `SNC_LIB`, `SNC_LIB_64`, `SECUDIR` | The variables hold the SNC settings of the SSO logon. At `start`, the launcher fills each empty variable. On macOS it reads the launchd environment (`launchctl getenv`). On Windows it reads the user environment, then the machine environment. The launcher prints the names of the filled variables, never their values. |
|
||||
| `SAPLOGON_LSXML_FILE` | The variable names the landscape file of SAP Logon on Windows. `sap_system_list_sapgui` reads it when the registry has no value. |
|
||||
| `https_proxy`, `HTTPS_PROXY`, `no_proxy`, `NO_PROXY` | The update check reads these variables of the process that starts the server. `https_proxy` sets the proxy of the check, for example `http://proxy.example.com:8080`. `no_proxy` lists the hosts without a proxy. Without the variables the check uses no proxy. |
|
||||
|
||||
## 5. Log files of the standalone mode
|
||||
|
||||
@@ -130,6 +133,8 @@ The preference node is `com.epod.adt.mcp.plugin`. Eclipse stores it in
|
||||
| (no label, the view stores it) | `mcp.server.token` | The first start writes the token. |
|
||||
| (no label, the view stores it) | `mcp.system.mode.<project>` | The key holds the access mode of a project. |
|
||||
| Connected only (check box in the view) | `view.connectedOnly` | `false` |
|
||||
| (no label, the update check stores it) | `mcp.update.lastCheck` | The key holds the time of the last update check. |
|
||||
| (no label, the update check stores it) | `mcp.update.shownVersion` | The key holds the version that the update popup showed last. |
|
||||
|
||||
## 8. Endpoints and write tools
|
||||
|
||||
|
||||
@@ -25,8 +25,8 @@ version and a SHA-256 file in the folder `standalone/`.
|
||||
<!-- external-only:start -->
|
||||
Users outside SAP use the external update site:
|
||||
|
||||
curl -L -O https://git.epod.dev/erhan/epod-adt-mcp-updatesite/raw/branch/main/standalone/epod-adt-standalone-2.12.0.zip
|
||||
curl -L -O https://git.epod.dev/erhan/epod-adt-mcp-updatesite/raw/branch/main/standalone/epod-adt-standalone-2.12.0.zip.sha256
|
||||
curl -L -O https://git.epod.dev/erhan/epod-adt-mcp-updatesite/raw/branch/main/standalone/epod-adt-standalone-2.13.0.zip
|
||||
curl -L -O https://git.epod.dev/erhan/epod-adt-mcp-updatesite/raw/branch/main/standalone/epod-adt-standalone-2.13.0.zip.sha256
|
||||
|
||||
<!-- external-only:end -->
|
||||
SAP developers download the two files from `https://github.tools.sap/GLOFINDEFICA/epod-adt-mcp-updatesite/raw/main/standalone/` in a browser with a sign-in. The second way is a clone of
|
||||
@@ -34,9 +34,9 @@ version and a SHA-256 file in the folder `standalone/`.
|
||||
|
||||
3. Check the zip:
|
||||
|
||||
shasum -a 256 -c epod-adt-standalone-2.12.0.zip.sha256
|
||||
shasum -a 256 -c epod-adt-standalone-2.13.0.zip.sha256
|
||||
|
||||
The command prints `epod-adt-standalone-2.12.0.zip: OK`.
|
||||
The command prints `epod-adt-standalone-2.13.0.zip: OK`.
|
||||
|
||||
CAUTION: Do not install a zip when the check does not print `OK`.
|
||||
|
||||
@@ -48,11 +48,11 @@ You can also build the zip from the source repository with `./mvnw clean verify`
|
||||
1. Open a terminal in the folder of the zip.
|
||||
2. Unpack the zip:
|
||||
|
||||
unzip epod-adt-standalone-2.12.0.zip
|
||||
unzip epod-adt-standalone-2.13.0.zip
|
||||
|
||||
3. Run the install:
|
||||
|
||||
sh epod-adt-standalone-2.12.0/epod-adt install
|
||||
sh epod-adt-standalone-2.13.0/epod-adt install
|
||||
|
||||
The command prints `EPOD ADT MCP server installed in /Users/<user>/.epod-adt:` and the two jars.
|
||||
|
||||
@@ -87,6 +87,7 @@ not run (section 5).
|
||||
~/.epod-adt/epod-adt status
|
||||
|
||||
The command prints the same line and the line `Client entry (stdio): /Users/<user>/.epod-adt/epod-adt stdio`.
|
||||
When a newer EPOD version exists, `start` and `status` also print the line of the update check (section 12).
|
||||
|
||||
The first start writes the files `token` and `mcp-client.json` into the home folder. It also writes
|
||||
`epod.properties` when the file does not exist. The server
|
||||
@@ -215,7 +216,7 @@ The token protects the HTTP endpoint of the standalone server. The client entry
|
||||
|
||||
| Command | Result |
|
||||
|---|---|
|
||||
| `~/.epod-adt/epod-adt monitor` | The command shows a live screen with the clients, the systems, the totals, the activity, and the log. The keys are `[m]` mode, `[t]` token, `[l]` log, and `[q]` quit. |
|
||||
| `~/.epod-adt/epod-adt monitor` | The command shows a live screen with the clients, the systems, the totals, the activity, and the log. The keys are `[m]` mode, `[t]` token, `[l]` log, and `[q]` quit. The line of the update check shows under the first line when a newer version exists (section 12). |
|
||||
| `~/.epod-adt/epod-adt monitor --snapshot` | The command writes one screen with a masked token and ends. |
|
||||
| `~/.epod-adt/epod-adt log` | The command shows the last 20 lines of the server log. Add `-n <lines>` for another number of lines and `-f` to follow the file. |
|
||||
| `~/.epod-adt/epod-adt activity` | The command shows the last tool calls as a table. It takes the same options as `log`. |
|
||||
@@ -250,6 +251,24 @@ Update to a new zip:
|
||||
|
||||
The update keeps the token, `epod.properties`, and the client entries.
|
||||
|
||||
### The update check
|
||||
|
||||
The server checks once a day for a new EPOD release. The first check runs 3 minutes after the start. The server
|
||||
reads one file, `latest.json`, from the external update site. The request holds no user data and no identifier.
|
||||
EPOD has no setting for the check. When a newer version exists, `start`, `status`, and `monitor` print one line,
|
||||
for example:
|
||||
|
||||
Update: EPOD 2.14.0 is available. Installed: 2.13.0. Download: <link of the new zip>
|
||||
|
||||
The link names the new zip on the update site that the installed zip came from. The file `download.properties` of
|
||||
the zip holds this site, and `install` copies it into the home folder. The line stays until the new version is
|
||||
installed. The file `update.properties` of the home folder holds the state of the check, and `logs/server.log`
|
||||
holds one line for each check. The install of a new zip deletes `update.properties`, so the server checks again 3
|
||||
minutes after the next start.
|
||||
|
||||
The check uses no proxy. When the process that starts the server has the variable `https_proxy` (or
|
||||
`HTTPS_PROXY`), the check uses that proxy. The variable `no_proxy` lists the hosts without a proxy.
|
||||
|
||||
Uninstall:
|
||||
|
||||
1. Stop the server.
|
||||
@@ -276,6 +295,6 @@ Do not delete `~/.adtls/destinations.json`. The ADT for VS Code extension owns t
|
||||
| `The server process ended during the start.` | The server stopped. The command prints the last lines of `logs/console.log`. | Read the lines. Send them to the maintainer if necessary. |
|
||||
| A tool returns `Destination <id> is not an SSO destination (<reason>).` | The destination has no SSO. | Use an SSO destination. |
|
||||
| A tool returns `System <id> is set to read-only.` | The destination is read-only. | Run `~/.epod-adt/epod-adt mode <id> write` in a terminal. |
|
||||
| A tool returns `Multiple systems available. Specify 'systemId'.` | Two or more destinations exist. | Tell the MCP client the destination ID. |
|
||||
| A tool returns `Multiple systems available. The call needs 'systemId'.` | Two or more destinations exist. | Tell the MCP client the destination ID. |
|
||||
| `A change to write mode needs an interactive terminal.` | A shell tool or a pipe ran `mode <id> write`. | Run the command in a terminal. |
|
||||
| `A server process runs (pid <pid>), but it does not answer on port <port>. The mode of <id> did not change.` | The server process runs, but it does not answer on the port of `epod.properties`. A start can still run. | Wait until the start ends. Run the command again. If the message stays, run `~/.epod-adt/epod-adt stop` and run the command again. |
|
||||
|
||||
@@ -32,8 +32,8 @@ version and a SHA-256 file in the folder `standalone/`.
|
||||
<!-- external-only:start -->
|
||||
Users outside SAP use the external update site:
|
||||
|
||||
Invoke-WebRequest -UseBasicParsing -Uri https://git.epod.dev/erhan/epod-adt-mcp-updatesite/raw/branch/main/standalone/epod-adt-standalone-2.12.0.zip -OutFile epod-adt-standalone-2.12.0.zip
|
||||
Invoke-WebRequest -UseBasicParsing -Uri https://git.epod.dev/erhan/epod-adt-mcp-updatesite/raw/branch/main/standalone/epod-adt-standalone-2.12.0.zip.sha256 -OutFile epod-adt-standalone-2.12.0.zip.sha256
|
||||
Invoke-WebRequest -UseBasicParsing -Uri https://git.epod.dev/erhan/epod-adt-mcp-updatesite/raw/branch/main/standalone/epod-adt-standalone-2.13.0.zip -OutFile epod-adt-standalone-2.13.0.zip
|
||||
Invoke-WebRequest -UseBasicParsing -Uri https://git.epod.dev/erhan/epod-adt-mcp-updatesite/raw/branch/main/standalone/epod-adt-standalone-2.13.0.zip.sha256 -OutFile epod-adt-standalone-2.13.0.zip.sha256
|
||||
|
||||
<!-- external-only:end -->
|
||||
SAP developers download the two files from `https://github.tools.sap/GLOFINDEFICA/epod-adt-mcp-updatesite/raw/main/standalone/` in a browser with a sign-in. The second way is a clone of
|
||||
@@ -41,7 +41,7 @@ version and a SHA-256 file in the folder `standalone/`.
|
||||
|
||||
3. Check the zip:
|
||||
|
||||
(Get-FileHash -Algorithm SHA256 .\epod-adt-standalone-2.12.0.zip).Hash -eq (Get-Content .\epod-adt-standalone-2.12.0.zip.sha256).Split(' ')[0]
|
||||
(Get-FileHash -Algorithm SHA256 .\epod-adt-standalone-2.13.0.zip).Hash -eq (Get-Content .\epod-adt-standalone-2.13.0.zip.sha256).Split(' ')[0]
|
||||
|
||||
The command prints `True`.
|
||||
|
||||
@@ -57,15 +57,15 @@ Windows marks a file from the internet. A Group Policy can block a marked script
|
||||
1. Open a terminal in the folder of the zip.
|
||||
2. Remove the mark from the downloaded zip:
|
||||
|
||||
Unblock-File .\epod-adt-standalone-2.12.0.zip
|
||||
Unblock-File .\epod-adt-standalone-2.13.0.zip
|
||||
|
||||
3. Unpack the zip:
|
||||
|
||||
Expand-Archive epod-adt-standalone-2.12.0.zip -DestinationPath .
|
||||
Expand-Archive epod-adt-standalone-2.13.0.zip -DestinationPath .
|
||||
|
||||
4. Run the install:
|
||||
|
||||
powershell -ExecutionPolicy Bypass -File .\epod-adt-standalone-2.12.0\epod-adt.ps1 install
|
||||
powershell -ExecutionPolicy Bypass -File .\epod-adt-standalone-2.13.0\epod-adt.ps1 install
|
||||
|
||||
The command prints `EPOD ADT MCP server installed in C:\Users\<user>\.epod-adt:` and the two jars.
|
||||
|
||||
@@ -103,6 +103,7 @@ not run (section 5).
|
||||
2. Show the state of the server with `epod-adt.ps1 status`.
|
||||
|
||||
The command prints the same line and the line `Client entry (stdio): cmd /c C:\Users\<user>\.epod-adt\epod-adt.cmd stdio`.
|
||||
When a newer EPOD version exists, `start` and `status` also print the line of the update check (section 12).
|
||||
|
||||
The first start writes the files `token` and `mcp-client.json` into the home folder. It also writes
|
||||
`epod.properties` when the file does not exist. The server
|
||||
@@ -230,7 +231,7 @@ The token protects the HTTP endpoint of the standalone server. The client entry
|
||||
|
||||
| Command | Result |
|
||||
|---|---|
|
||||
| `epod-adt.ps1 monitor` | The command shows a live screen with the clients, the systems, the totals, the activity, and the log. The keys are `[m]` mode, `[t]` token, `[l]` log, and `[q]` quit. |
|
||||
| `epod-adt.ps1 monitor` | The command shows a live screen with the clients, the systems, the totals, the activity, and the log. The keys are `[m]` mode, `[t]` token, `[l]` log, and `[q]` quit. The line of the update check shows under the first line when a newer version exists (section 12). |
|
||||
| `epod-adt.ps1 monitor --snapshot` | The command writes one screen with a masked token and ends. |
|
||||
| `epod-adt.ps1 log` | The command shows the last 20 lines of the server log. Add `-n <lines>` for another number of lines and `-f` to follow the file. |
|
||||
| `epod-adt.ps1 activity` | The command shows the last tool calls as a table. It takes the same options as `log`. |
|
||||
@@ -261,6 +262,24 @@ Update to a new zip:
|
||||
|
||||
The update keeps the token, `epod.properties`, and the client entries.
|
||||
|
||||
### The update check
|
||||
|
||||
The server checks once a day for a new EPOD release. The first check runs 3 minutes after the start. The server
|
||||
reads one file, `latest.json`, from the external update site. The request holds no user data and no identifier.
|
||||
EPOD has no setting for the check. When a newer version exists, `start`, `status`, and `monitor` print one line,
|
||||
for example:
|
||||
|
||||
Update: EPOD 2.14.0 is available. Installed: 2.13.0. Download: <link of the new zip>
|
||||
|
||||
The link names the new zip on the update site that the installed zip came from. The file `download.properties` of
|
||||
the zip holds this site, and `install` copies it into the home folder. The line stays until the new version is
|
||||
installed. The file `update.properties` of the home folder holds the state of the check, and `logs/server.log`
|
||||
holds one line for each check. The install of a new zip deletes `update.properties`, so the server checks again 3
|
||||
minutes after the next start.
|
||||
|
||||
The check uses no proxy. When the process that starts the server has the variable `HTTPS_PROXY` (or
|
||||
`https_proxy`), the check uses that proxy. The variable `NO_PROXY` lists the hosts without a proxy.
|
||||
|
||||
Uninstall:
|
||||
|
||||
1. Stop the server.
|
||||
@@ -287,6 +306,6 @@ Do not delete `%USERPROFILE%\.adtls\destinations.json`. The ADT for VS Code exte
|
||||
| `The server process ended during the start.` | The server stopped. The command prints the last lines of `logs\console.log`. | Read the lines. Send them to the maintainer if necessary. |
|
||||
| A tool returns `Destination <id> is not an SSO destination (<reason>).` | The destination has no SSO. | Use an SSO destination. |
|
||||
| A tool returns `System <id> is set to read-only.` | The destination is read-only. | Run `epod-adt.ps1 mode <id> write` in a terminal. |
|
||||
| A tool returns `Multiple systems available. Specify 'systemId'.` | Two or more destinations exist. | Tell the MCP client the destination ID. |
|
||||
| A tool returns `Multiple systems available. The call needs 'systemId'.` | Two or more destinations exist. | Tell the MCP client the destination ID. |
|
||||
| `A change to write mode needs an interactive terminal.` | A shell tool or a pipe ran `mode <id> write`. | Run the command in a terminal. |
|
||||
| `A server process runs (pid <pid>), but it does not answer on port <port>. The mode of <id> did not change.` | The server process runs, but it does not answer on the port of `epod.properties`. A start can still run. | Wait until the start ends. Run the command again. If the message stays, run `epod-adt.ps1 stop` and run the command again. |
|
||||
|
||||
Reference in New Issue
Block a user