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 |
| Smoke test — returns a hello message |
| Calls a SAP OData v4 action with a given option |
Setup
Clone the repo:
git clone https://github.com/your-username/mcp.git
cd mcpInstall dependencies:
npm installCopy
.env.exampleto.envand fill in your SAP credentials:
cp .env.example .envBuild the TypeScript source:
npm run buildStart the MCP server:
npm startConfiguration
Variable | Description |
| Base URL of your SAP OData v4 service |
| SAP username |
| SAP password |
| SAP client number (required) |
| OData action path (e.g. |
Requirements
Node.js 18+
A SAP system exposing an OData v4 service
License
ISC