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

The missing half of AI-assisted CAP development: putting the compiler in the loop

The author argues @cap-js/mcp-server solves retrieval — letting an agent search CAP docs and the compiled model before writing — but nothing in that loop checks what the agent actually wrote, and built capforge to cover the other half: a local MCP server, no LLM call of its own, whose generator scaffolds a full CDS vertical slice, including Fiori annotations and mock seed data, then loops cds compile, `cds lint` and a throwaway SQLite deploy of that data until it is clean, with matching checks for UI5 freestyle views. A cap_project_context tool compiles the real project to CSN so the agent reuses existing names instead of inventing them — the agent access to your code half retrieval alone does not cover.

Where it sits

Explains
capforgeCAPcapforgemcp-serverAn MCP server that scaffolds CAP and CDS for a coding agent and then holds it to `cds compile` — the agent does not stop until the generated code builds clean.@cap-js/mcp-serverCAP@cap-js/mcp-servermcp-serverSAP's MCP server for CAP development, run as `cds-mcp`: `search_model` searches the project's compiled CDS model, `search_docs` searches the CAP documentation indexed as embeddings on the developer's own machine.Agent access to your codeCAPAgent access to your codecapabilityLetting a coding agent read the project or the system you actually have, reach its model, its objects and its checks, and act on it. In file-based environments that works out of the box; complex systems need dedicated access capabilities. Whatever the environment, the agent also needs project- and framework-specific context, so it understands the thing in front of it rather than guessing from what it remembers of its training data. The transport is incidental: an MCP server, a language server or a CLI answer the same question, and what differs between them is how much of the real thing the agent can see. Distinct from [MCP servers](capability:mcp-servers), which is a protocol adapter on your own running service, and from [agent guidance](capability:agent-guidance), which is knowledge handed over as files rather than read from the thing itself.GeneratorsCAPGeneratorscapabilityGetting from nothing to a project that runs, and from a project that runs to one that has the piece you just decided you need. Two different moments: the first is a one-time decision about layout, the second recurs for the life of the project.Seed dataCAPSeed datacapabilityGetting realistic data into a service so it can be developed and demonstrated — initial data, per-tenant content, and believable volumes for testing.Fiori annotationsCAPFiori annotationscapabilityDescribing a service so a Fiori client can render it without hand-written UI code — titles, value helps, hierarchies and visibility expressed as model annotations rather than screen logic.LintingCAPLintingcapabilityCatching in the editor what would otherwise be caught at deploy time, or not at all — problems in source code and models and in the project's configuration, found by rules rather than by review.
Since then
No major release of capforge since this was published
Source
reachable

Who is behind it

capforgeauthor

Properties

About this work

declared and crawled
Published
declared
Published on
declared
Views
crawled
325

More on this80

In topics
The atlas is now in betaTopic, edition 17 entries named

onedevatlas is open for browsing. Find tools for SAP development, compare their documented capabilities, ask your AI assistant, and join a flight during TechEd week.

