Model Context Protocol (MCP) server for AI-assisted development of CAP applications.
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"cds-mcp": {
"env": {},
"args": [
"-y",
"@cap-js/mcp-server"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
A Model Context Protocol (MCP) server for the SAP Cloud Application Programming Model (CAP). Use it for AI-assisted development of CAP applications (agentic coding).
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
npx -y '@cap-js/mcp-server' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked @cap-js/mcp-server against OSV.dev.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in developer-tools
Manage Supabase projects — databases, auth, storage, and edge functions
XcodeBuildMCP provides tools for Xcode project management, simulator management, and app utilities.
A Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
MCP server for using the GitLab API
MCP Security Weekly
Get CVE alerts and security updates for io.github.cap-js/mcp-server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
A Model Context Protocol (MCP) server for the SAP Cloud Application Programming Model (CAP). Use it for AI-assisted development of CAP applications (agentic coding).
The server helps AI models answer questions such as:
See Getting Started on how to jumpstart your development and grow as you go with SAP Cloud Application Programming Model.
Configure your MCP client (Cline, opencode, Claude Code, GitHub Copilot, etc.) to start the server using the command npx -y @cap-js/mcp-server as in the following examples.
Example for VS Code extension Cline:
{
"mcpServers": {
"cds-mcp": {
"command": "npx",
"args": ["-y", "@cap-js/mcp-server"],
"env": {}
}
}
}
Example for VS Code global mcp.json:
Note: GitHub Copilot uses the
mcp.jsonfile as source for it's Agent mode.
{
"servers": {
"cds-mcp": {
"command": "npx",
"args": ["-y", "@cap-js/mcp-server"],
"env": {},
"type": "stdio"
},
"inputs": []
}
}
See VS Code Marketplace for more agent extensions.
Example for opencode:
{
"mcp": {
"cds-mcp": {
"type": "local",
"command": ["npx", "-y", "@cap-js/mcp-server"],
"enabled": true
}
}
}
The following rules help the LLM use the server correctly:
- You MUST search for CDS definitions, like entities, fields and services (which include HTTP endpoints) with cds-mcp, only if it fails you MAY read \*.cds files in the project.
- You MUST search for CAP docs with cds-mcp EVERY TIME you create, modify CDS models or when using APIs or the `cds` CLI from CAP. Do NOT propose, suggest or make any changes without first checking it.
Add these rules to your existing global or project-specific AGENTS.md (specifics may vary based on respective MCP client).
You can also use the tools directly from the command line.
npm i -g @cap-js/mcp-server
This will provide the command cds-mcp, with which you can invoke the tools directly as follows.
# Search for CDS model definitions
cds-mcp search_model . Books entity
# Search CAP documentation
cds-mcp search_docs "how to add columns to a select statement in CAP Node.js" 1
[!NOTE] Tools are meant to be used by AI models and do not constitute a stable API.
The server provides these tools for CAP development:
search_modelThis tool performs fuzzy searches against names of definitions from the compiled CDS model (Core Schema Notation).
CDS compiles all your .cds files into a unified