
SAP Documentation MCP Server
Provides offline access to SAP documentation and real-time SAP Community content, integrating official documentation with community-driven solutions for comprehensive developer support.
Tools
sap_docs_search
Search across SAP documentation and UI5 control APIs. Searches through SAPUI5 documentation, CAP documentation, and OpenUI5 control APIs. Use this to find specific controls (like Button, Table, Wizard), concepts (like annotations, routing, authentication), or any SAP development topic. Returns a ranked list of matching documentation and controls with their IDs for use in sap_docs_get.
sap_community_search
Search the SAP Community for blog posts, discussions, and solutions related to SAPUI5 and CAP development. Returns real-time results from the SAP Community with links to the original content and IDs for retrieving full posts. This tool searches across high-quality community content (posts with kudos > 5) to find practical, real-world solutions and best practices from SAP developers.
sap_docs_get
Retrieve specific SAP documentation, UI5 control API details, or SAP Community posts. Use the IDs returned from sap_docs_search or sap_community_search to get full content. Works with library IDs, document IDs, and community post IDs (e.g., 'community-12345').
README
SAP Documentation MCP Server
A comprehensive Model Context Protocol (MCP) server providing offline access to SAP documentation AND real-time SAP Community content. This server integrates official documentation with community-driven solutions, giving developers access to both authoritative documentation and practical, real-world insights from the SAP Community.
Features
- 🔍 Dual Search System:
sap_docs_search
: Search official SAP documentation, APIs, sample code, and wdi5 docssap_community_search
: Search real-time SAP Community content
- 📚 Comprehensive Coverage: 1,485+ SAPUI5 files, 195+ CAP files, 500+ OpenUI5 APIs, 2,000+ sample files, wdi5 E2E test framework docs, PLUS real-time community content
- 🌐 SAP Community Integration: Dedicated tool for searching high-quality community blog posts, solutions, and discussions
- 💡 Smart Formatting: Automatic code highlighting, sample categorization, and content formatting
- 🔄 Live Content: Community posts are fetched in real-time with engagement filtering (kudos > 5)
- 🎯 Source-Specific Results: Choose between official documentation or community experiences based on your needs
What's Included
Official Documentation
- SAPUI5 Documentation: Complete developer guide with 1,485+ files
- CAP Documentation: Cloud Application Programming model with 195+ files
- OpenUI5 API Documentation: 500+ control APIs with detailed JSDoc
- OpenUI5 Sample Code: 2,000+ working examples from
demokit/sample
directories - wdi5 Documentation: End-to-end test framework docs from wdi5 (
/wdi5
)
Community Content
- Blog Posts: Technical tutorials and deep-dives from SAP Community
- Solutions: Real-world answers to common development problems
- Best Practices: Community-tested approaches and patterns
- Code Examples: Practical implementations shared by developers
- High-Quality Filter: Only posts with kudos > 5 for quality assurance
Setup
-
Clone and install dependencies:
git clone <repository-url> cd sap-docs-mcp npm install
-
Download and prepare documentation sources:
chmod +x setup.sh ./setup.sh
-
Build the search index:
npm run build-index
-
Build the server:
npm run build
Configuration
Add to your Cursor settings.json
:
{
"mcpServers": {
"sap-docs": {
"command": "node",
"args": ["/path/to/sap-docs-mcp/dist/index.js"]
}
}
}
Available Libraries
/sapui5
- SAPUI5 Developer Documentation (1,485 files)/cap
- CAP Documentation (195 files)/openui5-api
- OpenUI5 Control APIs (500+ controls)/openui5-samples
- OpenUI5 Sample Code (2,000+ examples)/wdi5
- wdi5 End-to-End Test Framework Documentation/community
- SAP Community Posts (real-time)
Usage Examples
Search Official Documentation
Use sap_docs_search with: "wdi5 configuration"
Returns: wdi5 documentation about configuration, setup, and usage.
Get wdi5 Documentation
Use sap_docs_get with: /wdi5
Returns: wdi5 documentation overview
Search for wdi5 Topics
Use sap_docs_search with: "wdi5 cli"
Returns: wdi5 CLI documentation and related guides
Search SAP Community
Use sap_community_search with: "wdi5 best practices"
Returns: Recent community posts, blog articles, and discussions about wdi5 best practices.
Get Specific Documentation
Use sap_docs_get with: /sapui5
Returns: SAPUI5 documentation overview
Get Community Insights
Use sap_docs_get with: community-12345
Returns: Full content of a specific community post with metadata
Find Sample Implementations
Use sap_docs_search with: "button click handler"
Returns:
- Official button documentation
- Sample button implementations with JS controllers
- XML view examples
Test Cases
1. Official Documentation Search
Tool: sap_docs_search
Query: "wdi5"
Expected Results:
- wdi5 documentation overview
- wdi5 guides and API references
- wdi5 usage and configuration examples
2. Community Content Search
Tool: sap_community_search
Query: "wdi5"
Expected Results:
- Community blog posts about wdi5
- Real developer solutions and code examples
- Discussion threads about wdi5 best practices
3. Sample Code Discovery
Tool: sap_docs_search
Query: "data binding"
Expected Results:
- Official data binding documentation
- Working sample code with models and binding
- Practical examples from sample implementations
4. Community Best Practices
Tool: sap_community_search
Query: "authentication best practices"
Expected Results:
- Community blog posts about auth implementation
- Real developer solutions and code examples
- Discussion threads about common auth issues
Project Statistics
- Total Files: 4,180+ documentation files + real-time community content
- SAPUI5 Docs: 1,485 markdown files
- CAP Docs: 195 markdown files
- OpenUI5 APIs: 500+ JavaScript control definitions
- Sample Code: 2,000+ implementation examples
- Community Posts: Real-time access to filtered, high-quality content
- Total Search Index: Dynamic, combining offline docs with live community data
Community Integration Details
The SAP Community integration uses the official SAP Community API to fetch:
- Blog posts from SAPUI5 and CAP product areas
- High-engagement content (posts with kudos > 5)
- Recent discussions ordered by post time
- Full post content including code examples and solutions
Community content is fetched in real-time, ensuring you always get the latest insights and solutions from the SAP developer community.
Architecture
This MCP server uses Resources instead of Tools, allowing Cursor to:
- Browse available documentation libraries
- Search across all content types simultaneously
- Access specific documents and community posts
- Get real-time community insights alongside official docs
- Retrieve sample code with proper formatting and context
The server intelligently combines offline documentation with live community content, providing a comprehensive knowledge base for SAP development.
Development
- Build:
npm run build
- Build Index:
npm run build-index
- Type Check:
npm run type-check
The build process creates optimized search indices for fast offline access while maintaining real-time connectivity to the SAP Community API for the latest community content.
This MCP server bridges the gap between official SAP documentation, wdi5 E2E test framework docs, and real-world developer knowledge, providing comprehensive support for SAP development with both authoritative sources and community wisdom.
推荐服务器

Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。