From 0a9c81401a697e1be011c0c7dc62763b9f5a1e98 Mon Sep 17 00:00:00 2001 From: Christian Georgi Date: Wed, 5 Aug 2026 13:35:09 +0200 Subject: [PATCH] MCP: still mark as beta. Note on Java not released yet. --- guides/protocols/mcp.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/guides/protocols/mcp.md b/guides/protocols/mcp.md index aff557b15..47ec059c9 100644 --- a/guides/protocols/mcp.md +++ b/guides/protocols/mcp.md @@ -3,7 +3,7 @@ description: > Expose CAP services via the Model Context Protocol for seamless AI agent integration. --- -# Model Context Protocol Adapter +# Model Context Protocol Adapter The [Model Context Protocol (MCP)](https://modelcontextprotocol.io/) is an open-source standard that enables direct integration between large language model (LLM) applications and external data sources. Any CAP service can be turned into an MCP server, allowing AI agents and LLM-powered tools to interact with the service without additional implementation work. All that is required is annotating it with [ `@mcp`](#serving-mcp). From CAP perspective MCP is just another protocol which we serve similar to _OData_, _GraphQL_, _REST_, or _HCQL_. @@ -67,9 +67,10 @@ npm add @cap-js/mcp ``` ### In CAP Java Projects -Add this to the *srv/pom.xml*: +Add this to the *srv/pom.xml* file: -```xml [Java] +::: code-group +```xml [srv/pom.xml] com.sap.cds @@ -78,9 +79,12 @@ Add this to the *srv/pom.xml*: ``` +::: - -Make sure internal artifactory is configured for Maven build as described in [*Java > Getting Started > Setting Up Local Development*](../../java/getting-started.md#local). +> [!note] Not yet public +> The feature is not yet released publicly. Stay tuned. +> +> Make sure internal artifactory is configured for Maven build as described in [*Java > Getting Started > Setting Up Local Development*](../../java/getting-started.md#local). ## Serving MCP