Skip to main content
Glama
felipetomazzi-source

mcp-bw-modelling-api

MCP Server - SAP BW Modeling API

An MCP (Model Context Protocol) server that exposes SAP BW4/HANA modeling objects as tools via FastMCP. Allows AI assistants to explore and query your BW system's metadata: InfoAreas, InfoObjects, ADSOs, CompositeProviders, Queries, and more.

Prerequisites

  • Python 3.10+

  • Access to a SAP BW4/HANA system with the BW Modeling API enabled (/sap/bw/modeling/)

  • A SAP user with appropriate authorizations for the Modeling API

Related MCP server: bw-modeling-mcp

Installation

pip install -r requirements.txt

Configuration

The server is configured via environment variables:

Variable

Required

Description

Default

BW_BASE_URL

Yes

Base URL of the BW system (e.g. https://bw4hana.example.com)

BW_USERNAME

Yes

SAP username

BW_PASSWORD

Yes

SAP password

BW_CLIENT

No

SAP client number

100

BW_VERIFY_SSL

No

Verify SSL certificates (true/false)

false

Running the Server

Standalone (stdio transport)

python server.py

With FastMCP CLI

fastmcp run server.py:mcp

HTTP transport

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

MCP Client Configuration

Add this to your MCP client config (e.g. .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"
      }
    }
  }
}

Available Tools

Tool

Description

check_connection

Test connectivity to the BW system

search_bw_objects

Search for any BW object by name/type

list_infoareas

List all InfoAreas (organizational folders)

list_infoobjects

List InfoObjects (characteristics, key figures)

list_adsos

List Advanced DataStore Objects

list_composite_providers

List CompositeProviders (HCPR)

list_queries

List BEx/BW Queries

get_object_details

Get full metadata for any BW object

get_infoobject_details

Get InfoObject properties

get_adso_fields

Get field list of an ADSO

get_composite_provider_parts

Get data sources of a CompositeProvider

get_infoarea_contents

List all objects in an InfoArea

Supported Object Types

Code

Object Type

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