sap-ewm-io-agent
Enables live read-only queries against SAP EWM CDS views and standalone inventory-math calculators (ABC/XYZ classification, safety stock, reorder point, slow-moving detection, demand forecasting).
README
sap-ewm-io-agent
MCP server exposing SAP EWM inventory-optimization tools to Claude: live read-only queries against confirmed EWM CDS views, plus standalone inventory-math calculators (ABC/XYZ classification, safety stock, reorder point, slow-moving detection, demand forecasting).
See ARCHITECTURE.md for the confirmed service map, known data
gaps, and what's currently blocked.
Status at a glance
| Tool | Status |
|---|---|
get_stock_overview |
✅ Live |
get_bin_utilization |
✅ Live |
get_storage_type_capacity |
✅ Live |
get_goods_movement_history |
🚫 Blocked (see ARCHITECTURE.md) |
abc_xyz_classify |
✅ Works standalone (needs caller-supplied value/demand data) |
calc_safety_stock |
✅ Works standalone |
calc_reorder_point |
✅ Works standalone |
detect_slow_moving_stock |
✅ Live on-hand qty + caller-supplied movement age |
forecast_demand |
✅ Works standalone |
Setup
npm install
cp .env.example .env
# fill in SAP_USERNAME / SAP_PASSWORD in .env
Run
npm start
Test
npm test
Runs the calc/ unit test suite (29 tests, no SAP connectivity required).
Configuration
All SAP service names, entity sets, and field definitions are confirmed from live
$metadata and stored in src/config/serviceMap.json —
this is the single source of truth. Tool code never hardcodes a SAP field name
independently of this file; src/lib/s4hClient.js validates requested fields against it
and throws a clear error if a field doesn't exist, rather than silently guessing.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.