Everything in CAP / Java
1 of 738
Domain
Signals
Content: 4
Java: Answers in Java
More: SAP Developer Center
Group by: Capability
Offers Runnable codeOffers The reasoningOffers A referenceSource SAP Developer CenterPublished 2026Clear all
EntryBySignalsLast activity
Serve your application over MCPSAP only
Add MCP capabilities to a CAP serviceAdd MCP capabilities to a CAP serviceA fifteen-minute walkthrough of turning a plain CAP service into an MCP server: annotate the service with @mcp, install @cap-js/mcp, and it is served alongside OData at /mcp/<path>. The part worth reading it for is what happens next — cds watch writes the endpoint into the local agent's own configuration file, so OpenCode or Claude Code can call the service without anyone editing JSON by hand. It is built on the tiny-sample facet, so there is nothing to prepare, and it shows the protocol traffic rather than only the result. Written while the adapter was in beta, and it says so.published 2026-08-13