Skip to main content
Glama
Nidhideep

SAP S/4HANA MCP Server

by Nidhideep

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DRY_RUNNoWhen 'true', all write operations are blockedfalse
LOG_LEVELNoLog level: debug, info, warn, errorinfo
AUTH_METHODYesAuthentication method: 'basic' or 'token'
S4_ODATA_HOSTYesFull SAP S/4HANA URL including scheme and port
S4_ODATA_USERNoSAP user (required when AUTH_METHOD=basic)
S4_ODATA_TOKENNoBearer token (required when AUTH_METHOD=token)
S4_ODATA_CLIENTYesSAP client number
S4_ODATA_PASSWORDNoPassword (required when AUTH_METHOD=basic)

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
discover_sap_servicesA

Discovers available OData services from the SAP Gateway Service Catalog. Returns service names, titles, and descriptions. Use this first when you don't know which service name to pass to execute_odata_query or get_entity_metadata.

get_entity_metadataA

Fetches and summarizes OData service metadata from SAP S/4HANA. Returns all entity sets with their key fields, properties, and navigation properties. Use this before calling execute_odata_query to understand the available fields and correct entity names.

get_field_valuesA

Fetches dropdown and value-list options from a SAP S/4HANA OData entity. Use this to discover valid input values before writing data with execute_odata_query. Provide the entity set that acts as the value-help source and the target field name.

execute_odata_queryA

Executes OData CRUD operations against SAP S/4HANA. GET requests return data as CSV for easy reading. POST, PATCH, and DELETE return JSON with the operation result. Use discover_sap_services to find service names, get_entity_metadata for field names, and get_field_values for valid input values before writing.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Nidhideep/sap-s4-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server