$ timeahead.in
/ servers/npm/@cap-js/mcp-server
npm

@cap-js/mcp-server

Model Context Protocol (MCP) server for AI-assisted development of CAP applications.

98 stars58k/wkupdated 3d agogithub ↗
89good
▣ Overview

What it does

@cap-js/mcp-server bridges SAP Cloud Application Programming Model (CAP) projects with AI models, enabling agentic coding assistance. It exposes the compiled CDS (Core Schema Notation) model—encompassing all entities, fields, services, and HTTP endpoints—through fuzzy search, and provides semantic search over CAP documentation via vector embeddings. Both tools run locally, allowing AI to answer questions like "which CDS services are defined here" and "how do I add columns to a select statement" without leaving your editor.

Who it's for

Backend engineers and full-stack developers building CAP applications on SAP BTP who use AI coding assistants. Relevant if you're working in VS Code with Cline, using GitHub Copilot in Agent mode, or running Claude Code with MCP support, and want the AI to understand your CAP project structure and documentation.

Common use cases

  • Query the compiled CDS model to list entities, services, and their relationships
  • Find CAP documentation sections relevant to your current development task via natural language
  • Have an AI agent modify .cds models with context-awareness of existing definitions
  • Generate boilerplate CAP code (query logic, service implementations) with accurate field and service references
  • Ask the AI to explain how CDS definitions map to HTTP endpoints

Setup pitfalls

  • Configuration differs by MCP client; VS Code, Cline, opencode, and GitHub Copilot each require different config formats
  • Reads and writes the filesystem to index .cds files and cache embeddings—ensure the MCP client sandbox permits this
  • Initial run includes embedding CAP documentation, which requires disk space and may take time on first invocation
  • AI models must be instructed to search the CDS model first before reading .cds files; omitting this rule causes incomplete or hallucinated definitions
▣ Score BreakdownMCPScore = Σ(raw × weight)
DimensionRawWeighted
Security
35%
100
35.0
Freshness
25%
100
25.0
Adoption
20%
77
15.4
Quality
10%
90
9.0
Trust
10%
50
5.0
Total
89.4
⚿ Capabilities & Risk Explainer
fs readfs writenetworkexecsecrets
◆ Risk level: high
fs read + fs write + network + exec + secrets active — can execute code, access credentials, and make external network calls.
⚙ Install config
Claude Desktop · Cursor · Windsurf · VS Code (Copilot) · Claude Code
add to your MCP client config:
{
  "mcpServers": {
    "cap-jsmcp": {
      "command": "npx",
      "args": [
        "-y",
        "@cap-js/mcp-server"
      ]
    }
  }
}
📈 Score historylast 30 snapshots
4/30/20266/6/2026 · 30 snapshots
⚙ Maintenance health
71/ 100 · is this project alive?
contributors (1y)10
top contributor share41%
releases (1y)5
last release39d ago
ci✓ passing
⛁ Raw data
weekly downloads58k
github stars98
forks17
open issues11
license✓ present
readme length6422 chars
last publish1d ago
last commit3d ago
last updated9h ago
install verified✗ fail · 22d ago
owner of this server? claim your listing to get a verified badgeclaim →
🔔 Score drop alerts
get notified by email when this server's score drops 5+ points