Connectivity Doctor for SAP BTP
Find out why your deployed app cannot reach another system.
Checks every destination a deployed SAP BTP app can use, the same way the app looks them up at runtime, and explains each problem with a fix: missing or misspelled destinations, OAuth tokens that cannot be fetched, OnPremise destinations without a Connectivity binding, and the answer of a test call.
Free and open source (Apache 2.0) · Version 0.1.1 preview, November 2026 · Made by Hemanth Kodhanda, HAVISUN Technologies
Destinations fail at runtime, far from the cause
An app on SAP BTP reaches S/4HANA, SuccessFactors or any other system through destinations, the Destination service and, for on-premise systems, the Connectivity service and Cloud Connector. When one link is wrong, the app log usually shows a generic error. Connectivity Doctor checks each link with the app's own bindings and tells you which one broke.
Uses the real lookup
The same lookup the app makes at runtime, with the app's own Destination service binding, so what it finds is what the app gets.
Explains in plain words
Every problem comes with what it means and how to fix it, from invalid_client to a redirect to a login page.
Knows your CAP project
Destinations used in cds.requires that do not exist are reported, with similar names when one is just spelled differently.
Every link from the app to the target system
Log in with cf login, run Connectivity Doctor: Check Destinations of a Deployed App, pick the app and click Check destinations.
Bindings
The app is bound to the Destination service and its credentials work. OnPremise destinations have a Connectivity binding, and user-based authentication has XSUAA or IAS to take the user from.
Runtime lookup
Each destination is found the way the app finds it: service instance level first, then subaccount.
Missing names
Destinations your CAP project uses that do not exist. Names must match exactly, so it points out names that differ in case or are similar.
Tokens
Whether the Destination service gets the token for OAuth2ClientCredentials, OAuth2Password, BasicAuthentication and others, with errors such as a rejected client or an unknown token host explained.
Configuration
URL, proxy type, the properties each authentication type needs, key store certificates, https:// on OnPremise destinations and internal hosts on Internet destinations.
Cloud Connector
The location ID and virtual host to check in the Cloud Connector, and how principal propagation works for the destination.
Call the system the way the app would
Call from here sends a GET request to an Internet destination with the credentials the Destination service returns, optionally to a path such as $metadata, and explains the answer: 401, 403, 404, redirects to a login page, TLS and DNS errors. For OAuth2UserTokenExchange, OAuth2JWTBearer and OAuth2SAMLBearerAssertion, paste a user token to test the exchange.
$metadata, with the destination's configuration. Passwords and secrets are always masked.- Copy report as text: a report without secrets or tokens, for a ticket or a colleague.
- Command line:
btp-doctor connectivity --app <name>runs the same check in a terminal or pipeline and exits with code 1 when it finds errors.
Ask your assistant why the app cannot reach a system
The MCP server gives Claude Code, GitHub Copilot and Cursor the same destination checks for a deployed app, with your own cf login, and a test call through a destination. Secrets are masked before the assistant sees the results.
claude mcp add btp-doctor -- npx -y @havisun/btp-doctor-mcpNeeds Node.js 18 or later. For GitHub Copilot, Cursor and Claude Desktop, follow the setup guide. Package: @havisun/btp-doctor-mcp on npm.
Catch it before deploying with Deploy Doctor
Connectivity Doctor checks a deployed app. Deploy Doctor checks the project before cf deploy, including a missing Destination service binding, and explains failed deploy logs.
Your login, your subaccount, nothing stored.
It reads the app's bindings with your own cf login and calls only the Destination service of your subaccount. Credentials and tokens stay in memory and are never stored or shown. A target system is only called when you click. No telemetry, Apache 2.0 licence.
Not covered: OnPremise systems cannot be called from your machine or SAP Business Application Studio, because they are only reachable from inside Cloud Foundry, so it checks everything up to the Cloud Connector. Destinations in subscriber subaccounts of multitenant apps are not visible. Only HTTP destinations are tested. Reading an app's bindings needs the Space Developer role.
Not affiliated with or endorsed by SAP SE. SAP, SAP BTP, SAP Business Application Studio and SAP S/4HANA are trademarks or registered trademarks of SAP SE in Germany and other countries.
Need help connecting SAP BTP to your systems?
HAVISUN Technologies sets up destinations, Cloud Connector and integrations between SAP BTP, S/4HANA and other systems. Tell us about your project and we reply within one business day.