home / mcp / sap note search mcp server
MCP Server to search and retrieve SAP Notes
Configuration
View docs{
"mcpServers": {
"marianfoo-mcp-sap-notes": {
"command": "node",
"args": [
"/full/path/to/mcp-sap-notes/dist/mcp-server.js"
],
"env": {
"PFX_PATH": "/path/to/certs/sap.pfx",
"ACCESS_TOKEN": "your_token_here",
"PFX_PASSPHRASE": "your_passphrase"
}
}
}
}This MCP Server lets you search and retrieve SAP Notes and Knowledge Base articles using SAP Passport certificate authentication and Playwright automation. It provides direct note content, secure access, and streamlined tool integration for Cursor AI workflows.
You connect an MCP client to the server to search SAP Notes by ID or keywords and to fetch full note content and metadata. Use the search function to locate relevant notes, then request the full content for detailed review. Authentication is handled via your SAP Passport setup, so you can rely on certificate-based access.
In practice, you will use your MCP client to perform two primary actions: search for notes by ID or keywords, and retrieve complete note content when you need the full details. The server handles the SAP login flow automatically, and returns structured results that you can pass to your AI workflows for summarization, translation, or analysis.
Prerequisites: ensure you have Node.js 18+ installed on your machine, a SAP Passport certificate (.pfx) for your S-User, and Cursor AI installed.
1) Clone the project repository and install dependencies
Security and access control are implemented with SAP Passport certificates and optional HTTP bearer token authentication. Tokens can be cached for performance, and all SAP API calls use HTTPS with certificate-based authentication. Make sure your certificate path and passphrase are correctly configured in the environment.
Environment variables you may set include PFX_PATH for the certificate location and PFX_PASSPHRASE for the certificate password. Optional HTTP_PORT, HEADFUL for debugging browser visibility, MAX_JWT_AGE_H for token cache lifetime, and LOG_LEVEL for logging verbosity.
If you encounter issues with the certificate, ensure the .pfx file is readable and the passphrase is correct. For browser-related problems, install necessary Playwright browsers and consider using HEADFUL mode for debugging.
This MCP server exposes two main capabilities: search SAP Notes by query or ID, and fetch full note content with metadata. You can rely on these endpoints to power AI workflows, including summarization, translation, and authoritative content retrieval.
The MCP server provides two primary tools for interacting with SAP Notes and Knowledge Base content: sap_note_search to locate notes and sap_note_get to retrieve complete note content and metadata.
Search SAP Notes and KB articles by note ID or keywords.
Retrieve full content and metadata for a specific SAP Note.