# bw-modeling-mcp

A Model Context Protocol server that lets an AI assistant read, create and modify SAP BW/4HANA or BW 7.5 modeling objects directly, using the same internal APIs as SAP's own Eclipse tooling.

bw-modeling-mcp connects an AI assistant such as Claude to a live SAP BW/4HANA or SAP BW 7.5 on HANA system through the same internal SAP APIs used by Eclipse's BW Modeling Tools and the BW/4HANA Cockpit: the BW Modeling REST API for objects, queries and live data, the ADT API for the ABAP and AMDP routines BW generates, the manage API for request monitoring and runtime, and the Push API for data loads. Every tool call reaches a live system, and write operations make real changes rather than running in a simulation.

Besides running as a local stdio process, the server can be deployed on SAP BTP Cloud Foundry behind XSUAA OAuth, either with one shared technical user or with principal propagation, where each caller reaches BW under their own identity so BW's own authorizations still apply. Three role collections control what a given user can do through the server, ranging from read-only access to full modeling changes, and a new tool stays unavailable to read-only callers until it is explicitly classified as safe to read.

Website: https://github.com/dnic-dev/bw-modeling-mcp
