Sign in to SAP BTP in a browser
btp_loginPerform one-time SAP BTP login for a destination, storing the refresh token so later calls renew automatically. Use when a destination's token is expired or missing.
Instructions
Opens a browser for the one-time SAP BTP login of a destination and stores the refresh token it returns, so later calls renew themselves. Use it when a destination fails with an expired or missing refresh token. The destination must carry a serviceKeyPath. Signing in takes longer than an MCP client waits for a tool call, so this returns 'pending' with the URL once the browser is open: finish the login there and call it again for the same destination to collect the outcome. Set noBrowser to get the URL back instead, for a machine with no browser of its own.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| noBrowser | No | Do not open a browser; return the URL to open by hand (over SSH, or in a container) | |
| destination | Yes | Name of the destination to sign in for, as list_btp_destinations reports it | |
| waitSeconds | No | Seconds to hold this call waiting for a fast login before answering 'pending'. An MCP client abandons a tool call after 60 s, so this never goes near that. | |
| timeoutSeconds | No | How long the login itself stays open in the background, waiting for the browser callback |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Authorize URL that was opened, or the one to open by hand when noBrowser was set | |
| detail | Yes | ||
| sealed | Yes | How the refresh token was stored: 'dpapi' on Windows, 'plain' elsewhere | |
| pending | Yes | True when the browser is open and the login has not come back yet; call the tool again to collect the outcome | |
| signedIn | Yes | ||
| sealError | No | Set when sealing failed and the token was stored in the clear | |
| destination | Yes | ||
| identityProvider | No | Host that actually asked for the credentials, when it could be resolved |