MCP Server
Searches a CAP project's CDS model and CAP docs to support AI-assisted SAP development
- Pricing
- Open source
- Platforms
- CLI, self-hosted, vscode
- Runs
- Locally
- Version
- 0.1.0
- Listing updated
- today
Similar MCP servers
About MCP Server
MCP Server is an open-source MCP server for developer tools. It runs locally on your machine and is started by your AI client.
This server is aimed at agentic coding on SAP Cloud Application Programming Model projects. It answers questions such as which CDS services a project has and where they are served, how entities relate, and how to extend a select statement in CAP Node.js.
Documentation search runs locally. The query is turned into an embedding and compared with preprocessed CAP docs stored as embeddings, and by default only chunks for the detected runtime (Node.js or Java) plus runtime-agnostic chunks are kept. Optional settings cover an offline mode, a choice of embedding model, a cap on results and a local reranking model. The README marks these variables as experimental and says the tools are meant for AI models and are not a stable API.
The README also supplies rules to paste into an AGENTS.md file, telling the model to search CDS definitions through the server before reading .cds files and to check the docs every time it changes models or uses the cds CLI. Setup examples cover Claude Code, VS Code with Cline or Copilot, OpenAI Codex and opencode, and a cds-mcp command can call the tools from a terminal.
Install
Run in a terminal
claude mcp add mcp-server -- npx -y @cap-js/mcp-serverAdd to claude_desktop_config.json
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@cap-js/mcp-server"
]
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@cap-js/mcp-server"
]
}
}
}Add to .vscode/mcp.json
{
"servers": {
"mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cap-js/mcp-server"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@cap-js/mcp-server"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@cap-js/mcp-server"
]
}
}
}Using several servers? Build one config file with the MCP config generator.
Tools this server provides (2)
Taken from the project documentation; the running server may differ.
- search_model
- Searches CDS definitions such as entities, fields and services in the project.
- search_docs
- Searches preprocessed CAP documentation using local vector embeddings.
What it does
- CDS model search
- Finds entities, fields and services, including HTTP endpoints, in the project's CDS definitions.
- Local doc search
- Searches preprocessed CAP documentation with embeddings, filtered to the project's runtime.
- Optional reranking
- A local cross-encoder model can rerank documentation results when enabled.
- Offline mode
- Uses locally cached embeddings without checking for updates.
- Command-line use
- The cds-mcp command runs the same tools directly from a terminal.
- Agent rules
- Ships suggested AGENTS.md rules so models check CAP docs before editing.
Good for
- Ask which services a CAP project exposes
- Understand how entities in a CDS model relate
- Look up CAP Node.js API usage while coding
- Give a coding agent reliable CAP documentation
- Query a CDS model from the terminal
Pricing
Open source
MCP Server FAQ
How do I start it?
Configure your MCP client to run npx -y @cap-js/mcp-server.
Which tools does it expose?
search_model for CDS definitions and search_docs for CAP documentation.
Can it run offline?
Yes, set CDS_MCP_OFFLINE to true to use locally cached embeddings.
Is the tool interface stable?
The README says the tools are meant for AI models and do not constitute a stable API.
Is MCP Server free?
Yes. MCP Server is open source, so you can use and self-host it for free.
How do I add MCP Server to Claude Code?
Run this command in your terminal: claude mcp add mcp-server -- npx -y @cap-js/mcp-server
What are the best alternatives to MCP Server?
The closest alternatives to MCP Server are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.
Where this comes from
- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.


