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

Agentic AI on BTP: a Single Agent with LangGraph

A CAP TypeScript agent puts a LangGraph StateGraph in front of AzureOpenAiChatClient from @sap-ai-sdk/langchain, reaching SAP AI Core's Generative AI Hub, and lets its tool-calling loop draw on five deployed MCP servers — OData MCP Proxy, CI MCP Server, AI Core MCP Server, BTP MCP Server and BTP CF MCP Server — through @langchain/mcp-adapters' MultiServerMCPClient. Because agent, servers and APIs share one XSUAA tenant, the chat service forwards the signed-in user's own JWT instead of a service account, so each downstream server enforces that user's own authorizations. Past roughly a hundred combined tools the single prompt slows down and stops separating concerns, which is why the author's next post splits it into one specialist agent per MCP server behind an orchestrator.

Where it sits

Explains
Serve your application over MCPCAPBTPServe 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).Agent toolingCAPBTPAgent toolingcapabilityBuilding an agent into your own application — the tools it may call, the state it keeps between turns, and the framework it runs in. Distinct from MCP servers, which expose an application to somebody else's agent, and from agent guidance, which is knowledge handed to a coding agent.LLM integrationCAPBTPLLM integrationcapabilityCalling a language model from application code with the tenant, destination and credential handling already solved instead using an SDK call with a hand-rolled key.AuthorizationCAPBTPAuthorizationcapabilityDeciding who may read or change what, at service, entity and instance level — role checks, forwarded user context, and restrictions evaluated as query filters rather than after the fact.
Since then
Serve your application over MCP changed in @cap-js/mcp 1.1.0, 2026-07-03
Source
reachable

Who is behind it

Wouter LemaireWouter LemairePersonWrote this
In the atlas: maintains 25, contributes to 39, wrote 12
@lemaiwo
author

Before you read it

ApplicabilityCore changedServe your application over MCP changed in @cap-js/mcp 1.1.0, 2026-07-03.

This is a derived prompt to re-check the work, not a claim that the work is wrong. Exact stale statements are recorded separately after editorial review.

Properties

About this work

declared and crawled
Published
declared
Published on
declared
Views
crawled
2,093

For mcp-servers

on the edge
Applies in
authored
btpcap

For agent-tooling

on the edge
Applies in
authored
btpcap

For llm-integration

on the edge
Applies in
authored
btpcap

For authorization

on the edge
Applies in
authored
btpcap

More on this146

