
SAP文档
STDIO提供SAP文档和社区内容访问的MCP服务器
提供SAP文档和社区内容访问的MCP服务器
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.
sap_docs_search
: Search official SAP documentation, APIs, sample code, and wdi5 docssap_community_search
: Search real-time SAP Community contentdemokit/sample
directories/wdi5
)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
Add to your Cursor settings.json
:
{ "mcpServers": { "sap-docs": { "command": "node", "args": ["/path/to/sap-docs-mcp/dist/index.js"] } } }
/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)Use sap_docs_search with: "wdi5 configuration"
Returns: wdi5 documentation about configuration, setup, and usage.
Use sap_docs_get with: /wdi5
Returns: wdi5 documentation overview
Use sap_docs_search with: "wdi5 cli"
Returns: wdi5 CLI documentation and related guides
Use sap_community_search with: "wdi5 best practices"
Returns: Recent community posts, blog articles, and discussions about wdi5 best practices.
Use sap_docs_get with: /sapui5
Returns: SAPUI5 documentation overview
Use sap_docs_get with: community-12345
Returns: Full content of a specific community post with metadata
Use sap_docs_search with: "button click handler"
Returns:
Tool: sap_docs_search
Query: "wdi5"
Expected Results:
Tool: sap_community_search
Query: "wdi5"
Expected Results:
Tool: sap_docs_search
Query: "data binding"
Expected Results:
Tool: sap_community_search
Query: "authentication best practices"
Expected Results:
The SAP Community integration uses the official SAP Community API to fetch:
Community content is fetched in real-time, ensuring you always get the latest insights and solutions from the SAP developer community.
This MCP server uses Resources instead of Tools, allowing Cursor to:
The server intelligently combines offline documentation with live community content, providing a comprehensive knowledge base for SAP development.
npm run build
npm run build-index
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.