sap-ai-dev-toolkit 0.3.3 → 0.3.7
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/.github/agents/abap-developer.agent.md +3 -1
- package/.github/agents/abap-runtime-debugger.agent.md +3 -1
- package/.github/agents/hana-cloud-hdi-specialist.agent.md +22 -0
- package/.github/agents/rap-service-developer.agent.md +3 -1
- package/.github/agents/sap-solution-architect.agent.md +6 -3
- package/.github/skills/hana-cloud-inspection/SKILL.md +35 -0
- package/.github/skills/hana-cloud-native-development/SKILL.md +26 -0
- package/.github/skills/hana-cloud-validation/SKILL.md +26 -0
- package/README.md +50 -22
- package/package.json +9 -4
- package/scripts/postinstall.mjs +3 -3
- package/src/bas-destination-relay.mjs +24 -13
- package/src/credential-overrides.mjs +75 -0
- package/src/credentials-store.mjs +14 -5
- package/src/hana-config.mjs +170 -0
- package/src/hana-database.mjs +150 -0
- package/src/hana-inspector.mjs +114 -0
- package/src/hana-tools.mjs +277 -0
- package/src/launcher.mjs +10 -32
- package/src/mcp-config.mjs +10 -1
- package/src/mcp-proxy.mjs +61 -0
- package/src/setup.mjs +87 -61
- package/test/bas-destination-relay.test.mjs +50 -0
- package/test/cf-runtime.test.mjs +27 -5
- package/test/copilot-content.test.mjs +63 -0
- package/test/credentials-store.test.mjs +31 -0
- package/test/hana-config.test.mjs +168 -0
- package/test/hana-inspector-stdio.test.mjs +44 -0
- package/test/hana-tools.test.mjs +206 -0
- package/test/launcher.test.mjs +52 -0
- package/test/live-s4h.test.mjs +202 -0
- package/test/mcp-config-cf.test.mjs +40 -0
- package/test/mcp-proxy.test.mjs +17 -31
- package/test/setup-cf.test.mjs +131 -4
- package/test/setup.test.mjs +10 -6
- package/tools.md +58 -50
package/tools.md
CHANGED
|
@@ -1,79 +1,87 @@
|
|
|
1
|
+
# Curated VSP tools exposed through the BAS proxy
|
|
1
2
|
|
|
2
|
-
|
|
3
|
+
The proxy no longer advertises every VSP tool. To keep the developer-lifecycle MCP surface manageable, each generated one-destination server exposes a cherry-picked set of VSP tools plus local workflow tools (currently 59 tools when all curated VSP capabilities are registered).
|
|
3
4
|
|
|
4
|
-
|
|
5
|
+
Hidden upstream VSP tools are not directly callable through the proxy. Local workflow tools may still call hidden or non-advertised upstream operations internally when they are required for a bounded workflow.
|
|
5
6
|
|
|
6
|
-
##
|
|
7
|
+
## Public VSP tools
|
|
7
8
|
|
|
8
|
-
- `
|
|
9
|
-
- `
|
|
10
|
-
- `
|
|
11
|
-
- `
|
|
12
|
-
- `GetCallGraph`
|
|
13
|
-
- `GetCalleesOf`
|
|
14
|
-
- `GetCallersOf`
|
|
15
|
-
- `GetCodeCoverage`
|
|
16
|
-
- `GetConnectionInfo`
|
|
17
|
-
- `GetObjectStructure`
|
|
18
|
-
- `GetTypeHierarchy`
|
|
19
|
-
- `GetTypeInfo`
|
|
20
|
-
- `GrepObject`
|
|
21
|
-
- `GrepPackage`
|
|
22
|
-
- `CallRFC`
|
|
9
|
+
- `Activate`
|
|
10
|
+
- `ActivateMultiple`
|
|
11
|
+
- `CompareSource`
|
|
12
|
+
- `CreateTransport`
|
|
23
13
|
- `DebuggerAttach`
|
|
24
14
|
- `DebuggerDetach`
|
|
25
15
|
- `DebuggerGetStack`
|
|
26
16
|
- `DebuggerGetVariables`
|
|
27
|
-
- `DebuggerListen`
|
|
28
17
|
- `DebuggerStep`
|
|
29
|
-
- `
|
|
18
|
+
- `EditSource`
|
|
19
|
+
- `FindDefinition`
|
|
20
|
+
- `FindReferences`
|
|
21
|
+
- `GetAPIReleaseState`
|
|
30
22
|
- `GetBreakpoints`
|
|
31
|
-
- `
|
|
32
|
-
- `
|
|
33
|
-
- `
|
|
34
|
-
- `ListDumps`
|
|
35
|
-
- `SetBreakpoint`
|
|
36
|
-
|
|
37
|
-
## Object, source, transport, and service operations
|
|
38
|
-
|
|
39
|
-
- `CloneObject`
|
|
40
|
-
- `CreateAndActivateProgram`
|
|
41
|
-
- `CreateClassWithTests`
|
|
42
|
-
- `CreateObject`
|
|
43
|
-
- `CreateTestInclude`
|
|
44
|
-
- `DeleteObject`
|
|
45
|
-
- `ExecuteABAP`
|
|
23
|
+
- `GetCDSDependencies`
|
|
24
|
+
- `GetCDSElementInfo`
|
|
25
|
+
- `GetCDSImpactAnalysis`
|
|
46
26
|
- `GetClass`
|
|
47
27
|
- `GetClassComponents`
|
|
48
28
|
- `GetClassInclude`
|
|
29
|
+
- `GetClassInfo`
|
|
30
|
+
- `GetConnectionInfo`
|
|
31
|
+
- `GetContext`
|
|
32
|
+
- `GetFeatures`
|
|
49
33
|
- `GetFunction`
|
|
34
|
+
- `GetFunctionGroup`
|
|
35
|
+
- `GetInactiveObjects`
|
|
50
36
|
- `GetInclude`
|
|
37
|
+
- `GetInstalledComponents`
|
|
51
38
|
- `GetInterface`
|
|
39
|
+
- `GetPackage`
|
|
52
40
|
- `GetProgram`
|
|
53
|
-
- `
|
|
54
|
-
- `
|
|
55
|
-
- `
|
|
56
|
-
- `
|
|
57
|
-
- `
|
|
58
|
-
- `
|
|
59
|
-
- `
|
|
60
|
-
- `
|
|
61
|
-
- `
|
|
62
|
-
- `UpdateSource`
|
|
63
|
-
- `WriteClass`
|
|
64
|
-
- `WriteProgram`
|
|
65
|
-
- `CreateTransport`
|
|
41
|
+
- `GetSource`
|
|
42
|
+
- `GetSystemInfo`
|
|
43
|
+
- `GetTable`
|
|
44
|
+
- `GetTableContents`
|
|
45
|
+
- `GetTransport`
|
|
46
|
+
- `GetTransportInfo`
|
|
47
|
+
- `GetUserTransports`
|
|
48
|
+
- `GrepObjects`
|
|
49
|
+
- `GrepPackages`
|
|
66
50
|
- `ListDependencies`
|
|
67
|
-
- `
|
|
68
|
-
- `
|
|
51
|
+
- `ListTransports`
|
|
52
|
+
- `PrettyPrint`
|
|
53
|
+
- `RunATCCheck`
|
|
54
|
+
- `RunQuery`
|
|
55
|
+
- `RunUnitTests`
|
|
56
|
+
- `SearchObject`
|
|
57
|
+
- `SetBreakpoint`
|
|
58
|
+
- `SyntaxCheck`
|
|
59
|
+
- `WriteSource`
|
|
60
|
+
|
|
61
|
+
## Hidden from direct proxy calls
|
|
62
|
+
|
|
63
|
+
Broad/destructive surfaces such as object deletion, SQL trace, arbitrary SAP router calls, transport release/delete, RFC execution, debugger listen/delete-breakpoint helpers, and one-off generator/update helpers are intentionally not advertised by the BAS proxy.
|
|
69
64
|
|
|
70
65
|
## Destination-scoped workflow tools
|
|
71
66
|
|
|
72
67
|
The proxy adds local multi-step tools to each destination when their required VSP capabilities are available:
|
|
73
68
|
|
|
69
|
+
- `LintABAP` — local in-memory ABAP linting.
|
|
70
|
+
- `GetApplicationLog` — bounded convenience mapping to the upstream SAP application-log route when available.
|
|
74
71
|
- `PrepareABAPChangeSet` and `ApplyABAPChangeSet` — review full-source diffs and recheck source before explicit writes.
|
|
75
72
|
- `CheckTransportReadiness` — collect a whitelisted bundle of transport, dependency, inactive-object, ABAP Unit, and ATC results.
|
|
76
73
|
- `PlanABAPCloudMigration` — batch SAP API release-state checks and prioritize recognized unreleased results.
|
|
77
74
|
- `GenerateRAPRegressionSuite` and `RunRAPRegressionSuite` — create and run reusable OData GET-only checks under the selected service root.
|
|
78
75
|
|
|
79
76
|
`sap-ai-dev-toolkit --doctor` checks destination probing, VSP startup, `GetSystemInfo`, and MCP tool listing. `sap-ai-dev-toolkit --demo` runs the sample tools and OData fixtures without contacting SAP; demo writes and transport creation remain in memory until that process exits.
|
|
77
|
+
|
|
78
|
+
## Separate optional HANA Cloud inspector
|
|
79
|
+
|
|
80
|
+
The optional `hana-cloud-inspector` companion starts `sap-ai-hana` as a separate stdio MCP server. It does not use the VSP proxy, BAS destination prefix, or ABAP SQL `RunQuery`. When selected and configured with a dedicated read-only identity, it exposes:
|
|
81
|
+
|
|
82
|
+
- `hana_connection_info` — verify the configured endpoint, service/binding, current user, schema, and TLS state without returning credentials.
|
|
83
|
+
- `hana_list_objects` — list tables/views in the bound HDI schema, with a 200-object maximum.
|
|
84
|
+
- `hana_describe_object` — inspect columns for a catalog-verified object in that schema.
|
|
85
|
+
- `hana_read_rows` — perform parameterized reads of selected columns, capped at 200 rows; credential-like columns are blocked and arbitrary SQL is not accepted.
|
|
86
|
+
|
|
87
|
+
Connection secrets are read from the MCP host environment via explicit `HANA_RO_*` variables or a selected `VCAP_SERVICES` binding and are not written to `mcp.json`. TLS certificate verification is mandatory. No HANA write, DDL/DML, deploy/undeploy, grants, or service-key tools are exposed; deployment remains a user-run project workflow.
|