
Btp Sap Odata To Mcp Server Optimized
This bridges SAP OData services with Claude through a Cloud Foundry native MCP server that handles authentication via IAS, OAuth2, JWT, or Basic Auth with XSUAA integration. It exposes 17+ tools organized in layers: core OData operations like query and create, smart query routing that converts natural language to OData, and UI generation tools for Fiori forms, data grids, and dashboards. The pattern based discovery system lets you filter services by include/exclude rules or business domains like sales and finance. Reach for this when you need Claude to read from or write to SAP systems with proper principal propagation and role based access control, especially in enterprise BTP environments where you're already running on Cloud Foundry.
- GitHub stars
- 6
- tools
- 5
- auth
- Secret needed
- transport
- STDIO
- env vars
- 9
- last updated
- Sep 21, 2025
Tools
5 toolsPublic tool metadata for what this MCP can expose to an agent.
ui-form-generatorDynamic SAP Fiori forms with validation
Dynamic SAP Fiori forms with validation
No parameter schema in public metadata yet.
ui-data-gridInteractive tables with sorting and filtering
Interactive tables with sorting and filtering
No parameter schema in public metadata yet.
ui-dashboard-composerReal-time KPI dashboards
Real-time KPI dashboards
No parameter schema in public metadata yet.
ui-workflow-builderVisual workflow creation
Visual workflow creation
No parameter schema in public metadata yet.
ui-report-builderAnalytical reports with drill-down
Analytical reports with drill-down
No parameter schema in public metadata yet.
Sponsors
Configuration
SAP_IAS_URL*URL of the SAP Identity Authentication Service tenant
SAP_IAS_CLIENT_ID*Client ID for the OAuth application in IAS
SAP_IAS_CLIENT_SECRET*secretClient Secret for the OAuth application in IAS
SAP_DESTINATION_NAME*Name of the BTP destination used for service discovery
ODATA_DISCOVERY_MODEOData discovery mode: pattern, business, whitelist, or all
ODATA_INCLUDE_PATTERNSComma-separated patterns to include (pattern mode)
ODATA_EXCLUDE_PATTERNSComma-separated patterns to exclude (pattern mode)
PORTThe port on which the Express server will listen
NODE_ENVThe application's operating environment
Readme
SAP OData to AI-Powered MCP Server (Optimized)
This repository is an enterprise-ready MCP (Model Context Protocol) server that bridges SAP OData services with AI capabilities. Based on the original project btp-sap-odata-to-mcp-server by @lemaiwo, this optimized version features enhanced security, simplified configuration, modular authentication, and comprehensive Cloud Foundry integration.
✨ Key Features
🔐 Enhanced Security Architecture
- Modular Authentication System: Factory pattern supporting IAS, OAuth2, JWT, Basic Auth, and API Keys
- Secure Session Management: Thread-safe session bridging with proper locking mechanisms
- Role-Based Access Control: Granular permissions with XSUAA integration
- Principal Propagation: Maintains user context throughout the request lifecycle
- Security Best Practices: No sensitive data logging, secure error handling, JWT validation
Details
- Repository
- github.com/raistlin82/btp-sap-odata-to-mcp-server-optimized
- Package
btp-sap-odata-to-mcp-server- Transport
- STDIO
- Auth
- Required
- Registry
- MCP registry, active