mcp-bw-modelling-api
MCP 서버 - SAP BW 모델링 API
SAP BW4/HANA 모델링 객체를 FastMCP를 통해 도구로 노출하는 MCP(Model Context Protocol) 서버입니다. AI 어시스턴트가 BW 시스템의 메타데이터(InfoArea, InfoObject, ADSO, CompositeProvider, Query 등)를 탐색하고 조회할 수 있게 해줍니다.
사전 요구 사항
Python 3.10 이상
BW 모델링 API(
/sap/bw/modeling/)가 활성화된 SAP BW4/HANA 시스템에 대한 접근 권한모델링 API에 대한 적절한 권한이 있는 SAP 사용자
Related MCP server: SAP Datasphere MCP Server
설치
pip install -r requirements.txt구성
서버는 환경 변수를 통해 구성됩니다:
변수 | 필수 | 설명 | 기본값 |
| 예 | BW 시스템의 기본 URL (예: | — |
| 예 | SAP 사용자 이름 | — |
| 예 | SAP 비밀번호 | — |
| 아니요 | SAP 클라이언트 번호 |
|
| 아니요 | SSL 인증서 검증 여부 ( |
|
서버 실행
독립 실행 (stdio 전송)
python server.pyFastMCP CLI 사용
fastmcp run server.py:mcpHTTP 전송
fastmcp run server.py:mcp --transport http --port 8000MCP 클라이언트 구성
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"
}
}
}
}사용 가능한 도구
도구 | 설명 |
| BW 시스템에 대한 연결 테스트 |
| 이름/유형으로 모든 BW 객체 검색 |
| 모든 InfoArea(조직 폴더) 나열 |
| InfoObject(특성, 키 수치) 나열 |
| 고급 DataStore 객체 나열 |
| CompositeProvider(HCPR) 나열 |
| BEx/BW 쿼리 나열 |
| 모든 BW 객체의 전체 메타데이터 가져오기 |
| InfoObject 속성 가져오기 |
| ADSO의 필드 목록 가져오기 |
| CompositeProvider의 데이터 소스 가져오기 |
| InfoArea의 모든 객체 나열 |
지원되는 객체 유형
코드 | 객체 유형 |
| InfoArea |
| InfoObject |
| DataStore 객체(고급) |
| CompositeProvider |
| 쿼리 |
| 변환 |
| 데이터 전송 프로세스 |
| MultiProvider |
| DataStore 객체(클래식) |
Available Tools
15 toolscheck_connectionA
Test the connection to the BW system.
Returns: Connection status with system info or error details.
Inputs: no named parameters. Returns: object
get_adso_fieldsB
Get the field list (InfoObjects) of an Advanced DataStore Object.
Inputs: object_name (required). Returns: result
get_composite_provider_partsB
Get the part providers (data sources) of a CompositeProvider.
Inputs: object_name (required). Returns: result
get_infoarea_contentsC
List all objects within a specific InfoArea.
Inputs: info_area (required), max_results. Returns: result
get_infoobject_detailsC
Get detailed properties of an InfoObject (characteristic or key figure).
Inputs: infoobject_name (required). Returns: object
get_object_detailsB
Get detailed metadata for a specific BW object.
Inputs: object_name (required), object_type (required). Returns: object
get_query_filtersA
Read the filter restrictions defined on a BW Query.
Retrieves the query model from the BW Modeling API and extracts the global query filter: for each restricted characteristic it returns the fixed value ranges and/or the variable references that restrict it.
Each filter is labelled with its BEx filter type (from usageType):
"Fixed Filter" (asFilter): a hard restriction the user cannot change at runtime (e.g. 0FISCVARNT = V5).
"Default Value" (asStartValue): a pre-filled default the user can override at runtime (e.g. 0CUST_GROUP = 05, 13, ...).
"Fixed Filter + Default Value" (asStartValueAndFilter): used as both.
Inputs: query_name (required), object_version. Returns: object
get_query_structureC
List the characteristics and key figures used in a BW Query.
Inputs: query_name (required), object_version. Returns: object
get_transformation_detailsB
Get detailed metadata for a transformation including source, target, and rule information.
Inputs: transformation_id (required). Returns: object
list_adsosC
List Advanced DataStore Objects (ADSOs) in the BW system.
ADSOs are the primary data storage objects in BW4/HANA.
Inputs: info_area, max_results, search_term. Returns: result
list_composite_providersA
List CompositeProviders (HCPRs) in the BW system.
CompositeProviders combine multiple data sources (ADSOs, InfoObjects, Open ODS Views) for reporting via union or join.
Inputs: info_area, max_results, search_term. Returns: result
list_infoareasA
List all InfoAreas in the BW system.
InfoAreas are organizational folders used to group BW objects.
Inputs: max_results. Returns: result
list_infoobjectsB
List InfoObjects in the BW system.
InfoObjects are the smallest units of information in BW (characteristics, key figures, time characteristics, units).
Inputs: info_area, max_results, search_term. Returns: result
list_queriesC
List BEx/BW Queries in the system.
Queries are reporting definitions built on top of CompositeProviders or ADSOs.
Inputs: info_area, max_results, search_term, info_provider. Returns: result
search_bw_objectsC
Search for BW modeling objects by name or description.
Inputs: max_results, object_type, search_term. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 15 tools
Tools are mostly distinct by object type (list_* for different resources), but some overlap exists: get_object_details is generic and could conflict with get_infoobject_details, and get_infoarea_contents overlaps with list_* for hierarchical access. Descriptions clarify usage, but a few boundaries are fuzzy.
All tools follow a consistent verb_noun pattern using snake_case (search_, list_, get_, check_). The pattern is uniform across the entire set, with predictable verb choices and plural nouns for list operations.
15 tools is well-scoped for a BW modeling API. Each tool serves a distinct functional need (listing, details, specific operations), and the count feels neither sparse nor overwhelming for the domain.
The API covers read-only exploration of major BW objects (InfoAreas, InfoObjects, ADSOs, CompositeProviders, Queries), but lacks listing for transformations (only get_transformation_details) and no list for Open ODS Views. There are no write operations, which may be intentional, but the missing listing for some object types creates notable gaps.
Maintenance
Related MCP Connectors
List datasets, schemas, run APL queries, and use prompts for exploration, anomalies, and monitoring.
Connects Claude, ChatGPT and other AI agents to a SIGNLD workspace. SIGNLD reads your business systems (QuickBooks, HubSpot, Salesforce, Shopify and 800+ more) through read-only connections and keeps a Knowledge Graph of how the business fits together. The agent can list data connections and table schemas, run read-only SQL, read the Knowledge Graph, entities, metrics and topics, save definitions and topics in the workspace, and build charts and dashboards. Nothing is ever written back to your source systems. Every answer traces to the source row. Private LLM powered by AWS Bedrock; we never train on customer data.
Governed BI MCP. Ask questions of live company data and list workspace sources via OAuth.
Governed data discovery, exact queries, decisions, simulations, and runtime utilities over MCP.
Related MCP Servers
- AlicenseAqualityAmaintenanceEnables 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.23512 npm92MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with SAP Datasphere for data exploration, querying, and administration via 49 tools.1-
- AlicenseAqualityCmaintenanceEnables language models to model SAP BW/4HANA through the BW Modeling Tools REST interface, with intent-based tools for searching, reading, writing, activating, querying data, monitoring, runtime actions, and transports. It uses compact schemas and safe-by-default permissions to complete changes in few calls.61MIT
- AlicenseAqualityBmaintenanceEnables AI assistants to discover, understand, and query SAP S/4HANA OData services from plain-English requests. It provides curated service listing, metadata descriptions, and read-only OData queries against SAP’s public sandbox.3MIT