MCP.so
登录

S4MCPDEMO.git

@SHENRUIYANG

关于 S4MCPDEMO.git

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

基本信息

分类

版本控制

许可证

MIT

运行时

python

传输方式

stdio

发布者

SHENRUIYANG

提交者

SHENRUIYANG

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "S4MCPDEMO": {
      "command": "python",
      "args": [
        "MM03_MCP.py",
        "--mode=http",
        "--host=0.0.0.0",
        "--port=5003"
      ]
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

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

评论

版本控制 分类下的更多 MCP 服务器