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

From SAP Sales and Service Cloud V2 APIs to AI: Building an MCP Server with CAP Node.js

A step-by-step CAP Node.js walkthrough that wraps the SAP Sales Cloud V2 Case API as a remote service, then exposes the resulting service over both OData V4 and MCP through a single @protocol: ['odata-v4', 'mcp'] annotation together with @cap-js/mcp's per_action_tool setting. Each CDS action — listCases, getCaseById, createCase, patchCase — becomes its own MCP tool served at /mcp/caseservices, discoverable through tools/list and invoked from a natural-language request.

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).@cap-js/mcpCAP@cap-js/mcpcds-pluginA CAP plugin that serves an `@mcp`-annotated service over MCP with three generated tools, describe, query and call_action, and writes its endpoint into the local agent's configuration in development.
Since then
No major release of @cap-js/mcp since this was published

Who is behind it

pvsbprasadauthor

Properties

About this work

declared and crawled
Published
declared
Published on
declared

More on this26

Group by26 of 26 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
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 Developers
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 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
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
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
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
BTP Audit Log MCP Server: Security Monitoring with AI Assistants
SAP Community, Wouter Lemaire
nothing recorded
UI5 MCP Server Got Extended for UI Integration Cards Generation
SAP Community, daniel_vladinov
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 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

Details

Graph4 edges
POINTS OUT →
explainsServe your application over MCPcapability, core and community
explains@cap-js/mcpartifact
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:from-sap-sales-and-service-cloud-v2-apis-to-ai-building-an-mcp-server-with-cap-n
JSON
/content/from-sap-sales-and-service-cloud-v2-apis-to-ai-building-an-mcp-server-with-cap-n.json
MCP
Connecting an agent