MCP catalog

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_model Compile the CDS model to CSN and return a summary (or raw CSN). Read
  • list_services List the CAP services and the entities they expose. Read
  • list_entities List entities and aspects with element counts and keys. Read
  • get_definition Return the full definition of one CSN artifact. Read
  • search_docs Search the CAP documentation (capire). Read
  • fetch_doc Fetch 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"
      ]
    }
  }
}

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