Learn how to build a developer-centric SAP HANA command line tool, particularly designed to be used when performing SAP HANA development in non-SAP tooling (for example from VS Code).
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add sap-hana-cli -- npx -y hana-cli~/.codex/config.toml
[mcp_servers.sap-hana-cli]
command = "npx"
args = ["-y", "hana-cli"]
# codex mcp add sap-hana-cli -- npx -y hana-cli~/.cursor/mcp.json
{
"mcpServers": {
"sap-hana-cli": {
"command": "npx",
"args": [
"-y",
"hana-cli"
]
}
}
}.vscode/mcp.json
{
"servers": {
"sap-hana-cli": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"hana-cli"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"sap-hana-cli": {
"command": "npx",
"args": [
"-y",
"hana-cli"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"sap-hana-cli": {
"command": "npx",
"args": [
"-y",
"hana-cli"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"sap-hana-cli": {
"command": "npx",
"args": [
"-y",
"hana-cli"
]
}
}
}