Install ABAP Accelerator in Goose
What you need first
- Goose, installed.
- uv, which
gives the
uvxcommand the server starts with. - Your own values for
YOUR_SAP_HOST,YOUR_SAP_INSTANCE_NUMBER,YOUR_SAP_CLIENT,YOUR_SAP_USERNAME,YOUR_SAP_PASSWORD.
Steps
- Open
~/.config/goose/config.yaml. On Windows it is%APPDATA%\Block\goose\config\config.yaml. - Add this entry. If the file already has
extensions, add only the entry inside it.
extensions:
"abap-accelerator":
type: stdio
name: "abap-accelerator"
enabled: true
cmd: "uvx"
args: ["abap-accelerator==1.0.1"]
env_keys: []
envs: { "SAP_HOST": "YOUR_SAP_HOST", "SAP_INSTANCE_NUMBER": "YOUR_SAP_INSTANCE_NUMBER", "SAP_CLIENT": "YOUR_SAP_CLIENT", "SAP_USERNAME": "YOUR_SAP_USERNAME", "SAP_PASSWORD": "YOUR_SAP_PASSWORD" }
timeout: 300 - Replace
YOUR_SAP_HOST,YOUR_SAP_INSTANCE_NUMBER,YOUR_SAP_CLIENT,YOUR_SAP_USERNAME,YOUR_SAP_PASSWORDwith your own values. - Save the file and start a new Goose session.
Check it worked
Ask Goose: List the tools of abap-accelerator.
If it does not start
- spawn uvx ENOENT
- uv is not on the PATH that Goose sees. Install it, or write the
full path of
uvxin the config. - The server starts, but its tools fail
- A
YOUR_…placeholder is still in the config, or its value is wrong. - Nothing changes after a restart
- The file is not valid YAML any more. Check that the entry is indented like the lines around it.