Skip to main content
Glama
felipetomazzi-source

mcp-bw-modelling-api

MCP Server - SAP BW Modeling API

一个 MCP(Model Context Protocol)服务器,通过 FastMCP 将 SAP BW4/HANA 建模对象作为工具暴露。允许 AI 助手探索和查询您的 BW 系统的元数据:InfoAreas、InfoObjects、ADSOs、CompositeProviders、Queries 等。

前提条件

  • Python 3.10+

  • 访问启用了 BW Modeling API 的 SAP BW4/HANA 系统(/sap/bw/modeling/

  • 具有 Modeling API 适当授权的 SAP 用户

Related MCP server: bw-modeling-mcp

安装

pip install -r requirements.txt

配置

服务器通过环境变量进行配置:

变量

必需

描述

默认值

BW_BASE_URL

BW 系统的基础 URL(例如 https://bw4hana.example.com

BW_USERNAME

SAP 用户名

BW_PASSWORD

SAP 密码

BW_CLIENT

SAP 客户端编号

100

BW_VERIFY_SSL

验证 SSL 证书(true/false

false

运行服务器

独立模式(stdio 传输)

python server.py

使用 FastMCP CLI

fastmcp run server.py:mcp

HTTP 传输

fastmcp run server.py:mcp --transport http --port 8000

MCP 客户端配置

将此添加到您的 MCP 客户端配置中(例如 .kiro/settings/mcp.json):

{
  "mcpServers": {
    "bw-modeling": {
      "command": "python",
      "args": ["path/to/server.py"],
      "env": {
        "BW_BASE_URL": "https://your-bw-system.example.com",
        "BW_USERNAME": "your_user",
        "BW_PASSWORD": "your_password",
        "BW_CLIENT": "100"
      }
    }
  }
}

可用工具

工具

描述

check_connection

测试与 BW 系统的连接

search_bw_objects

按名称/类型搜索任何 BW 对象

list_infoareas

列出所有 InfoAreas(组织文件夹)

list_infoobjects

列出 InfoObjects(特性、关键指标)

list_adsos

列出高级 DataStore 对象

list_composite_providers

列出 CompositeProviders(HCPR)

list_queries

列出 BEx/BW 查询

get_object_details

获取任何 BW 对象的完整元数据

get_infoobject_details

获取 InfoObject 属性

get_adso_fields

获取 ADSO 的字段列表

get_composite_provider_parts

获取 CompositeProvider 的数据源

get_infoarea_contents

列出 InfoArea 中的所有对象

支持的对象类型

代码

对象类型

AREA

InfoArea

IOBJ

InfoObject

ADSO

DataStore Object (advanced)

HCPR

CompositeProvider

QUERY

Query

TRFN

Transformation

DTP

Data Transfer Process

MPRO

MultiProvider

ODSO

DataStore Object (classic)

Install Server
F
license - not found
B
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    A
    quality
    D
    maintenance
    Enables AI assistants to integrate with SAP systems via OData REST APIs for querying entity sets, performing CRUD operations, and executing function imports. It features automatic service discovery, CSRF token management, and smart connection handling without requiring the SAP RFC SDK.
    11
    12
  • A
    license
    A
    quality
    A
    maintenance
    Enables AI assistants to read, create, and modify SAP BW/4HANA modeling objects via the internal REST API, including aDSOs, InfoObjects, transformations, DTPs, queries, and more.
    99
    358
    57
    MIT
  • F
    license
    A
    quality
    C
    maintenance
    Enables interaction with SAP S/4HANA systems via OData, allowing service discovery, metadata exploration, field value retrieval, and CRUD operations through natural language.
    4
    5

View all related MCP servers

Related MCP Connectors

  • Connect your AI assistants to Keboola and expose your data, transformations, SQL queries, ...

  • Run SOQL queries to explore and retrieve Salesforce data. Access accounts, contacts, opportunities…

  • Run SOQL queries against your Salesforce org to retrieve records and insights. Explore objects, fi…

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/felipetomazzi-source/mcp-bw-modelling-api'

If you have feedback or need assistance with the MCP directory API, please join our Discord server