This MCP server provides unified access to official SAP documentation through efficient BM25 full-text search. You can use it remotely via the hosted server or run it locally with STDIO or HTTP options.
Point your MCP client to the SSE URL:
https://mcp-sap-docs.marianzeis.de/sse
Or use the Streamable HTTP URL:
https://mcp-sap-docs.marianzeis.de/mcp
Verify the connection from a shell:
# Should return JSON with api_last_activity
curl -sS https://mcp-sap-docs.marianzeis.de/status | jq .
# Should return an SSE line like: "event: endpoint" with a /messages path
curl -i -H 'Accept: text/event-stream' https://mcp-sap-docs.marianzeis.de/sse | head
# From repo root
npm ci
./setup.sh # execute this script to clone the github documentation submodules
npm run build
# Start the MCP server (STDIO)
node dist/src/server.js
# OR start the Streamable HTTP server
npm run start:streamable
Verify local health:
# MCP proxy (SSE gateway)
curl -sS http://127.0.0.1:18080/status | jq .
# HTTP server
curl -sS http://127.0.0.1:3001/status | jq .
# Streamable HTTP server
curl -sS http://127.0.0.1:3122/health | jq .
Remote (Recommended)
https://mcp-sap-docs.marianzeis.de/sse
Local (STDIO) Point Claude to the command and args:
command: node
args: ["<absolute-path-to-your-repo>/dist/src/server.js"]
Local (Streamable HTTP)
npm run start:streamable
http://127.0.0.1:3122/mcp
Remote (SSE URL)
Create or edit ~/.cursor/mcp.json
:
{
"mcpServers": {
"sap-docs-remote": {
"url": "https://mcp-sap-docs.marianzeis.de/sse"
}
}
}
Local (STDIO)
~/.cursor/mcp.json
:
{
"mcpServers": {
"sap-docs": {
"command": "node",
"args": ["/absolute/path/to/dist/src/server.js"]
}
}
}
Remote (Recommended)
Create .vscode/mcp.json
in your workspace:
{
"servers": {
"sap-docs": {
"type": "http",
"url": "https://mcp-sap-docs.marianzeis.de/mcp"
}
}
}
Alternative (SSE): Use "type": "sse"
with "url": "https://mcp-sap-docs.marianzeis.de/sse"
if HTTP doesn't work.
Local STDIO Server
{
"servers": {
"sap-docs-local": {
"type": "stdio",
"command": "node",
"args": ["<absolute-path>/dist/src/server.js"]
}
}
}
Local HTTP Server
{
"servers": {
"sap-docs-http": {
"type": "http",
"url": "http://127.0.0.1:3122/mcp"
}
}
}
(Start local server with npm run start:streamable
first)
Remote (SSE URL) Open Raycast → Open Command "Manage Servers (MCP) → Import following JSON:
{
"mcpServers": {
"sap-docs": {
"command": "npx",
"args": ["mcp-remote@latest", "https://mcp-sap-docs.marianzeis.de/sse"]
}
}
}
Local (STDIO) Open Raycast → Open Command "Manage Servers (MCP) → Import following JSON:
{
"mcpServers": {
"sap-docs": {
"command": "node",
"args": ["/absolute/path/to/dist/src/server.js"]
}
}
}
Use sap_docs_search with: "wdi5 configuration"
Use sap_docs_get with: /wdi5
Use sap_community_search with: "wdi5 best practices"
Use sap_help_search with: "S/4HANA Fiori configuration"
Use sap_help_get with: sap-help-12345abc
Official Documentation:
Community Knowledge:
SAP Help Portal:
https://mcp-sap-docs.marianzeis.de/sse
curl -i -H 'Accept: text/event-stream' https://mcp-sap-docs.marianzeis.de/sse | head
node dist/src/server.js
curl -fsS http://127.0.0.1:3001/status | jq .
curl -fsS http://127.0.0.1:18080/status | jq .
To add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "sap-docs" '{"command":"node","args":["/path/to/sap-docs-mcp/dist/index.js"]}'
See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"sap-docs": {
"command": "node",
"args": [
"/path/to/sap-docs-mcp/dist/index.js"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"mcpServers": {
"sap-docs": {
"command": "node",
"args": [
"/path/to/sap-docs-mcp/dist/index.js"
]
}
}
}
3. Restart Claude Desktop for the changes to take effect