Bookshop MCP Example
Provides tools for interacting with SAP CAP services, enabling querying of bookshop data models including entities, actions, and functions.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Bookshop MCP Example
A minimal CAP bookshop sample that exposes its service via the Model Context Protocol (MCP), letting AI agents and LLM tools query it directly.
Official CAP MCP docs: https://cap.cloud.sap/docs/guides/protocols/mcp
Setup
npm installRelated MCP server: CAP MCP Plugin
Run
cds watchThe MCP server starts automatically and is registered with local MCP clients (Claude Code, Opencode).
How it works
The CatalogService in srv/cat-service.cds is annotated with @mcp, which is all that's needed to expose it as an MCP server:
annotate CatalogService with @mcp;The adapter creates three tools per service:
Tool | Purpose |
| Returns the data model (entities, actions, functions) |
| Reads data — supports |
| Invokes unbound actions/functions (e.g. |
Try it
With Claude Code or Opencode running, just ask:
list books with authors and genresInspect tools
npm run inspectorOpens the MCP Inspector at http://localhost:5173. Connect to http://localhost:4004/mcp/browse to browse tools interactively.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Hosted MCP for e-commerce: live product catalog, stock, and pricing for AI agents.
MCP server unifying ERPs, CRMs, APIs and knowledge base for Claude, ChatGPT and Gemini.
Turn your offers into an AI agent. Set it up from your MCP assistant, answer customer questions, collect enquiries and connect with other agents via A2A. OAuth sign-in; free plan available.
Build and run grounded business agents over MCP: agents, knowledge bases, skills, Storylines.
Related MCP Servers
AlicenseNot gradedqualityAmaintenanceMCP server for SAP CAP that enables AI-assisted development by searching CDS model definitions and CAP documentation.53,268 npm118Apache 2.0- AlicenseNot gradedqualityBmaintenanceA CAP plugin that automatically generates MCP servers from your CAP services, transforming OData services into AI-accessible resources, tools, and prompts with minimal configuration.1,150 npm61Apache 2.0
- AlicenseAqualityDmaintenanceMCP server that makes AI agents get SAP CAP/CDS right by providing curated knowledge and a feedback loop with real validation against cds compile.105 npmMIT
- FlicenseNot gradedqualityCmaintenanceEnables AI agents to securely access and query SAP BTP OData backends via MCP, with XSUAA authentication and principal propagation.-