Basic information
About S4MCPDEMO.git MCP Server
Only a demo to show the possibility of MCP for SAP connection
S4MCPDEMO.git is a MCP server in the Version Control category listed in the AddMCP.net directory, published by SHENRUIYANG. It exposes 5 tools, including POST /mcp_MM03_BasicData, POST /mcp_MM03_DescToMaterial, POST /mcp_MM03_Description_Search, GET /health and more. Supported transport: stdio. Runtime: python. License: MIT. Source code is hosted on github.com.
Setup
{
"mcpServers": {
"S4MCPDEMO": {
"command": "python",
"args": [
"MM03_MCP.py",
"--mode=http",
"--host=0.0.0.0",
"--port=5003"
]
}
}
}
{
"mcpServers": {
"S4MCPDEMO": {
"command": "python",
"args": [
"MM03_MCP.py",
"--mode=http",
"--host=0.0.0.0",
"--port=5003"
]
}
}
}
{
"servers": {
"S4MCPDEMO": {
"command": "python",
"args": [
"MM03_MCP.py",
"--mode=http",
"--host=0.0.0.0",
"--port=5003"
]
}
}
}
S4MCPDEMO.git MCP Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"S4MCPDEMO": {
"command": "python",
"args": [
"MM03_MCP.py",
"--mode=http",
"--host=0.0.0.0",
"--port=5003"
]
}
}
}
S4MCPDEMO.git MCP Server tools
- POST /mcp_MM03_BasicData — Get material basic information
- POST /mcp_MM03_DescToMaterial — Search materials by description
- POST /mcp_MM03_Description_Search — Get material descriptions in a specific language
- GET /health — Health check
- GET /.well-known/mcp-manifest.json — API manifest
Overview
What is S4MCPDEMO.git?
S4MCPDEMO.git is a demonstration service for interacting with SAP S/4HANA systems to query material master data. It can run as an HTTP API server or as a standard input/output tool, enabling integration with smart assistants like Cursor. This version is for demonstration only and not for productive use.
How to use S4MCPDEMO.git?
Clone the repository, install dependencies with pip, and configure SAP connection via a .env file or environment variables. Start the server in HTTP mode with python MM03_MCP.py --mode=http --host=0.0.0.0 --port=5003, in stdio mode with --mode=stdio, or in REST mode for MCP.so. API endpoints include /mcp_MM03_BasicData, /mcp_MM03_DescToMaterial, and /mcp_MM03_Description_Search. Docker deployment is also supported.
Key features of S4MCPDEMO.git
- Dual Mode Operation: HTTP API and stdio
- Material Basic Information Query
- Material Description Search
- Multilingual Support (Chinese, English, German, etc.)
- Type Safety with Pydantic models
- API Key Authentication using JWT
- MCP.so Hosting Support for cloud deployment
Use cases of S4MCPDEMO.git
- Query detailed material master data from SAP
- Search materials by description text
- Retrieve material descriptions in specific languages
- Integrate material data queries into Cursor or similar smart assistants
- Deploy as a cloud service on MCP.so for remote access
Frequently asked questions
1 What is the purpose of this server?
It provides material master data query functionality for SAP systems, but it is only for demonstration and cannot be used in a production environment.
2 What are the dependencies and runtime requirements?
Requires Python 3.7+, access to a SAP S/4HANA system, and dependencies including FastAPI, Uvicorn, httpx, python-dotenv, Pydantic, and FastMCP.
3 How is authentication handled?
The server uses API key authentication with JWT. API keys contain user email, SAP connection info, and expiration date. The key generation script is not included; contact the author to obtain keys.
4 Can this be deployed on MCP.so?
Yes, the repository includes a chatmcp.yaml configuration and a Dockerfile for deployment to MCP.so.
5 What are the main API endpoints?
POST /mcp_MM03_BasicData: Get material basic informationPOST /mcp_MM03_DescToMaterial: Search materials by descriptionPOST /mcp_MM03_Description_Search: Get material descriptions in a specific languageGET /health: Health checkGET /.well-known/mcp-manifest.json: API manifest
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In