SAP Docs MCP server

Provides offline access to SAP documentation and community content with searchable indexes across SAPUI5, CAP, OpenUI5 API documentation, and real-time SAP Community integration for fast technical reference without web-based searches.
Back to servers
Setup instructions
Provider
marianfoo
Release date
Jun 13, 2025
Language
Go
Stats
88 stars

This MCP server provides unified access to official SAP documentation, including SAPUI5, CAP, OpenUI5 APIs, and wdi5, using efficient BM25 full-text search. You can use it remotely through a hosted URL or run it locally on your machine.

Installation Options

Using the Hosted Server (Recommended)

Point your MCP client to the Streamable HTTP URL:

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

You can verify the server is working with:

# Should return JSON with api_last_activity
curl -sS https://mcp-sap-docs.marianzeis.de/status | jq .

Running Locally

To run the server locally:

# From repo root
npm ci
./setup.sh # execute this script to clone the github documentation submodules
npm run build

# Start the MCP server with STDIO
node dist/src/server.js

# OR start the Streamable HTTP server
npm run start:streamable

To verify your local installation:

# Check HTTP server status
curl -sS http://127.0.0.1:3001/status | jq .

# Check Streamable HTTP server
curl -sS http://127.0.0.1:3122/health | jq .

Features and Capabilities

Available Tools

  • search – Search across all official SAP documentation sources with intelligent filtering
  • fetch – Retrieve complete documents/snippets with smart formatting
  • sap_community_search – Get real-time SAP Community posts with full content of top results
  • sap_help_search – Search across SAP Help Portal documentation
  • sap_help_get – Retrieve complete SAP Help pages with metadata

Client Configuration

Claude Setup

Remote (Recommended)

  1. Open Claude Settings → Connectors → Add custom connector
  2. Paste the URL:
https://mcp-sap-docs.marianzeis.de/mcp

Local STDIO

Point Claude to:

command: node
args: ["<absolute-path-to-your-repo>/dist/src/server.js"]

Local Streamable HTTP

  1. Start the streamable HTTP server: npm run start:streamable
  2. Add custom connector with URL: http://127.0.0.1:3122/mcp

VS Code (GitHub Copilot Chat)

Remote Setup

Create .vscode/mcp.json in your workspace:

{
  "servers": {
    "sap-docs": {
      "type": "http",
      "url": "https://mcp-sap-docs.marianzeis.de/mcp"
    }
  }
}

Local Setup

For STDIO:

{
  "servers": {
    "sap-docs-local": {
      "type": "stdio",
      "command": "node",
      "args": ["<absolute-path>/dist/src/server.js"]
    }
  }
}

For HTTP Server:

{
  "servers": {
    "sap-docs-http": {
      "type": "http", 
      "url": "http://127.0.0.1:3122/mcp"
    }
  }
}

Eclipse (GitHub Copilot)

Remote Setup

  1. Install GitHub Copilot Extension from Eclipse Marketplace
  2. Open MCP Configuration (Copilot icon → Edit preferences → Copilot Chat → MCP)
  3. Add SAP Docs MCP Server:
{
  "name": "SAP Docs MCP",
  "description": "Comprehensive SAP development documentation with ABAP keyword documentation",
  "url": "https://mcp-sap-docs.marianzeis.de/mcp"
}

Cursor Setup

Remote (MCP Streamable HTTP)

Create or edit ~/.cursor/mcp.json:

{
  "mcpServers": {
    "sap-docs-remote": {
      "url": "https://mcp-sap-docs.marianzeis.de/mcp"
    }
  }
}

Local (STDIO)

{
  "mcpServers": {
    "sap-docs": {
      "command": "node",
      "args": ["/absolute/path/to/dist/src/server.js"]
    }
  }
}

Raycast Setup

Remote (MCP Streamable HTTP)

Open Raycast → "Manage Servers (MCP)" → Import:

{
  "mcpServers": {
    "sap-docs": {
      "command": "npx",
      "args": ["mcp-remote@latest", "https://mcp-sap-docs.marianzeis.de/mcp"]
    }
  }
}

Example Queries

Try these prompts with any connected MCP client:

ABAP Development

  • "What is the syntax for inline declarations in ABAP 7.58?"
  • "How do I use SELECT statements with internal tables in ABAP 7.57?"
  • "Show me exception handling with TRY-CATCH in modern ABAP"

UI5 Development

  • "How do I implement authentication in SAPUI5?"
  • "Find OpenUI5 button control examples with click handlers"
  • "Show me TypeScript setup for UI5 development"

CAP Development

  • "How do I implement CDS views with calculated fields in CAP?"
  • "Show me CAP authentication and authorization patterns"
  • "Find CAP Node.js service implementation examples"

Testing

  • "Show me wdi5 testing examples for forms and tables"
  • "How do I set up wdi5 for OData service testing?"

Troubleshooting

If Claude says it can't connect:

  • Make sure you're using the modern MCP Streamable HTTP URL: https://mcp-sap-docs.marianzeis.de/mcp
  • Test the endpoint: curl -i https://mcp-sap-docs.marianzeis.de/mcp

If VS Code wizard can't detect the server:

  • Try adding it as URL first
  • If issues persist, use your local server via command

If local server runs but client can't find it:

  • Ensure you're pointing to the built entry: node dist/src/server.js
  • Check if the server is running: curl -fsS http://127.0.0.1:3001/status | jq .

How to install this MCP server

For Claude Code

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.

For Cursor

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.

Adding an MCP server to Cursor globally

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"
            ]
        }
    }
}

Adding an MCP server to a project

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.

How to use the MCP server

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.

For Claude Desktop

To add this MCP server to Claude Desktop:

1. Find your configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.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

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later