Group by79 of 79 pieces
Piece, what it offersStill applies
Also explainingAgent access to your code79
AI Assisted CAP Development
YouTube — SAP Developers playlists, SAP
nothing recorded
AI-assisted SAP development with MCP
YouTube — SAP Developers playlists, Marian Zeis
nothing recorded
Lessons from Building an SAP RAP Application with AI and SAP MCP Servers: An Experiment
SAP Community, VLoffler
nothing recorded
CAP Foundry: Engineering SAP CAP Applications from Business Intent with Guardrailed AI
SAP Community, Shahid
nothing recorded
Reading Between the Lines: Under-Documented Fiori Elements Capabilities in SAPUI5 1.149
SAP Community, Sören Leibach
nothing recorded
Dynamic Criticality in SAP CAP Using Fiori Elements and Node.js
SAP Community, Pranesh_SDThe reasoningA recipe
nothing recorded
Deep Insert in SAP CAPM Using Composition and Fiori Elements
SAP Community, Talari Hari KumarThe reasoningA recipeRunnable code
nothing recorded
From SEGW and Legacy UI5 to RAP with ARC-1
blog.zeis.de — Marian Zeis, Marian Zeis, part 7 of 10Runnable codeThe reasoning
New majors
Fullstack CAP Application with HANA Cloud (Decoupled Architecture) [Part-2]
SAP Community, sanjucsThe reasoningRunnable code
nothing recorded
How I Use AI for Development and Why Context Matters
blog.zeis.de — Marian Zeis, Marian Zeis, part 1 of 10The reasoning
nothing recorded
Build BTP CAP App with Fiori Integration – Part 2: Implementing End to End App
SAP Community, SuryaRameshThe reasoning
nothing recorded
CAP Initializr: Generate SAP CAP Projects in Seconds
SAP Community, Saptarshi017The reasoning
nothing recorded
Part 1: How to create CAPM project in BAS
SAP Community, Vennilla00The reasoningA recipe
Core changed
How to Migrate UI5 Projects to the Latest UI5 Best Practices
SAP Community, Florian Vogt
nothing recorded
UI5 MCP Server Got Extended for UI Integration Cards Generation
SAP Community, daniel_vladinov
nothing recorded
Prompt-Driven Development: Building Full-Stack SAP CAP Apps from User Stories
SAP Community, AnuradhaDhinganThe reasoning
nothing recorded
Building an Enterprise Application Using Fiori Elements and CAP - Part 1
SAP Community, FarooqThe reasoning
nothing recorded
Building an Enterprise Application Using Fiori Elements and CAP – Part 2
SAP Community, FarooqThe reasoning
nothing recorded
Building an Enterprise Application Using Fiori Elements and CAP – Part 3
SAP Community, FarooqThe reasoningRunnable code
Core changed
Joule in SAP Build Code can now create freestyle UI5 apps
SAP Community, AndreasKunz
nothing recorded
CAP JavaでObject Pageの項目の動的な入力制御を実装する
Qiita, Mio Yasutake
nothing recorded
Building a CAP service with cds‑mcp and Cline — HANDS‑ON SUPER BASIC GUIDE [ with screenshots ] 🍌
SAP Community, smarchesiniThe reasoningA recipe
nothing recorded
Avoiding Data Loss When Loading Initial Data with CSV Files in CAP
SAP Community, MioYasutakeThe reasoningRunnable code
nothing recorded
Introducing eslint-plugin-better-cap-config an ESLint plugin to improve CAP configuration
SAP Community, Mauricio LaufferThe reasoningA recipeRunnable code
nothing recorded
Evaluating SAP’s new MCP servers: UI5, CAP, and Fiori tools in practice
SAP Community, Marian ZeisThe reasoningA recipeRunnable code
nothing recorded
Boost your CAP Development with AI: Introducing the MCP Server for CAP
SAP Community, BirgitSThe reasoning
nothing recorded
SAP Fiori Tools Update – First Release of the SAP Fiori MCP Server for Agentic AI
SAP Community, Christoph GollmickThe reasoning
nothing recorded
Give Your AI Agent Some Tools: Introducing the UI5 MCP Server
SAP Community, Merlin Beutlberger
nothing recorded
Tree-Table Support in CAP is Now Generally Available
SAP Community, BirgitSThe reasoning
nothing recorded
Joule Studioがリリースされたので早速CAPアプリを自然言語で操作するカスタムスキルを構築してみた
SAP Community, takayuki_tanaka
nothing recorded
Handling CSV Data Deployment in CAP HDI Without Data Loss
SAP Community, Sekar_SomasundaramThe reasoningA recipeRunnable code
nothing recorded
SAP Fiori Application Generator Available in Open Source
SAP Community, jlong
nothing recorded
Visualizing Your SAP Bill of Materials Using CAP, Fiori elements, and the UI5 Network Graph
SAP Community, Marian ZeisThe reasoningRunnable code
Core changed
Use SAP CAP SAPUI5 Smart Filter to Show Value Help that are not Associated Entitites
SAP Community, JhoelAnthonyRamosRomeroPE
nothing recorded
Calling bound / unbound CAP actions from Fiori elements application.
SAP Community, vidhyasagarmuleThe reasoning
nothing recorded
Extend Upload Set with Table to Fiori Elements and utilize Object Store
SAP Community, Kazuhiko TakataThe reasoningRunnable code
Core changed
Avoid design time CAP server restarts when maintaining local data files
SAP Community, DJ AdamsThe reasoningRunnable code
Core changed
Now AI Helps You Developing SAPUI5 Applications
SAP Community, AndreasKunz
nothing recorded
ISO content for common CAP types
SAP Community, DJ AdamsThe reasoningRunnable code
Core changed
CAP with Fiori Elements: Actions on List Report / Object Page using Annotations - Part1
SAP Community, Ajit_K_PandaThe reasoningA recipeRunnable code
Core changed
CAP with Fiori Elements: Actions on List Report / Object Page using Annotations – Part2
SAP Community, Ajit_K_PandaThe reasoningRunnable code
Core changed
CAP with Fiori Elements: Configure Multiple Views on List Report Tables
SAP Community, Ajit_K_PandaThe reasoningRunnable code
Core changed
CAP - Dynamically hide UI facets in Fiori Elements
SAP Community, AjayRathoreA recipe
Core changed
Create Fiori List Report with object page using CAPM(node.js) Service
SAP Community, Md_sanaullahThe reasoning
nothing recorded
Developing SAP Fiori Element application by using SAP Cloud Application Programming Model
SAP Community, shobhitThe reasoningA recipeRunnable code
Core changed
Building an Analytical List Page with CAP OData V4
SAP Community, Mio YasutakeThe reasoningA recipeRunnable code
Gone quiet
Fiori Elements Analytical Table with CAP: Does it work with V2 and V4?
SAP Community, Mio YasutakeThe reasoningRunnable code
Core changed
CAP with Fiori Elements: Side Effects, Custom Actions, Dynamic Expressions
SAP Community, Ajit_K_PandaThe reasoningRunnable code
Core changed
Upload data from excel in CAP (Node.js)
SAP Community, KM11Runnable code
Core changed
Add useful Extensions to Dev spaces in SAP Business Application Studio
SAP Community, showkath_naseemThe reasoning
nothing recorded
加速开发和部署的CAP CDS和Fiori一些实用命令
SAP Community, TiaXuThe reasoningA recipeRunnable code
Core changed
Useful CAP CDS and Fiori Commands to Accelerate Development and Deployment
SAP Community, TiaXu
nothing recorded
Display of hierarchical data in SAP Fiori elements using SAP Cloud Application Programming Model
SAP Community, OliverKlemenzThe reasoningRunnable code
1 stale part
Case-insensitive filters in Fiori Elements (List report + CAP)
SAP Community, Kishannaicker
nothing recorded
Extend SAP SuccessFactors on SAP BTP with CAP - Develop the SAP Fiori Elements Application
SAP Community, ale_biagiThe reasoning
nothing recorded
Build and deploy a CAP Project Node.js API with a SAP Fiori Elements UI and a managed approuter configuration
SAP Community, jlongThe reasoningA recipeRunnable code
Core changed
The SAP Fiori elements feature showcase with CAP CDS annotations
SAP Community, stefaniehagerThe reasoning
nothing recorded
Tips and Tricks for Working with Annotations in CAP Projects using Language Server Protocol (LSP) capabilities
SAP Community, maryana_nabokaThe reasoning
nothing recorded
Build SAP Overview Page using SAP HANA Cloud & SAP CAP service annotations in Visual Studio Code
SAP Community, Sai_Nithesh_GThe reasoningA recipeRunnable code
Core changed
SAP CAP Remote Services & SAP Fiori Elements
SAP Community, Former MemberThe reasoningA recipeRunnable code
Core changed
From R/3 ABAP to CAP/Fiori Elements on SAP BTP- Deployment
SAP Community, former_member231477Runnable code
Core changed
From R/3 ABAP to CAP/Fiori Elements on SAP Cloud
SAP Community, former_member231477The reasoningRunnable code
Core changed
Create an SAP Fiori Elements UI for CAP Node.js applications in SAP Business Application Studio
SAP Community, liat_bThe reasoning
nothing recorded
SAP Cloud Application Programming Model(CAP):概要およびデモ - Part 1
SAP Community, rasai, part 1 of 2
nothing recorded
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
First Java Cap Application
SAP Community, bruce_wang3
nothing recorded
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
Random collection of useful code fragments for CAP Fiori Elements and SAPUI5
SAP Community, leoirudayamThe reasoningRunnable code
Core changed
SAP Fiori Element using CAP Model – List Report App
SAP Community, jhodel18The reasoning
nothing recorded
SAP Fiori Elements using CAP Model - Introduction
SAP Community, jhodel18The reasoning
nothing recorded
Developing a Fiori elements app with CAP and Fiori Tools
SAP Community, MioYasutakeThe reasoningA recipeRunnable code
Core changed
cf-create-app: Create End-to-End apps and deploy to Cloud Foundry in minutes
SAP Community, former_member604013The reasoningA recipeRunnable code
Core changed
Developing Fiori Element Application (List Report and Object Page) consuming the OData service created using SAP Cloud Application Programming model
SAP Community, former_member187069The reasoningA recipe
Core changed
CAP: Consume External Service - Part 1
SAP Community, Jhodel Cailan
nothing recorded
Introducing the Cloud Application Programming Model (CAP)
SAP Community, Daniel7
nothing recorded
OData to outcomes—Build AI-enabled SAP Fiori apps using SAP Fiori elements
SAP TechEd — session catalogue, Stefan EngelhardtThe reasoning
nothing recorded
Agentic Engineering for SAP Extensions
SAP Architecture Center, SAP Architecture CenterThe reasoningA reference
nothing recorded
AI-assisted full stack development using model context protocol servers
SAP TechEd — session catalogueThe reasoning
nothing recorded
Develop a Full-Stack CAP Application Following SAP BTP Developer's Guide
SAP Developer Center, SAPThe reasoningA recipe
nothing recorded

Details

Graph9 edges
POINTS OUT →
explainscapforgeartifact
explains@cap-js/mcp-serverartifact
explainsAgent access to your codecapability, core and community
explainsGeneratorscapability, core and community
explainsSeed datacapability, core and community
explainsFiori annotationscapability, core and community
explainsLintingcapability, core and community
published onSAP Communitypublishing source
discovered viaSAP Communitycap-tag
Source
Type
blog
Published on
Host
community.sap.com
First seen
History1
  • Entered the atlasDiscovered via SAP Community · cap-tag.
For your agent
Ref
content:the-missing-half-of-ai-assisted-cap-development-putting-the-compiler-in-the-loop
JSON
/content/the-missing-half-of-ai-assisted-cap-development-putting-the-compiler-in-the-loop.json
MCP
Connecting an agent