datasphere_cli_status
Diagnose CLI failures by verifying SAP Datasphere CLI installation, configuration, and login status before creating or modifying objects.
Instructions
Check whether the SAP Datasphere CLI is installed, configured and logged in.
Use this tool when:
A CLI-backed tool failed and you need to know why (
create_table, any*_database_user*tool)The user asks to create or change an object — check the CLI is usable before promising anything
Diagnosing "datasphere CLI not found" or authentication errors
Background — two separate identities: This server reads data through the Consumption/Catalog APIs using its own OAuth technical user. Creating objects and administering the tenant is the CLI's job, and the CLI keeps a separate session (interactive browser login). A working MCP connection therefore says nothing about whether CLI-backed tools will work.
What you'll get:
cli_available/cli_path— is the executable there, and which oneversion— installed CLI version (verify command syntax against it)host— the tenant the CLI is configured againstauthenticated— whether a valid session existsnotes— plain-language diagnosis and next steps
Important: if authenticated is false, the fix is an interactive login that
an agent cannot perform. Ask the user to run it themselves:
datasphere login --options-file ds-options.json --force
Division of labour: for anything this server cannot do — creating views, analytic models, flows, task chains, spaces, users, roles — the answer is a CLI command, not an MCP tool. See docs/MCP_VS_CLI.md.
Safety: never returns tokens or secrets. Session validity is checked with
config secrets check, which reports consistency without disclosing values.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||