Group by141 of 141 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
Building Code-Based AI Agents on the BAIP
YouTube — SAP Developers playlists, Wouter Lemaire
nothing recorded
Powering Enterprise-Ready Agentic AI with SAP Integration Suite
YouTube — SAP Developers playlists, SAP Developers
nothing recorded
What's in Daniel Hutzel's brain?
YouTube — SAP Developers playlists, Daniel Hutzel, DJ Adams
nothing recorded
CAP in the age of AI #5 - agents wrap-up
YouTube — SAP Developers playlists, DJ Adams, Johannes Vogt, Simon Engel, Stefan Rudi, Daniel Schlachter, part 5 of 7
nothing recorded
Real Pro-Code Development with Joule Studio
YouTube — SAP Developers playlists, SAP Developers
nothing recorded
🟣 Enable Your AI application to Run on Multiple Models to Ensure Resilience and Compliance
YouTube — SAP Developers playlists, SAP Developers
nothing recorded
🔴 Your Agent Wants to Call SAP. Now What?
YouTube — SAP Developers playlists, SAP Developers
nothing recorded
What an AI infra engineer sees when opening SAP's AI stack (1/3): the model gateway
SAP Community, amishkush
nothing recorded
CAP: The Road Ahead - Simplicity in an AI Era
YouTube — SAP Developers playlists, SAP Developers
nothing recorded
Expose RFCs as MCP Tools in Integration Suite
SAP Community, ronit199666
nothing recorded
Meet Joule Studio and Build your First AI Agent
YouTube — SAP Developers playlists, SAP Developers
nothing recorded
From APIs to Agent Tools: How MCP Gateway changes what Integration means
YouTube — SAP Developers playlists, SAP Developers
nothing recorded
Supercharge Joule Desktop: Connect Any SAP API in Minutes with MCP Gateway
YouTube — SAP Developers playlists, SAP Developers
nothing recorded
Create an MCP Server for Enterprise AI Agents
SAP Developer Center, Shyam, part 2 of 2A recipeRunnable code
nothing recorded
Combining AI Agents with the power of SAP HANA embedded ML (part 1)
YouTube — SAP Developers playlists, Vitaliy Rudnytskiy
nothing recorded
CAP in the age of AI #4 - more on agents
YouTube — SAP Developers playlists, DJ Adams, Johannes Vogt, part 4 of 7
nothing recorded
SAP Just Became AI-Agent Ready — Here's a Step-by-Step MCP Walkthrough
SAP Community, Piyush_003
nothing recorded
SAP Integration Suite + MCP: A Practical Architecture for AI Agents and SAP
SAP Community, aayushaggarwal
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
SAP's API Policy on AI Agents: What It Prohibits, Allows, and Leaves Open
SAP Community, Héctor Enríquez
nothing recorded
UI5 AI Features library is now an npm Package
SAP Community, Wouter LemaireThe reasoningRunnable code
Version drift
From Dashboard to Conversational AI in Minutes: Adding MCP to an Existing CAP Application
SAP Community, i533678
nothing recorded
Connecting SAP Integration Suite with SAP Document AI and SAP Business AI
SAP Community, subhojitSaha
nothing recorded
Named-User Attribution Across BTP Subaccounts: A Two-Hop IAS Token Exchange for Cloud Integration
SAP Community, agnissh
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
Adapting SAP Joule for Purchase Order Creation from an Existing Purchase Requisition
SAP Community, jonathanvi59
nothing recorded
Connecting a Custom MCP Server to Joule Work Desktop: A Seamless and Secure Authentication Flow
SAP Community, Siddhartha Routh
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
SAP Joule: Invoice Agent for Faster Supplier Invoice Release in SAP S/4HANA Accounts Payable
SAP Community, idc
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
Expose S/4HANA Cloud OData API as an MCP Server via CAP Node.js
SAP Community, Jacky Liu
nothing recorded
Expose S/4HANA Cloud OData API as an MCP Server via CAP Node.js
SAP Community, Jacky_Liu1
nothing recorded
RFC/BAPIs Meet AI Agents: Why SAP Integration Suite MCP Server Matters
SAP Community, arunmaarirajha_kv
nothing recorded
API Composition: Seamless Enterprise Data Access for Developers and AI Agents
SAP Community, Palak
nothing recorded
Securing a CAP Node.js App with SAP AMS on BTP Cloud Foundry
SAP Community, Jacky LiuThe reasoningA recipe
nothing recorded
MCP Servers on SAP Integration Suite : Build Your First MCP Server from an API
SAP Community, Ashutosh Kumar Singh
nothing recorded
Building Durable AI Agents - Announcing the cds-langgraph-persistence Plugin
SAP Community, merbinjanselmThe reasoningRunnable code
New majors
From SAP Integration Suite iFlow to MCP Tools: Exposing OData APIs to AI Agents
SAP Community, Nacho Muñoz Álvarez
nothing recorded
Turn SAP APIs into MCP Tools for AI Agents using SAP Integration Suite Free Trial
SAP Community, claudiacsrosalino
nothing recorded
Autonomous Diagnostics on Kyma Unplugged: Goose + LiteLLM + KRO + SAP AI Core in Production
SAP Community, quovadis
nothing recorded
Building MCP Servers with SAP Integration Suite: What to Design, Not Just How to Connect
SAP Community, Daniil BolobonovThe reasoning
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
Banking Sentinel: A Multi-Agent Credit-Risk Copilot on SAP BTP, Built on a Mixed AI Stack
SAP Community, ShahidThe reasoningA recipeRunnable code
Core changed
HANA AI Toolkit — Local MCP Server
SAP Architecture Center, SAP Architecture CenterThe reasoningA reference
nothing recorded
Effective from June 30th 2026 - XSUAA Deprecation of GET Method for OAuth Token Retrieval
SAP Community, Yogananda
nothing recorded
Beyond Basic AI Error Handling in SAP CPI - A Rules-First Architecture with HANA Cloud Learning
SAP Community, Krishna_Karthik
nothing recorded
Building an LLM Agent in CAP Java with Spring AI
SAP Community, Johannes VogtThe reasoningRunnable code
Core changed
Calling Claude from ABAP: How I Wired SAP AI Core into a Real Business Scenario
SAP Community, PranayGaroo
nothing recorded
Building an LLM Agent using CAP
SAP Community, Johannes VogtThe reasoningRunnable code
Core changed
From XSUAA to AMS: Architecting S4HANA CAP Extensions with Policy-Based Authorization
SAP Community, Avinash VaidyaThe reasoningA recipeRunnable code
nothing recorded
How to Restrict CRUD Operations in SAP CAPM Using @Capabilities, @readonly and Test APIs with .http
SAP Community, DeepaRaghoThe reasoningA recipeRunnable code
nothing recorded
AI-native North Star architecture — Platform Layer
SAP Architecture Center, SAP Architecture CenterThe reasoningA reference
Core changed
Dynamic authorisation with user attributes in SAP CAP and AMS
SAP Community, pedro_iranzoThe reasoningA recipeRunnable code
nothing recorded
Agentic AI on BTP: a Multi‑Agent App with Pydantic AI
SAP Community, Wouter Lemaire
nothing recorded
Enhancing Enterprise Applications: AI-powered User Experience with SAP CAP AI Plugin
SAP Community, rupamaityThe reasoningA recipeRunnable code
nothing recorded
What Happens to Your Data When You Enable SAP's AI Features?
SAP Community, jaripie
nothing recorded
Custom Joule Agent for SAP Ariba SLP - Building an AI Agent for Supplier Registration Approval
SAP Community, Giancarlo-Martinez
nothing recorded
SAP Agentic AI in Practice: Building the SAP Exception Log Triage Agent (Part 3 of 6)
SAP Community, DEEPA_DORAIRAJ
nothing recorded
Integrating a Custom AI Model into SAP CAP Using AI Launchpad
SAP Community, egeAksoyekThe reasoningRunnable code
Core changed
Integrating and Extending Joule
SAP Architecture Center, SAP Architecture CenterThe reasoningA reference
nothing recorded
BTP Audit Log MCP Server: Security Monitoring with AI Assistants
SAP Community, Wouter Lemaire
nothing recorded
BTP Cloud Foundry MCP Server: Managing CF Environments with AI
SAP Community, Wouter Lemaire
nothing recorded
SAP BTP XSUAA Security Configuration Comparison: Attribute-Based vs. Authority-Based Approaches
SAP Community, rajeshkputumbakaThe reasoningRunnable code
nothing recorded
SAP Integration Suite: Intelligent Integration with AI Adapter
SAP Community, meena_choudhary
nothing recorded
cds-toon-ai-protocol-adapter: a pragmatic way to cut AI token costs using SAP CAP
SAP Community, Geert-Jan KlapsThe reasoningA recipeRunnable code
nothing recorded
UI5 MCP Server Got Extended for UI Integration Cards Generation
SAP Community, daniel_vladinov
nothing recorded
SAP JOULE & ME : My First JOULE Skill in SAP EHSM-Incident Management Without Coding
SAP Community, Pardhasaradhi_Reddy_Chelikam
nothing recorded
Enhancing Business Processes with SAP BTP AI in SAP Integration Suite
SAP Community, arunmaarirajha_kv
nothing recorded
Prompt-Driven Development: Building Full-Stack SAP CAP Apps from User Stories
SAP Community, AnuradhaDhinganThe reasoning
nothing recorded
Securing CAP Applications with SAP Cloud Identity Services and AMS
SAP Community, gopalanandThe reasoningRunnable code
nothing recorded
Event Driven SAP CAP on Kyma with Agentic AI and UI Auto Refresh
SAP Community, ShahidThe reasoning
nothing recorded
Authorization management with OpenSearch's Document Level Security - SAP Cloud Logging
SAP Community, Hariharan-Gandhi
nothing recorded
Streaming LLM Output with CAP and WebSockets
SAP Community, RobinPThe reasoningA recipeRunnable code
Core changed
How to Reduce Prompt Token Costs Using Toon = Save Money
SAP Community, YoganandaThe reasoningA recipeRunnable code
Core changed
How Redwood Software and SAP are shaping the next era of automation with Joule Studio
SAP Community, gmblom
nothing recorded
Generative AI on SAP BTP
SAP Architecture Center, SAP Architecture CenterThe reasoningA reference
Core changed
How to use Cloud SDK for AI in an existing CAP NodeJS Project in CommonJS
SAP Community, Jacky_Liu1
nothing recorded
Joule Studioがリリースされたので早速CAPアプリを自然言語で操作するカスタムスキルを構築してみた
SAP Community, takayuki_tanaka
nothing recorded
Improving Exception Handling using Generative AI in SAP Cloud Integration (SAP CI/CPI)
SAP Community, AdarshRao
nothing recorded
Securing SAP CAP Applications: XSUAA, Roles, and Authorization Best Practices
SAP Community, Soumya-Pirlamarla
nothing recorded
SAP IAM integration with SAP Cloud Identity Services
SAP Architecture Center, SAP Architecture CenterThe reasoningA reference
nothing recorded
Lets Talk to the Database - CAP & SQLite Powered by Google Gemini-2.5-Pro
SAP Community, ShivamShuklaSAPThe reasoning
nothing recorded
CAP-JAVA implementation for Authorization Management Service (AMS)
SAP Community, Harvey_Yao
nothing recorded
Enabling Authorization Policies in SAP Cloud Identity Services - IAS with AMS/CAP
SAP Community, YoganandaThe reasoningA recipe
Core changed
CAP for nodejs安全的暴露接口练习
SAP Community, ArthurYang
nothing recorded
Authorization Management Service in SAP Cloud Identity Service
SAP Community, kevin_liThe reasoning
nothing recorded
XSUAA Local Testing
SAP Community, ManasaManuThe reasoningA recipeRunnable code
Core changed
Elevating Data Privacy in SAP CAP based GenAI Applications with CAP LLM Plugin
SAP Community, AkashAmarendraThe reasoningRunnable code
nothing recorded
An Innovative Language Exchange App developed with SAP Build Apps, CAP, Kyma, and OpenAI
SAP Community, javierywThe reasoningRunnable code
Core changed
SAP CAP(Cloud Application Programming)开发框架概述
SAP Community, ArthurYang
nothing recorded
GenAI Mail Insights - Leveraging the generative AI hub in SAP AI Core to improve customer support
SAP Community, martinfrickThe reasoning
nothing recorded
XSUAA Based Authentication - Using Managed Approuter
SAP Community, rahul_rajagopalThe reasoningA recipe
Core changed
XSUAA Based Authentication - Using Standalone Approuter
SAP Community, rahul_rajagopalThe reasoningA recipe
nothing recorded
Automate your Job Postings Using Generative AI (ChatGPT) & SAP Build Process Automation Apps
SAP Community, shivamshukla12The reasoning
nothing recorded
Creating a meal generator application with SAP Build, Cloud Application Programming and openAI
SAP Community, former_member793421The reasoning
nothing recorded
Empowering Your Data Analytics with GPT-3 and SAP CAP Integration
SAP Community, Former MemberThe reasoning
nothing recorded
A ChatGPT-like chat app built with modern SAP technologies (CAP, SAPUI5) – Part 3/3
SAP Community, Mike Zaschka, part 3 of 3The reasoningRunnable code
1 stale part
A ChatGPT-like chat app built with modern SAP technologies (CAP, SAPUI5) – Part 2/3
SAP Community, Mike Zaschka, part 2 of 3The reasoningRunnable code
Gone quiet
A ChatGPT-like chat app built with modern SAP technologies (CAP, SAPUI5) – Part 1/3
SAP Community, Mike Zaschka, part 1 of 3The reasoningRunnable code
Gone quiet
[Part - 1] Enrich CAP based Services with Behaviors using Annotations
SAP Community, Ajit Kumar Panda
nothing recorded
SAP Job Scheduling Service + Cloud Application Programming Model application (CAP) + SAP Authorization and Trust Management Service (XSUAA)
SAP Community, former_member412792The reasoning
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
An approach to secure multiple integrated SAP CAP java applications with a common XSUAA service instance
SAP Community, sreanik_dhanyakumar2The reasoning
nothing recorded
SAP Business Technology Platform: Authorization and Trust Management Service
SAP Community, SekhuteTK
nothing recorded
How to get authenticated user information with CAP in three different ways – Using the XSUAA API
SAP Community, ale_biagiThe reasoning
nothing recorded
Why developers should care about credential-types for xsuaa?
SAP Community, former_member2839The reasoningA recipeRunnable code
Core changed
Insights of Cloud SDK, CAP, XSUAA, SSH and other BTP topics from 2021
SAP Community, dr_vupThe reasoning
nothing recorded
Understanding security approaches in SAP CAP using XSUAA in node.js flavor and MTA.
SAP Community, balbinosoaresThe reasoningA recipeRunnable code
Core changed
Using Postman for API Testing with XSUAA
SAP Community, mariusobertThe reasoningRunnable code
nothing recorded
Third-Party MCP Server Access to SAP Solutions on BTP
SAP Architecture Center, Dhawal Joshi, Harut Ter-Minasyan, Mirko GüntherThe reasoningA reference
nothing recorded
Model Context Protocol (MCP)
SAP BTP AI Best Practices, SAPThe 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
Configure an MCP Server Created from an HTTP Endpoint
SAP Help Portal, SAPA referenceA recipe
nothing recorded
MCP Server — SAP Integration Suite
SAP Help Portal, SAPThe reasoningA reference
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
Content-based Agents with SAP Joule Studio Agent Builder
SAP BTP AI Best Practices, SAPThe reasoning
nothing recorded
Pro-Code AI Agents
SAP BTP AI Best Practices, SAPThe reasoning
nothing recorded
Generate agentic workflows using SAP-managed n8n in Joule Studio
SAP TechEd — session catalogueA recipe
nothing recorded
Connecting AI agents to the ABAP RESTful application programming model
SAP TechEd — session catalogueThe reasoning
nothing recorded
Building agentic applications with SAP HANA Cloud
SAP TechEd — session catalogueA recipe
nothing recorded
Agentic memory: Knowledge graph engine and recall in SAP HANA Cloud
SAP TechEd — session catalogue, Markus FathThe reasoning
nothing recorded
Knowledge graph and agent memory: Build an agent that remembers
SAP TechEd — session catalogue, Markus Fath, Thomas HammerA recipe
nothing recorded
Access to Generative AI Models
SAP BTP AI Best Practices, SAPThe reasoning
nothing recorded
AI-enabled administration: Automating log analysis with generative AI hub
SAP TechEd — session catalogueThe reasoning
nothing recorded
Stop guessing, start counting: How generative AI fixed an inventory mess
SAP TechEd — session catalogueThe reasoning
nothing recorded
How SAP secures enterprise AI agents with identity propagation
SAP TechEd — session catalogue, Gunnar KoscheThe reasoning
nothing recorded
Building Code-Based AI Agents on the BAIP
YouTube — SAP Developers playlists, Wouter Lemaire
nothing recorded
UI5 AI Features library is now an npm Package
SAP Community, Wouter LemaireThe reasoningRunnable code
Version drift
Agentic AI on BTP: a Multi‑Agent App with Pydantic AI
SAP Community, Wouter Lemaire
nothing recorded
BTP Audit Log MCP Server: Security Monitoring with AI Assistants
SAP Community, Wouter Lemaire
nothing recorded
BTP Cloud Foundry MCP Server: Managing CF Environments with AI
SAP Community, Wouter Lemaire
nothing recorded
UI for the BTP Application Vulnerability Report
SAP Community, Wouter Lemaire
nothing recorded
Consume ABAP RFC Function Modules in CAP
SAP Community, Wouter LemaireThe reasoningRunnable code
nothing recorded
CAP multitenancy with Work Zone
SAP Community, Wouter Lemaire
nothing recorded
Create your first CAP plugin
SAP Community, Wouter Lemaire
nothing recorded
Upload attachments in a Freestyle UI5 and CAP app
SAP Community, Wouter LemaireThe reasoning
nothing recorded
How to add OData v2 adapter proxy to your CAP project
SAP Community, Wouter LemaireThe reasoningRunnable code
Core changed

Details

Graph8 edges
← POINTS HERE
POINTS OUT →
explainsServe your application over MCPcapability, core and community
explainsAgent toolingcapability, core and community
explainsLLM integrationcapability, core and community
explainsAuthorizationcapability, core and community
published onSAP Communitypublishing source
discovered viaSAP Communityagentic-ai-tag
discovered viaSAP Communitycloud-foundry-tag
Source
Type
blog
Published on
Host
community.sap.com
First seen
History2
  • explains → applies_to on capability:mcp-servers (cap, btp); capability:agent-tooling (cap, btp); capability:llm-integration (cap, btp); capability:authorization (cap, btp)Door scope proposed from the title and summary, so a door page lists the piece only where it holds (docs/concepts/content-on-doors.md).
  • Entered the atlasDiscovered via SAP Community · agentic-ai-tag, SAP Community · cloud-foundry-tag.
For your agent
Ref
content:agentic-ai-on-btp-a-single-agent-with-langgraph
JSON
/content/agentic-ai-on-btp-a-single-agent-with-langgraph.json
MCP
Connecting an agent