Skip to main content
Glama

SAP OData to MCP Server

by lemaiwo
.env.example1.53 kB
# SAP Destination Configuration # For separate destinations for discovery (technical user) and execution (JWT forwarding) SAP_DISCOVERY_DESTINATION_NAME=SAP_SYSTEM_TECH SAP_EXECUTION_DESTINATION_NAME=SAP_SYSTEM_SSO # Or use a single destination for both (backward compatibility) # SAP_DESTINATION_NAME=SAP_SYSTEM # Tool Registry Type # Options: 'hierarchical' (default, recommended) or 'flat' MCP_TOOL_REGISTRY_TYPE=hierarchical # Logging Level # Options: 'error', 'warn', 'info', 'debug' LOG_LEVEL=info # Whether to disable ReadEntity tool registration (for large datasets) # DISABLE_READ_ENTITY_TOOL=false # OData Service Discovery Configuration Examples # Method 1: Allow all services (use * or 'true') ODATA_ALLOW_ALL=false # Method 2: Specify service patterns (supports glob patterns) # Comma-separated list of patterns ODATA_SERVICE_PATTERNS=*TASKPROCESSING*,*BOOK*,*FLIGHT*,*TRAVEL*,*TRVEXP*,*TRAVELAGENCY*,*TRAVELAGENCYSRV*,*TRAVELAPPROVALS*,*TRAVELAPPROVALS_SRV*,*ZBP*,*ZTRANSPORT*,*ZBC_UI_PARAM_E_CDS* # Method 3: Use JSON array for more complex patterns # ODATA_SERVICE_PATTERNS=["ZBP*", "ZTRANSPORT*", "/^Z.*_CDS$/"] # Method 4: Use regex patterns (enclose in forward slashes) # ODATA_SERVICE_PATTERNS=/^Z(BP|TRANSPORT).*/ # Exclusion patterns (services to exclude even if they match inclusion patterns) ODATA_EXCLUSION_PATTERNS=*_TEST*,*_TEMP* # Maximum number of services to discover (prevents system overload) ODATA_MAX_SERVICES=50 # Discovery mode: 'all', 'whitelist', 'regex' ODATA_DISCOVERY_MODE=whitelist

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/lemaiwo/btp-sap-odata-to-mcp-server'

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