Best for
- Developers building SAP CAP applications who want an AI assistant to search CAP documentation or project CDS models.
- Teams working with Node.js or Java CAP projects that want documentation search filtered by the detected project runtime.
This stdio MCP server supports CAP application development with semantic search over CAP documentation and definition search in compiled CDS models. It fits CAP development workflows; setup and search behavior depend on the local project, embedding cache, and experimental environment variables.
Strongest · Setup experience 14/20 Weakest · Reliability 8/20
Static review · not runReviewed 2026-11-29
Read the FMRS scoring method →Runtime:Node.js
CDS_MCP_OFFLINE
Set to true to use cached embeddings without checking for updates; accepts true or false.
CDS_MCP_OFFLINE_DIR
Folder to use instead of the local cache when offline mode is enabled.
CDS_MCP_MODEL
Optional embedding model name; the docs give nomic-ai/nomic-embed-text-v1.5 as an example.
CDS_MCP_MANIFEST_TIMEOUT
Manifest request timeout in positive integer milliseconds; defaults to 15000.
CDS_MCP_DOWNLOAD_TIMEOUT
Bundle response-header timeout in positive integer milliseconds; defaults to 30000.
CDS_MCP_GENERIC_EMBEDDINGS
Set to true to skip runtime filtering and search across all runtimes; accepts false as well.
CDS_MCP_MAX_RESULTS
Positive integer upper limit for search_docs results.
CDS_MCP_RERANK_ENABLED
Set to true to rerank search_docs results with a local cross-encoder model; accepts false as well.
CDS_MCP_RERANK_MODEL
Cross-encoder model name for reranking; defaults to Xenova/ms-marco-MiniLM-L-6-v2.
CDS_MCP_RERANK_DTYPE
Data type used to load the reranking model; defaults to q8, or set to fp32 for models without model_quantized.onnx.
CDS_MCP_RERANK_EXTERNAL_DATA
Set to true for reranking models whose ONNX weights are stored in external .onnx_data files; accepts false as well.
CDS_MCP_RERANK_BATCH_SIZE
Positive integer number of results processed per reranking batch; defaults to 1.
Configure your MCP client to run npx -y @cap-js/mcp-server. The stdio configuration uses command npx with arguments -y and @cap-js/mcp-server. The README includes setup examples for Claude Code, VS Code, OpenAI Codex, and opencode.
{"mcpServers":{"cds-mcp":{"command":"npx","args":["-y","@cap-js/mcp-server"],"env":{}}}}
Shown for Claude Code. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.
{
"servers": {
"cds-mcp": {
"command": "npx",
"args": [
"-y",
"@cap-js/mcp-server"
],
"env": {}
}
}
}
Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).
[mcp_servers.cds-mcp] command = "npx" args = ["-y", "@cap-js/mcp-server"]
Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).
claude mcp add cds-mcp -- npx -y @cap-js/mcp-server
Run it in a terminal; replace any <…> placeholders with your own values first.
After installing and connecting, check that search_docs and search_model appear in the client's tool list. Ask it to search CAP documentation or CDS definitions in the project and confirm it returns relevant results.
Once connected, you can ask your AI assistant things like:
No matching tools
Listed from the project's documentation, not tested by this site.
CAP MCP Server is a Model Context Protocol server for SAP Cloud Application Programming Model (CAP) projects. It helps AI assistants explore project services, entities, and relationships through semantic search over CAP documentation and fuzzy search of definitions in the compiled CDS model.
Connect code, docs, and infrastructure in a local knowledge graph.
Docker's official MCP gateway CLI plugin for managing and running MCP servers.
Fast, low-cost structured judgments for agents.
Local call graphs and structural analysis for Go repositories.
Source revision 5d827a88700a Data synced 2026-12-05 Read the FMRS scoring method Markdown