Context7
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Fast MCP server for unified SAP docs search (SAPUI5, CAP, OpenUI5, wdi5) with BM25 full-text search
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"sap-docs": {
"command": "npx",
"args": [
"-y",
"mcp-sap-docs"
]
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add sap-docs -- npx -y mcp-sap-docsวางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"sap-docs": {
"command": "npx",
"args": [
"-y",
"mcp-sap-docs"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"sap-docs": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-sap-docs"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub marianfoo ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.3.9) เข้า registry 14 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี Context7, Codebase Memory, Exa
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
An MCP server that gives AI assistants (Claude, Cursor, ChatGPT, etc.) access to SAP documentation through a unified search and fetch interface. It combines local full-text search and optional semantic ranking over git-cloned SAP docs with optional live queries to SAP Help, SAP Community, and Software Heroes — all exposed as MCP tools.
[][werkbank-install]
Or add it to any MCP client that supports streamable HTTP:
{
"mcpServers": { "sap-docs": { "type": "http", "url": "https://mcp-sap-docs.marianzeis.de/mcp" } } }
No API key or login required — the server is public and read-only.
Ready to use — no setup required
| Variant | URL |
|---------|-----|
| SAP Docs |
http://mcp-sap-docs.marianzeis.de/mcp|
| ABAP |
https://mcp-abap.marianzeis.de/mcp|
mcp-sap-docs is the upstream repository for two MCP server variants that share one codebase and differ by configuration (MCP_VARIANT / .mcp-variant):
| Variant | Scope | Extra tools |
|---|---|---|
sap-docs | Broad SAP docs: UI5, CAP, Cloud SDK, ABAP, BTP, AI, Terraform | Discovery Center tools |
abap | ABAP-focused: ABAP keyword docs, RAP, cheat sheets, style guides | abap_lint |
| Source | Description |
|---|---|
abap-docs-standard | Official ABAP Keyword Documentation — on-premise / full syntax |
abap-docs-cloud | Official ABAP Keyword Documentation — ABAP Cloud / BTP (restricted syntax) |
abap-cheat-sheets | Practical ABAP/RAP code snippets and examples |
abap-fiori-showcase | Annotation-driven RAP + OData V4 + Fiori Elements feature showcase |
abap-platform-rap-opensap | openSAP "Building Apps with RAP" course samples |
cloud-abap-rap | ABAP Cloud + RAP example projects |
abap-platform-reuse-services | RAP reuse services examples (number ranges, mail, Adobe Forms, …) |
sap-styleguides | SAP Clean ABAP Style Guide and best practices |
dsag-abap-leitfaden | DSAG ABAP Leitfaden (German) development guidelines |
btp-cloud-platform | SAP BTP concepts, development, security, administration |
sap-artificial-intelligence | SAP AI Core and SAP AI Launchpad documentation |
ui5 | SAPUI5 / OpenUI5 framework documentation |
cap | SAP Cloud Application Programming Model (CAP) documentation |
cloud-sdk | SAP Cloud SDK documentation |
terraform-provider-btp | SAP Terraform Provider for BTP — resources and data sources |
architecture-center | SAP Architecture Center reference architectures and guidance |
wdi5 | wdi5 (WebdriverIO + UI5) testing framework documentation |
The sap-docs profile also indexes the following official documentation. These sources use the existing Markdown/MDX pipeline and link to their upstream files.
| Source IDs | Coverage |
|---|---|
btp-connectivity | Destinations, Cloud Connector, principal propagation, HTTP/RFC |
cloud-sdk-python, cloud-sdk-ai-python | Python BTP and AI SDK documentation and examples |
odata-vocabularies | OData annotation terms and types; experimental labels are retained |
btp-job-scheduling-service, btp-cloud-logging | Application jobs and observability |
btp-cloud-identity-services, btp-cloud-identity-integration | Identity Authentication, Identity Provisioning, and system integration |
btp-integration-suite, btp-event-mesh | Consolidated Integrations and APIs guide, plus Event Mesh |
btp-business-application-studio | Dev spaces, development, and troubleshooting |
btp-continuous-integration-and-delivery, btp-cloud-transport-management | Managed pipelines and cloud transports |
Integration Suite indexes docs/ISuite_Integrations_APIs and docs/ISuite_Event_Mesh. Parallel Cloud Integration/API Management guide copies are excluded to avoid repeated content and mixed navigation terminology. Python SDK sources include current docs-python content; historical version folders are excluded.
SAP-docs repositories carry CC-BY-4.0 notices; SAP Cloud SDK, AI SDK, and OData vocabularies carry Apache-2.0 notices. The source checkouts retain their upstream license files, and search/fetch results link to the original documents. See source expansion plan for validation and scope.
| Source | Description |
|---|---|
| SAP Help Portal | Official SAP product documentation (broad scope) |
| SAP Community | Community blogs, Q&A, and troubleshooting posts |
| Software Heroes | ABAP/RAP articles and tutorials (EN + DE, deduplicated) |
| Tool | Description |
|---|---|
search | Unified search (BM25 with optional semantic ranking) across offline docs and optional online sources. Supports query, k, includeOnline, includeSamples, abapFlavor, sources parameters. |
fetch | Retrieve full document content by ID returned from search. |
abap_feature_matrix | Check ABAP feature availability across SAP releases (7.40–LATEST) using the Software Heroes feature matrix. |
sap_community_search | Dedicated SAP Community search via the Khoros LiQL API — returns full content of top posts. Use when search results are insufficient for specific errors or workarounds. |
sap_search_objects | Search SAP released objects (classes, interfaces, tables, CDS views, …) by name/component/type from the official SAP/abap-atc-cr-cv-s4hc release state repo. Useful for clean core compliance discovery. |
sap_get_object_details | Full release state details for a specific SAP object including clean core level (A/B/C/D), successor objects, and optional compliance verdict. |
sap-docs variant only| Tool | Description |
|---|---|
sap_discovery_center_search | Search the SAP Discovery Center service catalog for BTP services by keyword, category, or license model. |
sap_discovery_center_service | Get comprehensive BTP service details: pricing plans, product roadmap, documentation links, and key features. Accepts a service UUID or name. |
ui5_version_diff | List all matching FEATURE / FIX / DEPRECATED changes and SAPUI5 What's New entries for a version or range from a local all-changes bundle (dist/data/ui5-lib-diff/all-changes.json). npm run setup refreshes it automatically; use npm run download:ui5-lib-diff during setup/rebuild for a manual refresh. Pair with the ui5-version-upgrade skill and @ui5/mcp-server for a full upgrade workflow. |
abap variant only| Tool | Description |
|---|---|
abap_lint | Run static code analysis on ABAP source code using abaplint. Auto-detects file type from code patterns. Returns findings with line numbers, severity, and rule keys. |
mcp-sap-docsabap-mcp-serverXenova/all-MiniLM-L6-v2 (~90 MB, cached in dist/models/)Resolution order:
MCP_VARIANT environment variable.mcp-variant file in repo rootsap-docsExamples:
# Run as full sap-docs profile
MCP_VARIANT=sap-docs npm run setup MCP_VARIANT=sap-docs npm run build MCP_VARIANT=sap-docs npm run start:streamable
MCP_VARIANT=abap npm run setup MCP_VARIANT=abap npm run build MCP_VARIANT=abap npm run start:streamable
search performs fused retrieval over:
includeOnline=true):Ranking and filtering highlights:
includeSamples can remove sample-heavy sourcesabapFlavor (standard / cloud / auto) filters official ABAP docs libraries while keeping non-ABAP sourcessources can restrict offline libraries explicitlyCommunity post bodies are returned as Markdown, including code, links, images and tables. Clients that previously parsed raw Community HTML must consume Markdown. Document IDs, source URLs and response schemas are unchanged. If conversion fails, that post keeps its original HTML with a notice; other posts in the same batch are still returned.
SAP Help and Community fetches default to 75,000 characters. Shortened results include metadata.truncation with exact loss counts. Self-hosted servers can set MAX_CONTENT_LENGTH before startup; see content size limits.
Each outbound SAP Help or Community HTTP request has a 10-second timeout, including reading its response body. Self-hosted servers can set SAP_HELP_TIMEOUT_MS and SAP_COMMUNITY_TIMEOUT_MS before startup. Values must be whole milliseconds from 1 to 2,147,483,647; invalid values use the default. A tool call that retrieves a document in several requests can take longer than one request timeout.
Offline search defaults to BM25 keyword ranking. Optional semantic ranking uses Xenova/all-MiniLM-L6-v2 to reorder the lexical candidates; it does not search outside that candidate pool. Enable it explicitly with EMBEDDING_WEIGHT=0.7 after building complete document and section embeddings and evaluating your own queries.
Embeddings are stored in docs.sqlite, with the model cached in dist/models/. Old or partial embedding artifacts fall back to lexical ranking with a rebuild warning. See docs/HYBRID-SEARCH.md for setup, limitations and costs.
search includes online sources by default. To run offline-only, use:
npm run setup + npm run build)includeOnline=false in each search requestExample search request body:
{
"query": "RAP draft", "k": 8, "includeOnline": false }
Run the container with host binding and call search with includeOnline=false:
docker run --rm -p 3122:3122 \
-e MCP_VARIANT=sap-docs \ -e MCP_PORT=3122 \ -e MCP_HOST=0.0.0.0 \ mcp-sap-docs
For strict air-gapped execution, disable container networking:
docker run --rm --network none -p 3122:3122 \
-e MCP_VARIANT=sap-docs \ -e MCP_PORT=3122 \ -e MCP_HOST=0.0.0.0 \ mcp-sap-docs
Notes:
--network none, online fetches are impossible by runtime isolation.search usage.npm ci
npm run setup npm run build
npm run setup updates the selected variant's documentation sources to their configured branch tips and builds the index, including embeddings. Nested submodules stay at the commits recorded by those sources. To omit optional nested repositories (for example when their upstream URLs require SSH credentials), use SKIP_NESTED_SUBMODULES=1 npm run setup in Bash, including Git Bash on Windows.
npm run setup:submodules instead checks out the repository's recorded source commits. It does not fetch the latest documentation or apply variant filtering. Run npm run setup when refreshing an existing installation.
Start server modes:
# MCP stdio
npm start
ตัดมาแค่ช่วงต้น อ่านต่อใน repo