SAP-Claude Integration via MCP (Model Context Protocol)

by CostingGeek

6 stars
573 downloads
Not rated
GitHub

About

An MCP server to retrieve information like Sales Orders from the SAP Graph API Sandbox

Details

Author
CostingGeek
GitHub stars
6
Downloads
573
Categories
AI, API

- Connect Claude to SAP systems with minimal setup.
- Retrieve real-time sales order data via SAP Graph API.
- Extend the integration with additional SAP entities (Customers, Products, etc.).
- Process SAP data with Claude’s full LLM capabilities.
- Uses FastMCP to expose SAP functionality as tools.
- Currently provides the get_sales_orders tool.

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name SAP-Claude Integration via MCP (Model Context Protocol)
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install Python 3.8+, set up uv and a Python virtual environment, then clone the provided saptools.py file. Configure Claude Desktop by editing claude_desktop_config.json with the correct path to the server folder and restart Claude. Once connected, you can ask Claude prompts like “Give me the last 10 sales orders” or “What is the average amount of the last 5 sales orders?”

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "sap-claude integration via mcp (model context protocol)": {
            "sap-mcp": {
                "command": "uv",
                "args": [
                    "init",
                    "saptools"
                ]
            }
        }
    }
}

McpServers

{
    "sap-mcp": {
        "command": "uv",
        "args": [
            "init",
            "saptools"
        ]
    }
}

SAP-Claude Integration via MCP (Model Context Protocol)

> Connect Claude AI capabilities directly to your SAP systems through a seamless MCP integration

This repository contains a Python-based solution that enables bidirectional communication between Claude (Anthropic's large language model) and SAP systems via the SAP Graph API. By leveraging the Model Context Protocol (MCP), this integration allows Claude to retrieve and process SAP business data in real-time.

Features

- Connect Claude to SAP systems with minimal setup
- Retrieve real-time sales order data from SAP via Graph API
- Extend the integration with additional SAP entities (Customers, Products, etc.)
- Process SAP data with the full capabilities of Claude's LLM

Prerequisites

- Python 3.8+
- SAP API key (sandbox or production)
- Claude Desktop
- Basic understanding of MCP and SAP Graph API

This documentation is written for a Windows environment with administrator rights

Reference Documentation

- Get started with the Model Context Protocol (MCP) - Introduction to SAP Graph

Installation

1. Get the SAP API Key

Log into the SAP Graph Navigator.
You will find the API key in your profile, under Settings > API Settings.
Save that API key as system environment variable "SAP_API_KEY".
Make sure to restart your machine to load the new environment variable.

3. Set up your environment

Let's follow the Documentation for Server Developers.

First, let’s install uv and set up our Python project and environment:

powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

Make sure to restart your terminal afterwards to ensure that the uv command gets picked up.

Now, let’s create and set up our project:
```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.