$ 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 stars53k/wkupdated 2d agogithub ↗
86good
▣ Overview

What it does

This server exposes SAP CAP project structure to AI models through two specialized tools. search_model performs fuzzy search over compiled CDS (Core Data Services) definitions—entities, fields, services, and HTTP endpoints extracted from .cds files. search_docs provides semantic search through CAP documentation using vector embeddings, allowing queries phrased naturally without exact keyword matching. Together, they enable AI models to ground code generation in verified project schemas and official CAP patterns.

Who it's for

SAP CAP developers using AI-assisted editors (VS Code extensions like Cline, GitHub Copilot, Claude Code, or CLI environments) to accelerate cloud application development. Teams building enterprise applications on SAP Cloud Application Programming Model who want their AI coding assistants to query live project schemas and documentation.

Common use cases

  • Query CDS entities and their relationships to understand data models and HTTP service endpoints
  • Search CAP documentation for specific patterns (e.g., "how to add columns to a select statement in Node.js") during development
  • Ground AI-generated code suggestions with verified CAP examples and entity schemas
  • Enable agentic workflows where AI assistants self-serve documentation and schema queries without blocking developers

Setup pitfalls

  • The server reads your project's .cds files; ensure the MCP client runs with the CAP project as its working directory or can access the project path
  • Vector embeddings for documentation search are bundled in the npm package; offline or air-gapped environments must download the full package before use
  • Configuration differs by client: VS Code requires mcp.json or extension-specific config; verify your client's MCP setup documentation
  • The tool_count registry metric incorrectly shows 0; the server actually provides search_model and search_docs tools
▣ Score BreakdownMCPScore = Σ(raw × weight)
DimensionRawWeighted
Security
35%
100
35.0
Freshness
25%
85
21.3
Adoption
20%
77
15.3
Quality
10%
90
9.0
Trust
10%
50
5.0
Total
85.6
⚿ 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 33 snapshots
4/30/20266/11/2026 · 33 snapshots
⚙ Maintenance health
71/ 100 · is this project alive?
contributors (1y)10
top contributor share41%
releases (1y)5
last release47d ago
ci✓ passing
⛁ Raw data
weekly downloads53k
github stars98
forks17
open issues12
license✓ present
readme length6422 chars
last publish9d ago
last commit2d ago
last updated1d ago
install verified✗ fail · 31d 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