Install
Pick the channel that fits your environment:
- Go:
go install github.com/dixitsheta/sapctl/apps/cli@latest - Release tarball:
OS=$(uname -s | tr '[:upper:]' '[:lower:]'); ARCH=$(uname -m | sed 's/x86_64/amd64/'); curl -L "https://github.com/dixitsheta/sapctl/releases/latest/download/sapctl_1.0.0_${OS}_${ARCH}.tar.gz" | tar xz - Air-gapped: verified tarball + cosign attestation on the releases page.
Authenticate
One auth flow works across every SAP product. xsuaa, IAS, and Cloud Identity tokens are managed by the OS keychain.
sapctl auth login --tenant acme-prod
sapctl auth status
First extraction
sapctl s4 cds extract --view I_GLAccountLineItem --since P12M --out gl/
MCP catalog
Every sub-command tree can be emitted as a Model Context Protocol server, ready to wire into Claude Desktop, Cursor, or Continue. See sapctl mcp emit --help.
Examples
Browse ready-made workflows on the use cases page.
Full documentation
The full reference, configuration cookbook, and tenant-by-tenant guides live at docs.sapctl.dev.