home / mcp / sap documentation mcp server

SAP Documentation MCP Server

Provides unified access to official SAP documentation sources with fast full-text search and retrieval.

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "marianfoo-mcp-sap-docs": {
      "url": "https://mcp-sap-docs.marianzeis.de/mcp",
      "headers": {
        "MCP_PORT": "3122"
      }
    }
  }
}

You can access SAP development documentation from a fast MCP server that unifies sources like SAPUI5, CAP, OpenUI5, and SAP Community content. It provides fast full‑text search, snippet retrieval, and a streamlined way to query both remote and local documentation sources from your MCP client.

How to use

Connect to the MCP server from your MCP client using any of the prepared endpoints. You can use the public remote endpoint for ongoing access, or run a local instance to host and search your own copy of the documentation.

How to install

Prerequisites: Node.js and npm should be installed on your machine. You also need git if you plan to clone repositories.

# From your preferred workspace
node -v
npm -v
```

# Local setup steps
```
npm ci
./setup.sh
npm run build
```

# Start the local MCP server (STDIO)
```
node dist/src/server.js
```

# Start the Streamable HTTP server locally
```
npm run start:streamable
```

# Local health checks
```
curl -sS http://127.0.0.1:3001/status | jq .
```

# Streamable HTTP health check (local & deployment default)
```
curl -sS http://127.0.0.1:3122/health | jq .

Configuration and usage notes

You have three main access options. The remote public endpoint is the recommended default. You can also run a local server in STDIO mode or enable the local Streamable HTTP transport for fast, protocol‑level MCP access.

Remote URL (recommended): https://mcp-sap-docs.marianzeis.de/mcp
Local STDIO: node dist/src/server.js
Local Streamable HTTP: npm run start:streamable

Health & status monitoring

Check the public endpoint status to confirm MCP protocol support. Use the local endpoints to verify your own setup.

curl -sS https://mcp-sap-docs.marianzeis.de/status | jq .
curl -i https://mcp-sap-docs.marianzeis.de/mcp
```

Local status checks:
```
curl -sS http://127.0.0.1:3001/status | jq .
curl -sS http://127.0.0.1:3122/health | jq .

Troubleshooting

If the client cannot connect, ensure you are using the modern Streamable HTTP URL and test the endpoint from your machine.

curl -i https://mcp-sap-docs.marianzeis.de/mcp

Deployment and maintenance

The server supports automated and manual update workflows. You can pull the latest code, run setup to refresh submodules, and restart services with health checks to ensure uptime.

Available tools

search

Unified search across all SAP documentation sources with intelligent filtering and ranking.

fetch

Retrieve complete documents or snippets with smart formatting.

sap_community_search

Real-time SAP Community posts with full content for top results.

sap_help_search

Search across SAP Help Portal documentation.

sap_help_get

Retrieve complete SAP Help pages with metadata.