Install
Pick the channel that fits your environment:
- Go:
go install github.com/sapctl/sapctl@latest - Homebrew:
brew install sapctl/tap/sapctl - Scoop:
scoop bucket add sapctl https://github.com/sapctl/scoop && scoop install sapctl - Apt:
curl -fsSL https://sapctl.dev/install.sh | bash - 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 50+ ready-made workflows on the use cases page or in the examples repo.
Full documentation
The full reference, configuration cookbook, and tenant-by-tenant guides live at docs.sapctl.dev.