# SAP BW Modeling MCP Server

> Let AI assistants work directly with SAP BW modeling objects.

- **URL**: https://followmcp.com/en/servers/bw-modeling-mcp
- **Category**: Dev Tools
- **Origin**: Community
- **Stars**: 92
- **FMRS Score**: 60/100 (Grade C)
- **Source**: https://github.com/dnic-dev/bw-modeling-mcp
- **Transports**: stdio (local process), Streamable HTTP
- **Runtimes**: Node.js 22+
- **Auth**: API key / credential required

## Overview
An MCP server for SAP BW/4HANA and SAP BW 7.5 on HANA. It uses SAP APIs to read, create, and modify modeling objects, and to access queries and live data. It also supports selected runtime and data-load operations. Calls connect to a live BW system, and writes make real changes.

## Best for
- Developers and analysts working with SAP BW/4HANA or suitably configured SAP BW 7.5 on HANA.
- Teams that want AI assistance with BW modeling, queries, or related runtime operations.

## Not for
- Users without access to an SAP BW system or without the required APIs enabled.
- Users needing general ABAP repository development, debugging, ATC, or arbitrary table reads; the README recommends pairing this server with an ADT MCP server.
- Users seeking a simulated environment that cannot change a live system.

## Required permissions
- Connection credentials or session cookies for systems such as BW Bridge; local stdio configuration requires BW_URL and BW_CLIENT, plus BW_USER/BW_PASSWORD or BW_COOKIE_FILE.
- SAP BW applies authorizations for the supplied credentials; write operations make real changes.
- For central hosting, XSUAA role collections control which tools are offered; principal propagation can make BW apply the caller's own identity and authorizations.

## Risks
- Writes change real BW objects; a successful save does not guarantee successful activation.
- REST writes submit a complete object document, so stale document contents could overwrite newer values; the server says it reads fresh data for writes.
- Disabling TLS certificate verification weakens connection security; verification is enabled by default.
- SAP BW 7.5 coverage depends on a system enhancement and whether an object has a REST resource; some objects are metadata-readable only.
- BW Bridge cookies expire and must be refreshed, followed by a server restart.

## Client config (JSON)
```json
{"mcpServers":{"bw-modeling-mcp":{"command":"node","args":["/path/to/bw-modeling-mcp/dist/stdio.js"],"env":{"BW_URL":"https://your-bw-host:50001","BW_USER":"YOUR_USER","BW_PASSWORD":"YOUR_PASSWORD","BW_CLIENT":"001","BW_LANGUAGE":"EN"}}}}
```
