Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions guides/ai/cap-mcp.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,9 @@ Instead of annotating an existing service with `@mcp` and exposing all its entit

::: code-group
```cds [srv/mcp-service.cds]
using { CatalogService } from './cat-service';
using { AdminService } from './admin-service';

@agent service BookshopService {
@mcp service BooksService {

@readonly entity Authors as projection on AdminService.Authors excluding {
createdBy, modifiedBy,
Expand All @@ -139,9 +139,6 @@ using { CatalogService } from './cat-service';
genre.name as genre,
currency.name as currency,
}

@agent.hitl
action submitOrder ( book: Books:ID, quantity: Integer );
}
```
:::
Expand Down Expand Up @@ -524,4 +521,4 @@ Future versions of the adapter may add support for data changes using CREATE, UP

> [!caution]
> The CAP MCP adapter must not be used as a gateway or proxy for SAP Application APIs. The adapter is not an SAP-endorsed architecture, data service, or service-specific pathway under section 2.2.2 of the [_SAP API Policy_](https://help.sap.com/docs/business-accelerator-hub/sap-business-accelerator-hub/sap-api-policy) and is not an endorsed mechanism for exposing, proxying, or providing agentic access to SAP Application APIs.
> Any use of SAP Application APIs must be in accordance with the [_SAP API Policy_](https://help.sap.com/docs/business-accelerator-hub/sap-business-accelerator-hub/sap-api-policy). For SAP-endorsed patterns on agentic access to SAP Application APIs, consult the [_SAP Architecture Center_](https://architecture.learning.sap.com/docs/ref-arch/98efa0) reference architectures.
> Any use of SAP Application APIs must be in accordance with the [_SAP API Policy_](https://help.sap.com/docs/business-accelerator-hub/sap-business-accelerator-hub/sap-api-policy). For SAP-endorsed patterns on agentic access to SAP Application APIs, consult the [_SAP Architecture Center_](https://architecture.learning.sap.com/docs/ref-arch/98efa0) reference architectures.
Loading