SAP CAP MCP

Brings CAP documentation and project conventions into the agent so generated entities and service definitions follow the framework instead of resembling Express.

Official TypeScript stdio

What it does

Brings CAP documentation and project conventions into the agent so generated entities and service definitions follow the framework instead of resembling Express. Like most vendor doc servers, the value is precision on names and annotations that are easy to get subtly wrong.

Install

Terminal
npx -y @cap-js/mcp-server

Client configuration

Paste this into your MCP client config (Claude Desktop, Cursor, or any client that reads mcpServers), then restart the client.

mcp.json
{
  "mcpServers": {
    "sap-cap": {
      "command": "npx",
      "args": [
        "-y",
        "@cap-js/mcp-server"
      ]
    }
  }
}

Use it for

Teams building CAP services who want the model and CDS syntax in context

Skip it if

Anything outside the SAP CAP stack

When to use it

Reach for this when the task needs sap inside the agent loop. Skip it if a plain shell command or a one-off script is enough — every server you add costs context and adds a failure mode.

Other TypeScript servers

  • Filesystem — Gives an agent scoped read, write, and search access to directories you explicitly allow
  • Memory — A persistent knowledge graph stored in a local JSON file, exposed through entities, relations, and observations
  • Sequential Thinking — Gives the model a scratchpad for structured, revisable reasoning: numbered thoughts that can branch, revise, and conclude