BlogBlogtypeA post on somebody's own site or a community platform. Nobody edits it after publication, so it dates from the day it was written.See every one →SAP Community

Expose S/4HANA Cloud OData API as an MCP Server via CAP Node.js

A step-by-step walkthrough that wraps SAP S/4HANA Cloud's Outbound Delivery OData v2 API in a CAP Node.js service and exposes it through @cap-js/mcp, so an MCP client can list the generated tools, query the delivery entities and call a custom createDelivery action over JSON-RPC. The remote S/4HANA connection is configured two ways in package.json: direct Basic Authentication credentials for local hybrid testing, and a named BTP destination for the app once deployed to Cloud Foundry.

Where it sits

Explains
Serve your application over MCPCAPServe your application over MCPcapabilityExposing selected application data and business operations to an AI agent through the Model Context Protocol. An application may also integrate remote services through [service integration](capability:service-integration), connecting its exposed contract with [agent access to your systems](capability:agent-systems-access). Development assistance belongs to [agent access to your code](capability:agent-code-access).DestinationsCAPDestinationscapabilityReaching a system that is not yours — an S/4HANA tenant, an on-premise service, a third-party API — without the address, the credentials or the tunnel being written into the application. The destination is the indirection, and the reason an endpoint can move without a redeploy.
Source
reachable

Who is behind it

Jacky_Liu1author

Properties

About this work

declared and crawled
Published
declared
Published on
declared
Views
crawled
1,647

For mcp-servers

on the edge
Applies in
authored
cap

For destinations

on the edge
Applies in
authored
cap

More on this64

