MCP Catalogs
首页

mcp-server

by cap-js·96·综合分 47

用于 CAP 应用 AI 开发的 MCP 服务器,提供模型和文档搜索功能。

developer-toolsai-llmknowledge-graph
16
Forks
10
活跃 Issue
本月
最近提交
2 天前
收录于

概述

这个 MCP 服务器为使用 SAP 云应用编程模型 (CAP) 的开发者提供专用工具。它提供两个主要功能:search_model 用于在项目中查找 CDS 定义和关系,search_docs 通过语义搜索查找 CAP 文档。服务器集成 Cline、opencode、Claude Code 和 GitHub Copilot 等流行的 MCP 客户端,使其在不同开发环境中均可访问。它遵循最佳实践,为各种 IDE 提供清晰的配置示例,并包含适当的 CLI 使用文档。

试试问 AI

装完之后,这里有 5 个你可以让 AI 做的事:

:AI 助手回答关于 CAP 项目中 CDS 服务、实体及其关系的问题
:开发者在修改 CDS 模型时接收上下文感知的建议
:在不离开开发环境的情况下查找特定 CAP API 的文档
:什么是 CAP?
:如何使用 search_model 工具?

什么时候选它

如果你正在开发 SAP CAP 应用程序并希望 AI 助手理解你的项目结构和实体,选择这个服务器。

什么时候不要选它

如果你不使用 SAP CAP 应用程序,不要选择它,因为它专门针对该生态系统。

此 server 暴露的工具

从 README 抽取出 2 个工具
  • search_model

    Performs fuzzy searches against names of definitions from the compiled CDS model

  • search_docs

    Uses vector embeddings to locally search through preprocessed CAP documentation

可对比工具

sap-cap-mcpcds-language-serversap-business-studio

安装

安装

  1. 全局安装服务器:
npm i -g @cap-js/mcp-server
  1. 在您的 MCP 客户端中使用命令 npx -y @cap-js/mcp-server
Claude Desktop 配置

添加到您的 claude_desktop_config.json

{
  "mcpServers": {
    "cds-mcp": {
      "command": "npx",
      "args": ["-y", "@cap-js/mcp-server"],
      "env": {}
    }
  }
}
VS Code with Cline 配置

添加到您的 VS Code 设置:

{
  "mcpServers": {
    "cds-mcp": {
      "command": "npx",
      "args": ["-y", "@cap-js/mcp-server"],
      "env": {}
    }
  }
}

FAQ

什么是 CAP?
CAP 代表 SAP 云应用编程模型,是一个专注于数据建模和服务开发的框架,用于开发企业应用程序。
如何使用 search_model 工具?
search_model 工具对编译后的 CDS 模型中的定义名称执行模糊搜索。您可以使用部分匹配搜索实体、字段和服务。

mcp-server 对比

GitHub →

最后更新于 · 由 README + GitHub 公开数据自动生成。