logali-mcp-cap
CAP CDS model and documentation
- CAP
- TypeScript
- stdio
- MIT
- 6 tools
- Read-only
Overview
Introspects the CDS model of a SAP CAP project (compiles to CSN, lists services and entities, describes definitions) and searches the CAP documentation. It uses @sap/cds when available and falls back to @sap/cds-dk.
Clean-room implementation by Logali Tech (original code, MIT license), inspired by the open-source ecosystem of SAP MCP servers.
Tools
What your assistant can call. Writes stay disabled unless you enable them.
-
compile_modelCompile the CDS model to CSN and return a summary (or raw CSN). Read -
list_servicesList the CAP services and the entities they expose. Read -
list_entitiesList entities and aspects with element counts and keys. Read -
get_definitionReturn the full definition of one CSN artifact. Read -
search_docsSearch the CAP documentation (capire). Read -
fetch_docFetch a cap.cloud.sap page as readable text. Read
Installation
Clone and build, then point your MCP client at the binary. Pick your client:
Paste into claude_desktop_config.json
{
"mcpServers": {
"cap": {
"command": "node",
"args": [
"/path/to/logali-mcp-cap/dist/index.js"
]
}
}
} Paste into ~/.cursor/mcp.json
{
"mcpServers": {
"cap": {
"command": "node",
"args": [
"/path/to/logali-mcp-cap/dist/index.js"
]
}
}
} Paste into .vscode/mcp.json
{
"servers": {
"cap": {
"type": "stdio",
"command": "node",
"args": [
"/path/to/logali-mcp-cap/dist/index.js"
]
}
}
} In your terminal
git clone https://github.com/logalitech/logali-mcp-cap
cd logali-mcp-cap
npm install && npm run build Configuration
Server environment variables.
| Variable | Required | Description |
|---|---|---|
| CAP_PROJECT_ROOT | No | CAP project root (default current directory). |
| CAP_DOCS_BASE_URL | No | Docs base URL (default https://cap.cloud.sap). |
| CAP_DOCS_TIMEOUT_MS | No | Timeout for documentation requests. |
Related servers