Interactive Usage OAuth plus consumption catalog / analytical / relational OData — and a thin bridge to the official datasphere CLI.
| Tool | Role |
|---|---|
datasphere_cli_status |
Is the CLI installed? Is this MCP logged in? |
datasphere_cli_run |
Run any design-time/admin CLI command as an argv array |
There is no MCP tool per CLI command. All ~220 datasphere commands go through datasphere_cli_run. Consumption tools (login_interactive, search_catalog, query_*, …) never call the CLI.
- Node.js 20+
- OAuth client with Purpose = Interactive Usage (Authorization Code)
- Optional: global
@sap/datasphere-clifor design-time work
copy .env.example .env
# Fill DSP_OAUTH_* and DSP_TENANT_URL
npm install
npm run buildOptional: npm run login writes .token.json without starting the MCP.
{
"mcpServers": {
"sap-datasphere-interactive": {
"command": "node",
"args": ["C:\\path\\to\\MCP-Datasphere-InteractiveUser\\dist\\index.js"],
"cwd": "C:\\path\\to\\MCP-Datasphere-InteractiveUser"
}
}
}See docs/CURSOR.md.
{ "tool": "datasphere_cli_status" }{
"tool": "datasphere_cli_run",
"args": ["spaces", "list"]
}Create then verify rows: docs/CREATE_THEN_QUERY.md.
| Doc | Topic |
|---|---|
| docs/CLI.md | The two CLI tools, auth bridge, guardrails |
| docs/CREATE_THEN_QUERY.md | Create with CLI, query with MCP |
| docs/KNOWLEDGE.md | cli-knowledge/ map |
| docs/INTERACTIVE_LOGIN.md | OAuth troubleshooting |
| docs/CURSOR.md | Register in Cursor |
| cli-knowledge/README.md | CSN, examples, CLI handbook |
login_interactivetest_connection/search_catalogget_analytical_fields→query_analytical_model(or relational query tools)