sap-note-search-mcp
v0.3.11MCP server for searching SAP Notes/KB articles using SAP Passport authentication and Playwright automation
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search Search SAP Notes
Search the SAP Knowledge Base for SAP Notes — official articles documenting bugs, fixes, patches, corrections, security vulnerabilities, and known issues. USE WHEN the user mentions errors, bugs, fixes, patches, dumps, unexpected behavior, or references a specific SAP Note number. DO NOT USE for "how to configure/set up" questions (use sap_help_search), tutorials, or general "what is" questions. WORKFLOW: 1. search(q="OData 415 error CAP") → ranked results 2. fetch(id="2744792") → full content with solution 3. Synthesize answer QUERY TIPS — be specific: Good: "error 415 CAP actio…
| Parameter | Type | Description |
|---|---|---|
q * | string | Search query for SAP Notes. Use specific SAP terminology: error codes, transaction codes, component names, or concise issue descriptions (2-6 words). Examples: • "OData gateway error 415" • "MM02… |
lang | string | Language for results. EN (default, broadest coverage) or DE (German). |
fetch Fetch SAP Note
Fetch the complete content and metadata of a specific SAP Note by its ID. Returns the full note text (Symptom, Solution, Affected Releases), plus enriched metadata: validity ranges, support packages, references, prerequisites, side effects, correction instruction summaries, and attachments. Set includeCorrections=true to also retrieve detailed correction instructions via an additional OData call — this lists every affected ABAP object (TADIR entries) and per-correction prerequisites. Adds a few seconds; use when the user asks about SNOTE corrections, patching, or which objects are changed.…
| Parameter | Type | Description |
|---|---|---|
id * | string | SAP Note ID (digits, e.g. "2744792"). Extract from user text if needed ("Note 2744792" → "2744792"). |
includeCorrections | boolean | When true, fetches detailed correction instructions via an additional OData call (software components, ABAP objects modified, prerequisites per correction). This adds a few seconds. Use when the user… |
lang | string | Language for content. EN (default) or DE. |
support_package_notes SAP Support Package content
List everything delivered with an SAP Support Package, as shown in SAP for Me → Software Downloads → package details ("SAP-Hinweise", "Lösungen für Nebeneffekte", "Paketbedingungen", "Objektliste"). Use when the user asks which SAP Notes / corrections are contained in a Support Package (SP), what an SP changes for a component, which side effects are known, or which SPs must be imported first. Input: the package name as shown in the download center, e.g. "SAPKE608G4" (SAP_HR 608 SP 164), "SAPK-60899INSAPHRCDE", "SAPKB75031" — or the numeric download object key. Tip: use 'component' to…
| Parameter | Type | Description |
|---|---|---|
package * | string | Support package name (e.g. "SAPKE608G4") or numeric download object key. |
component | string | Optional application component prefix to filter notes, e.g. "PY-DE", "PA-PA", "BC-BMT-OM". |
include | array | Sections to load. notes = delivered SAP Notes (default); sideEffects = side-effect solutions; conditions = import prerequisites; objects = object list (can be long). |
lang | string | Language for priority/category/component texts. |
maxNotes | integer | Maximum matching notes to return (default 100). Component searches scan up to 5000 notes. |
maxObjects | integer | Upper bound for object list entries when "objects" is included. |
fetch_attachment Download SAP Note Attachment
Download a file attached to an SAP Note and save it to the local filesystem (stdio only). USE AFTER fetch() returns an "attachments" array — pass one of those URLs verbatim. Attachments are the screenshots, PDFs, spreadsheets and archives referenced by a Note's text; the Note body often points at them with placeholders such as [image.png]. Returns the saved path, content type, byte size and SHA-256. Only SAP document hosts are accepted, including redirects. Existing files are never overwritten. Downloads are limited to 100 MiB and 60 seconds. NOTE: an unauthenticated or expired session re…
| Parameter | Type | Description |
|---|---|---|
url * | string | Attachment URL exactly as returned in the "attachments" array of fetch(). Must be an SAP document host (e.g. https://documents.support.sap.com/customerkba/...). Do not construct or guess these URLs   |
filename | string | Filename to save as. Defaults to the server's Content-Disposition filename, then the URL basename. Directory components are removed. Existing files are never overwritten. |
outputDir | string | Local directory to write the file into. It must already exist. By default, creates a private directory under the OS temp directory. Existing files are never overwritten. |