
Btp Sap Odata To Mcp Server Optimized
io.github.Raistlin82由 GitHub 帳號 Raistlin82 發布v1.0.1更新於 Oct 24, 2026
Enterprise SAP OData to MCP Server with AI capabilities and Cloud Foundry integration
概覽
將 SAP OData 服務接入 AI 助理,讓它能探索服務、把自然語言請求轉成 OData 查詢,並產生 SAP Fiori 風格的介面元件。
- 可以做什麼
- 依模式、業務領域或白名單探索並篩選 SAP OData 服務,預設排除測試與偵錯服務。透過智慧查詢路由把自然語言請求轉換為 OData 查詢。執行分層工具,自動串接與編排 SAP 工作流程。產生 Fiori 表單、資料表格、KPI 儀表板、工作流程建構器與分析報表等互動式介面元件。監控 KPI 與趨勢,並提供健康檢查與效能指標。
- 適用情境
- 適合需要讓助理操作 SAP BTP 與 S/4HANA OData 服務的情境,尤其是以自然語言查詢業務資料,或組合 SAP 風格表單、表格與儀表板。適用於已運行 SAP BTP 並具備 Cloud Foundry、XSUAA、Identity、Connectivity 與 Destination 服務的團隊。
- 執行需求
- 以 npm 套件形式在本機透過 stdio 執行,需要 Node.js 18 或更新版本。需要存取 SAP BTP Cloud Foundry 環境,並具備 XSUAA、Identity、Connectivity 與 Destination 服務。必要的環境變數為 SAP_DESTINATION_NAME、SAP_IAS_URL、SAP_IAS_CLIENT_ID 與 SAP_IAS_CLIENT_SECRET;選用變數包括 ODATA_DISCOVERY_MODE、包含/排除模式、PORT 與 NODE_ENV。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Btp Sap Odata To Mcp Server Optimized,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
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
🎯 Simplified OData Discovery
- Pattern-Based Filtering: Simple include/exclude patterns for service discovery
- Business Domain Mode: Pre-configured domains (sales, finance, HR, etc.)
- Whitelist Mode: Explicit service control for production environments
- Smart Defaults: Automatic exclusion of test/debug services
🧠 AI-Powered Capabilities
- Smart Query Router: Natural language to OData conversion
- Hierarchical Tool Architecture: 17+ tools organized in logical layers
- Intelligent Workflow Orchestration: Automatic tool chaining and optimization
- Real-time Analytics: KPI monitoring and trend analysis
🎨 Interactive UI Tools Suite
ui-form-generator: Dynamic SAP Fiori forms with validationui-data-grid: Interactive tables with sorting and filteringui-dashboard-composer: Real-time KPI dashboardsui-workflow-builder: Visual workflow creationui-report-builder: Analytical reports with drill-down
☁️ Cloud-Native Features
- Cloud Foundry Optimized: Native integration with CF services
- Structured Logging: SAP Cloud Logging with fallback support
- Health Monitoring: Comprehensive health check endpoints
- Performance Metrics: Built-in performance tracking
- Graceful Shutdown: Proper resource cleanup
🚀 Quick Start
Prerequisites
- Access to an SAP BTP, Cloud Foundry environment.
- Required BTP services: XSUAA, Identity, Connectivity, Destination.
- Node.js >= 18.
1. Installation
2. Configuration
Configure the application using environment variables. See the Configuration Guide for detailed documentation.
Quick Configuration Example
3. Build and Deploy
📚 Documentation
Complete documentation is available with structured navigation for all aspects of the project.
🏠 Documentation Hub
Main navigation center with use-case-based guidance and complete file index.
🚀 Quick Links
📖 Navigation Flow
來源:README.md,提交 46fcae0
工具
0版本歷史
1- v1.0.1最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分