Skip to main content
Glama
MCP Server for SAP OData v4

MCP Server for SAP OData v4

by shahidla

MCP Server for SAP OData v4

An MCP (Model Context Protocol) server that exposes SAP OData v4 actions as AI-callable tools. Designed to be used with MCP-compatible AI clients such as Claude.

Tools

Tool

Description

hello

Smoke test — returns a hello message

schedule_background_job

Calls a SAP OData v4 action with a given option

Related MCP server: SAP OData MCP Server

Setup

  1. Clone the repo:

git clone https://github.com/your-username/mcp.git
cd mcp
  1. Install dependencies:

npm install
  1. Copy .env.example to .env and fill in your SAP credentials:

cp .env.example .env
  1. Build the TypeScript source:

npm run build
  1. Start the MCP server:

npm start

Configuration

Variable

Description

SAP_URL

Base URL of your SAP OData v4 service

SAP_USER

SAP username

SAP_PASSWORD

SAP password

SAP_CLIENT

SAP client number (required)

SAP_ACTION_PATH

OData action path (e.g. your-namespace/your-namespace.your-service.ActionName)

Requirements

  • Node.js 18+

  • A SAP system exposing an OData v4 service

License

ISC

Available Tools

2 tools
helloD

Inputs: no named parameters.

schedule_background_jobD

Inputs: program_name (required), scrambleoption (required), job_name (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    D1.2/5.0

    Scored across 2 tools

    Disambiguation4/5

    Only two tools with distinct names, so they are unlikely to be confused. However, the lack of descriptions for 'hello' introduces some ambiguity about its purpose.

    Naming Consistency1/5

    No consistent naming pattern: 'hello' is arbitrary while 'schedule_background_job' follows a verb_noun structure, indicating a mismatch.

    Tool Count1/5

    Two tools are grossly insufficient for an SAP OData v4 server, which would typically require many tools for CRUD operations on entities.

    Completeness1/5

    The tool set lacks any OData-specific operations (e.g., read, create, update, delete entities), making it severely incomplete for the stated domain.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Transforms SAP S/4HANA or ECC systems into conversational AI interfaces by exposing OData services as dynamic MCP tools. Enables natural language interactions with ERP data for querying, creating, updating, and deleting business entities.
      56 npm
      1
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Enables AI assistants to integrate with SAP systems via OData REST APIs for querying entity sets, performing CRUD operations, and executing function imports. It features automatic service discovery, CSRF token management, and smart connection handling without requiring the SAP RFC SDK.
      11
      13
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Exposes SAP S/4HANA OData services as tools for LLMs, enabling users to list and create sales orders via the Model Context Protocol. It integrates with SAP BTP using the SAP Cloud SDK to provide secure access to enterprise data through natural language.
      ISC
    • F
      license
      A
      quality
      D
      maintenance
      Enables interaction with SAP S/4HANA systems via OData, allowing service discovery, metadata exploration, field value retrieval, and CRUD operations through natural language.
      4
      5
      -