Bookshop Example
БесплатноНе проверенExposes a CAP bookshop service via MCP, enabling AI agents to query books, authors, and genres using natural language.
Описание
Exposes a CAP bookshop service via MCP, enabling AI agents to query books, authors, and genres using natural language.
README
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 install
Run
cds watch
The 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 |
|---|---|
describe |
Returns the data model (entities, actions, functions) |
query |
Reads data — supports select, where, orderBy, limit, etc. |
call_action |
Invokes unbound actions/functions (e.g. submitOrder, checkAvailability) |
Try it
With Claude Code or Opencode running, just ask:
list books with authors and genres
Inspect tools
npm run inspector
Opens the MCP Inspector at http://localhost:5173. Connect to http://localhost:4004/mcp/browse to browse tools interactively.
Установка Bookshop Example
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/jpnqs/cap-bookshop-mcpFAQ
Bookshop Example MCP бесплатный?
Да, Bookshop Example MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Bookshop Example?
Нет, Bookshop Example работает без API-ключей и переменных окружения.
Bookshop Example — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Bookshop Example в Claude Desktop, Claude Code или Cursor?
Открой Bookshop Example на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare Bookshop Example with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