Group by64 of 64 pieces
Piece, what it offersStill applies
CAP in the age of AI #7 - vector embeddings wrap-up
YouTube — SAP Developers playlists, DJ Adams, Johannes Vogt, part 7 of 7
nothing recorded
SAP Meets the Agentic Web: CAP MCP - UI5 WebMCP
YouTube — SAP Developers playlists, Mauricio Lauffer
nothing recorded
Three Ways to Expose SAP Business Capabilities to AI Agents with MCP
SAP Community, Selvakumar2512
nothing recorded
What's in Daniel Hutzel's brain?
YouTube — SAP Developers playlists, Daniel Hutzel, DJ Adams
nothing recorded
CAP: The Road Ahead - Simplicity in an AI Era
YouTube — SAP Developers playlists, SAP
nothing recorded
From SAP Sales and Service Cloud V2 APIs to AI: Building an MCP Server with CAP Node.js
SAP Community, pvsbprasad
nothing recorded
From Dashboard to Conversational AI in Minutes: Adding MCP to an Existing CAP Application
SAP Community, i533678
nothing recorded
CAP in the age of AI #3 - from MCP to A2A
YouTube — SAP Developers playlists, DJ Adams, Johannes Vogt, Stefan Rudi, part 3 of 7
nothing recorded
MCP Servers are the New Z-Tables
SAP Community, shiromani_soni1
nothing recorded
CAP Foundry: Engineering SAP CAP Applications from Business Intent with Guardrailed AI
SAP Community, Shahid
nothing recorded
CAP in the age of AI #2 - more on the MCP adapter
YouTube — SAP Developers playlists, DJ Adams, Johannes Vogt, Simon Engel, Stefan Rudi, part 2 of 7
nothing recorded
Add MCP capabilities to a CAP service
SAP Developer Center, DJ AdamsThe reasoningA recipe
nothing recorded
CAP in the age of AI #1 - the MCP adapter
YouTube — SAP Developers playlists, DJ Adams, Johannes Vogt, Simon Engel, Stefan Rudi, Daniel Schlachter, part 1 of 7
nothing recorded
CAP in the age of AI
YouTube — SAP Developers playlists, DJ Adams, Johannes Vogt, Simon Engel, Stefan Rudi, Daniel Schlachter
nothing recorded
Connect SAP CAP (Node.js) to On-Premise/Private PostgreSQL using SAP Cloud Connector
SAP Community, KalaikovanThe reasoningA recipe
Core changed
Expose S/4HANA Cloud OData API as an MCP Server via CAP Node.js
SAP Community, Jacky Liu
nothing recorded
API Composition: Seamless Enterprise Data Access for Developers and AI Agents
SAP Community, Palak
nothing recorded
The Easiest Way to Expose a CAP Node.js Project as an MCP Server
SAP Community, Jacky LiuA recipe
nothing recorded
Natural Language Queries for SAP CAP via MCP: The LLM Translates, CDS Executes
SAP Community, ShahidThe reasoningA recipeRunnable code
nothing recorded
Fullstack CAP Application with HANA Cloud (Decoupled Architecture) [Part-5]
SAP Community, sanjucsThe reasoning
nothing recorded
AI-native North Star architecture — Platform Layer
SAP Architecture Center, SAP Architecture CenterThe reasoningA reference
Core changed
Agentic AI on BTP: a Multi‑Agent App with Pydantic AI
SAP Community, Wouter Lemaire
nothing recorded
Agentic AI on BTP: a Single Agent with LangGraph
SAP Community, Wouter Lemaire
nothing recorded
Implementing Dynamic Subaccount-Based Routing in SAP CAP with SAP BTP Destinations
SAP Community, Dnyaneshwar SalveThe reasoningRunnable code
nothing recorded
BTP Audit Log MCP Server: Security Monitoring with AI Assistants
SAP Community, Wouter Lemaire
nothing recorded
UI for the BTP Application Vulnerability Report
SAP Community, Wouter Lemaire
nothing recorded
UI5 MCP Server Got Extended for UI Integration Cards Generation
SAP Community, daniel_vladinov
nothing recorded
Establishing connectivity between a local CAP runtime and on-premise systems
SAP Community, vLeonkevThe reasoningA recipeRunnable code
nothing recorded
From REST to Datasphere: A CAP-based Integration Approach
SAP Community, christian_williThe reasoning
nothing recorded
Sending Emails from SAP CAP Applications with Any SMTP Provider
SAP Community, MaheshSirsat1708
nothing recorded
How to Call a Remote OData API from Your Local CAP Java Project
SAP Community, UmezukiThe reasoningRunnable code
nothing recorded
Connect to Public Cloud API in Node.js via Authorisation Code
SAP Community, EganThe reasoning
nothing recorded
Extending SAP Sales and Service Cloud V2 Using CAP
SAP Community, QuablabThe reasoningA recipe
nothing recorded
Consuming data from SAP Datasphere in SAP BTP CAP Applications
SAP Community, sudheer-tammanaThe reasoning
nothing recorded
CAP Service to Fetch + Create Sales Order in S4 HANA Public Cloud
SAP Community, Mujeeb
nothing recorded
SAP BTP Destinations in a Nutshell Part 1 - Motivation & NoAuthentication Destinations
SAP Community, JakobFra
nothing recorded
Connecting On Premise Mail Destination and Sending Email Using SAP Cloud SDK JavaScript Version 3 on SAP CAP
SAP Community, codebrokeradThe reasoningRunnable code
Core changed
Surviving and Thriving with the SAP Cloud Application Programming Model: Local development hurdles
SAP Community, maxstreifeneder
nothing recorded
SFSFとHANA Cloudを使用するCAPのアプリケーション開発
SAP Community, rasaiA recipeRunnable code
Core changed
BTP CAP : How to Connect to Remote Services Locally in CAP Application
SAP Community, showkath_naseemThe reasoning
nothing recorded
Architecting Complex Real Life Business Scenario on SAP BTP with ease [ Targeting Multiple backend S/4HANA Systems utilizing Principal Propagation ]
SAP Community, mohit_bansal3The reasoning
nothing recorded
Part 3: Architecting Complex Real Life Business Scenario on SAP BTP with ease [ Targeting Multiple backend S/4HANA Systems utilizing Principal Propagation ]
SAP Community, mohit_bansal3The reasoningA recipe
Core changed
HTML5.Timeout for CAP destinations in mta.yaml longer than default
SAP Community, NilsJanen
nothing recorded
Useful CAP CDS and Fiori Commands to Accelerate Development and Deployment
SAP Community, TiaXu
nothing recorded
Qualtrics integration with domain based authorization in CAP project on HANA cloud
SAP Community, former_member69893The reasoningRunnable code
Core changed
Invoke OpenAPI-documented APIs remotely with SAP Cloud Application Programming Model
SAP Community, wittroThe reasoningRunnable code
Core changed
Execute [OAuth2 client credentials] protected REST request with SAP CAP Application
SAP Community, LachmishThe reasoningA recipe
Core changed
Extend SAP SuccessFactors on SAP BTP with CAP - Import SAP SuccessFactors OData Services definitions
SAP Community, Alessandro Biagi
nothing recorded
SAP CAP Remote Services & SAP Fiori Elements
SAP Community, Former MemberThe reasoningA recipeRunnable code
Core changed
Part 2: How to build an extension application for SAP S/4HANA Cloud using CAP, SAP Cloud SDK and SAP Fiori elements
SAP Community, former_member748The reasoningA recipeRunnable code
Core changed
Part 1: How to build an extension application for SAP S/4HANA Cloud using CAP, SAP Cloud SDK and SAP Fiori elements
SAP Community, former_member748The reasoningA recipeRunnable code
Core changed
How to Access On-premise OData from the Business Application Studio - CAPM Development
SAP Community, laszlo_kajan2The reasoningA recipeRunnable code
Core changed
Use SCP CF Destination service in NodeJs locally
SAP Community, WouterLemaireThe reasoningRunnable code
Core changed
SAP Cloud Application Programming Model: Deep Insert (5) Consume Remote Service with SAP Cloud SDK
SAP Community, CarlosRogganThe reasoningRunnable code
Core changed
SAP Cloud Application Programming Model: Deep Insert (4) Consume Remote Service
SAP Community, CarlosRogganThe reasoningA recipeRunnable code
Core changed
Third-Party MCP Access to SAP Solutions
SAP Architecture Center, SAP Architecture CenterThe reasoningA reference
nothing recorded
Model Context Protocol Adapter — CAP guide
capire, Capire Docs & SamplesA referenceA recipe
nothing recorded
CAP Node.js Expert Session #6 - The MCP Adapter
YouTube — SAP Developers playlists, Daniel Schlachter, DJ AdamsThe reasoningA recipe
nothing recorded
Examine the details of the Model Context Protocol on startup
SAP Developer Center, DJ AdamsThe reasoningA recipe
nothing recorded
Agentic CAP: Build MCP servers and enterprise AI agents
SAP TechEd — session catalogue, Daniel Hutzel, Daniel SchlachterA recipe
nothing recorded
Consume Remote Services in a Full-Stack CAP Application
SAP Developer Center, SAPThe reasoningA recipe
nothing recorded
Extend SAP SuccessFactors on SAP BTP with the SAP Cloud Application Programming Model
SAP Developer Center, SAPThe reasoningA recipe
nothing recorded
Consume SOAP Web Services in SAP Cloud Application Programming Model
SAP Developer Center, SAPThe reasoningA recipe
nothing recorded
Use the SAP Cloud SDK in the SAP Cloud Application Programming Model
SAP Developer Center, SAPThe reasoningA recipe
nothing recorded

Details

Graph4 edges
POINTS OUT →
explainsServe your application over MCPcapability, core and community
explainsDestinationscapability, core and community
published onSAP Communitypublishing source
discovered viaSAP Communitybtp-tag
Source
Type
blog
Published on
Host
community.sap.com
First seen
History1
  • Entered the atlasDiscovered via SAP Community · btp-tag.
For your agent
Ref
content:expose-s-4hana-cloud-odata-api-as-an-mcp-server-via-cap-node-js
JSON
/content/expose-s-4hana-cloud-odata-api-as-an-mcp-server-via-cap-node-js.json
MCP
Connecting an agent