MCP.so
Sign In

S4MCPDEMO.git

@SHENRUIYANG

About S4MCPDEMO.git

Only a demo to show the possibility of MCP for SAP connection

Basic information

Category

Version Control

License

MIT

Runtime

python

Transports

stdio

Publisher

SHENRUIYANG

Submitted by

SHENRUIYANG

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"
      ]
    }
  }
}

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

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

FAQ from S4MCPDEMO.git

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.

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.

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.

Can this be deployed on MCP.so?

Yes, the repository includes a chatmcp.yaml configuration and a Dockerfile for deployment to MCP.so.

What are the main API endpoints?

  • 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

Comments

More Version Control MCP servers