bw-modeling-mcp
by dnic-dev·★ 33·综合分 46
用于SAP BW/4HANA系统中AI辅助开发的MCP服务器,提供全面的建模工具。
概述
这是一个全面的MCP服务器,通过SAP BW/4HANA系统的内部REST API使AI助手能够直接操作BW建模对象。它提供广泛的功能,包括读取、创建和修改aDSO、InfoObject、转换、DTP和BW查询等。服务器支持元数据操作和实时数据查询,具有依赖分析、数据流导航和角色管理等功能。
试试问 AI
装完之后,这里有 5 个你可以让 AI 做的事:
什么时候选它
如果您使用 SAP BW/4HANA 系统,并希望 AI 助手直接与您的 BW 环境进行交互以进行开发、分析或数据血缘任务,请选择此工具。
什么时候不要选它
如果您使用的是 BW 7.5 (而非 BW/4HANA),或者需要超出 BW 建模对象和数据操作范围的功能,请不要选择此工具。
此 server 暴露的工具
从 README 抽取出 12 个工具bw_searchSearch BW objects by name or description with optional wildcard support and object type filtering.
bw_xrefFind all objects that reference a given BW object (where-used analysis) including source systems for DataSources.
bw_get_adsoRead the full structure of an aDSO including fields, key fields, settings and version state.
bw_create_adsoCreate a new aDSO from template or empty, supporting all aDSO type presets including write-interface.
bw_update_adsoModify an existing aDSO by adding/removing fields, managing keys, updating properties or changing settings.
bw_query_dataExecute a BEx Query or preview data from any InfoProvider with variables, filters and axis layout control.
bw_get_rolesRead the full role hierarchy including folders and roles in BW system.
bw_set_query_rolesPublish or remove a query from a role or specific sub-folder in BW role management.
bw_get_dataflowTrace the complete structural data flow graph of any BW object in any direction.
bw_list_datasourcesRecursively list all DataSources under a source system with full APCO hierarchy path.
bw_get_composite_providerRead a CompositeProvider structure including view node types, source providers with mappings and join conditions.
bw_activateActivate BW objects including aDSO, InfoObject, Transformation and DTP.
可对比工具
安装
# 通过npm安装(推荐)
npm install -g bw-modeling-mcp
# 或克隆并构建
git clone https://github.com/dnic-dev/bw-modeling-mcp.git
cd bw-modeling-mcp
npm install
npm run build对于Claude Desktop,添加到claude_desktop_config.json:
{
"mcpServers": {
"bw-modeling-mcp": {
"command": "node",
"args": ["/path/to/bw-modeling-mcp/dist/index.js"],
"env": {
"BW_URL": "https://your-bw-host:50001",
"BW_USER": "YOUR_USER",
"BW_PASSWORD": "YOUR_PASSWORD",
"BW_CLIENT": "001",
"BW_LANGUAGE": "EN"
}
}
}
}FAQ
- 支持哪些SAP系统?
- 完全支持所有版本的SAP BW/4HANA。不支持SAP BW on HANA (7.5),因为HTTP版本协商问题。
- 如何获得BW系统的API访问权限?
- 您需要对BW/4HANA系统的/sap/bw/modeling/端点具有REST API访问权限。请联系您的SAP管理员启用此访问。
bw-modeling-mcp 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。