cds-kb-mcp
Provides tools for searching and retrieving SAP CDS view definitions and metadata from a knowledge base, supporting local and remote data sources.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@cds-kb-mcpFind CDS view for material master"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
cds-kb-mcp
A dataless MCP server that gives AI agents instant, ranked access to 7,355 SAP S/4HANA released CDS views via semantic search, business taxonomy, and on-demand definition retrieval.
TL;DR: No installation, no data download, no cloning required. The server is centrally hosted remotely. Just configure your MCP client to connect via
supergatewayusing the provided URL — a fallback URL is available if the primary is unreachable. See Client Configuration.
Benchmark vs. raw file access: ~830× faster, ~94× cheaper in tokens, better top-3 relevance — full numbers in BENCHMARK.md.
Table of Contents
Client Configuration — The ONLY step needed to start using the MCP
Related MCP server: SAP ADT MCP Server
What you get
Coverage | 7,355 released CDS views for S/4HANA Cloud Public Edition |
Enrichment | 7,160 / 7,355 views have a semantic description + synonyms |
Taxonomy | 12 Lines of Business → 829 Business Objects → keyword map |
Search ranking | Field-boosted MiniSearch ( |
Module aliasing | Filter by |
Tools | 5 MCP tools: |
Bundle | Single ~1.9 MB |
Data isolation | The server ships no view data. Data lives in a separate repo, served over GitHub or via a local clone. |
Prerequisites
Before configuring your client, ensure your local machine meets the following requirements:
Node.js: Must be installed (minimum version Node.js v18 or above). Verify by running
node -vin your terminal.Network Connectivity:
Outbound HTTPS access to the hosted server — primary:
https://cds-kb-mcp-production.up.railway.app, fallback:https://cds-kb-mcp.cfapps.ap21.hana.ondemand.comAccess to
registry.npmjs.orgto fetchsupergateway. If your machine is behind a corporate firewall/VPN/proxy that blocks npm registry downloads, you must use the global installation method (Option 2 below).
Compatible IDE: An IDE supporting MCP (e.g. Cursor, Claude Desktop, VS Code, Gemini IDE).
Client Configuration
Because the MCP server is hosted remotely, you do not need to clone this repository or install any local dependencies.
For any IDE that supports MCP via standard commands (Cursor, Claude Desktop, Gemini IDE), use the supergateway package to securely bridge the remote SSE server back into local stdio.
To ensure 100% stability across all devices (preventing version mismatch or Node.js v18 compatibility issues), use one of the two configurations below. Two hosted endpoints are available — start with Primary, and switch to Fallback only if the primary is unreachable from your network.
Option 1: Lock Version with npx (Recommended & Easiest)
Locks the supergateway version to 2.0.0. This works on all devices with Node.js v18 or above, and prevents NPM from dynamically fetching the latest v3.x which requires Node v20+.
Add one of these blocks to your mcpServers configuration file (e.g., claude_desktop_config.json or mcp_config.json):
Primary:
{
"mcpServers": {
"cds-kb": {
"command": "npx",
"args": [
"-y",
"supergateway@2.0.0",
"--sse",
"https://cds-kb-mcp-production.up.railway.app/sse"
]
}
}
}Fallback (SAP BTP Cloud Foundry):
{
"mcpServers": {
"cds-kb": {
"command": "npx",
"args": [
"-y",
"supergateway@2.0.0",
"--sse",
"https://cds-kb-mcp.cfapps.ap21.hana.ondemand.com/sse"
]
}
}
}Option 2: Global Installation (Offline & Network-Resilient)
Best for enterprise environments behind corporate firewalls, VPNs, or proxy servers where running npx dynamically on every IDE startup might fail or time out.
Install
supergatewayglobally on your machine once:npm install -g supergateway@2.0.0Update your IDE's
mcpServersconfiguration to call the globally installed binary directly (nonpx):Primary:
{ "mcpServers": { "cds-kb": { "command": "supergateway", "args": [ "--sse", "https://cds-kb-mcp-production.up.railway.app/sse" ] } } }Fallback (SAP BTP Cloud Foundry):
{ "mcpServers": { "cds-kb": { "command": "supergateway", "args": [ "--sse", "https://cds-kb-mcp.cfapps.ap21.hana.ondemand.com/sse" ] } } }(Note for Windows users: If your IDE cannot locate the global command, use
supergateway.cmdas the command, or specify the absolute path to your globalnpmprefix).
Once configured, restart your IDE. The tools will immediately be available for your agent to use.
Tools Reference
The server exposes five tools. They are designed so an AI agent can go from a vague business question to a complete CDS view definition in two or three calls.
1. search_cds
Find CDS views by business meaning, name, tag, or classic SAP keyword (VBAK, BSEG, etc.). Returns a ranked shortlist.
Parameter | Type | Required | Description |
| string | ✓ | Natural language or keyword (e.g. |
| string | optional | Module filter — code ( |
| string | optional | Line-of-business filter (partial match) |
| string | optional | Business object filter (partial match, e.g. |
| int 1-50 | optional | Max results (default 10) |
Returns: ranked list with name, score, module, short description, and path.
1. **I_CAOPENITEMLIST** [FI-FIO-AR-2CL] (score 14.2)
List of open items across customer and vendor accounts.
path: views/I_CAOPENITEMLIST.md
2. **I_PARKEDOPLACCTGDOCRBLSITEM** ...2. get_cds_view
Fetch one view's definition by exact name. Default: full markdown (metadata + fields + associations + source). Use sections to slim down the response.
Parameter | Type | Required | Description |
| string | ✓ | Exact view name (case-insensitive), e.g. |
| string[] | optional | Subset of |
Typical pattern: search_cds → pick a hit → get_cds_view(name, sections=["metadata", "fields"]) to confirm the field list without pulling 5-10 KB of DDL source.
3. get_views_by_tag
Deterministic listing by tag. Use when search_cds is too fuzzy.
Parameter | Type | Required | Description |
| string | ✓ | Exact tag, e.g. |
| int 1-200 | optional | Default 50 |
Discover valid tags with get_taxonomy first.
4. get_taxonomy
Returns the semantic map: 12 Lines of Business → 829 Business Objects, each with keywords and synonyms. Useful for the agent to orient itself before issuing a search, or to discover valid tags for get_views_by_tag.
No parameters.
5. kb_info
Report the active data source, view count, enrichment coverage, and index build timestamp. Use this to verify which version of the KB you're talking to.
source: remote:https://raw.githubusercontent.com/truongdva2/cds-kb-data/main (cache ~/.cache/cds-kb/...)
views: 7355
enriched: 7160
modules: 31
builtAt: 2026-06-25T09:13:52.301ZArchitecture
┌──────────────────────────────────────────────────────────────────┐
│ AI Client (Claude) │
│ search_cds("vendor open items", "FI") │
└──────────────────────────┬───────────────────────────────────────┘
│ MCP / JSON-RPC over stdio
┌──────────────────────────▼───────────────────────────────────────┐
│ cds-kb-mcp (this server) │
│ ┌───────────┐ ┌───────────┐ ┌───────────┐ ┌───────────┐ │
│ │ search_cds│ │ get_view │ │ taxonomy │ │ kb_info │ ... │
│ └─────┬─────┘ └─────┬─────┘ └─────┬─────┘ └─────┬─────┘ │
│ └─────────────┴─────────────┴─────────────┘ │
│ │ │
│ ┌────────────────────▼───────────────────┐ │
│ │ MiniSearch (in-memory, 5.7 MB index) │ │
│ └────────────────────┬───────────────────┘ │
│ │ │
│ ┌────────────────────▼───────────────────┐ │
│ │ DataSource (Local | Remote) │ │
│ │ • ETag-validated cache │ │
│ │ • Atomic writes, SWR, retry │ │
│ └─────────┬───────────────────┬──────────┘ │
└────────────┼───────────────────┼─────────────────────────────────┘
│ │
┌─────▼────┐ ┌────▼──────────────┐
│ Local FS │ │ GitHub Raw / CDN │
│ cds-kb- │ │ raw.github... │
│ data/ │ └───────────────────┘
└──────────┘This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/dovoanhtruong/cds-kb-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server