CAP in the age of AI #3 - from MCP to A2A
The episode that finishes @cap-js/mcp@cap-js/mcpA 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.sap official, cap with authorisation and then crosses to agents. @requires and @restrict are the same annotations CAP already has, and the plugin reads them to filter the tool list and the describe output per user and per request, so a model is not told about entities the caller cannot reach — where the OData metadata of the same service lists every exposed entity regardless. The second half annotates a service with @agent from @cap-js/agents@cap-js/agentsSAP's own CDS plugin for building agents inside a CAP service, wired to audit logging and telemetry through peer dependencies rather than leaving observability to the author.sap official, cap, which serves it over A2A with an agent card and a chat preview, runs first against a mocked response and then against SAP AI CoreSAP AI CoreSAP's AI service on BTP: the runtime for AI assets, and through the Generative AI Hub inside it the access to foundation models, the orchestration service with its templating, masking, filtering and grounding modules, the Prompt Registry and Document Grounding.sap official, btp bound with cds bind and a hybrid profile, and reuses the MCP adapter's tools rather than defining new ones.
Where it sits
Who is behind it
Developer Advocate
In the atlas: contributes to 20, wrote 22@qmacroJohannes VogtJohannes VogtWrote this
In the atlas: maintains 1, contributes to 28, wrote 10@AkatuoroStefan RudiStefan RudiWrote this
In the atlas: contributes to 13, wrote 5@stefanrudiauthors
In this series
- 1
- 2
- 3CAP in the age of AI #3 - from MCP to A2Ayou are here
- 4
- 5
- 6
- 7
Properties
About this work
Details
Graph
Source
History
- Entered the atlasDiscovered via YouTube — SAP Developers playlists.
For your agent
- Ref
content:cap-in-the-age-of-ai-3-from-mcp-to-a2a- JSON
- /content/cap-in-the-age-of-ai-3-from-mcp-to-a2a.json
- MCP
- Connecting an agent