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

コメント

「バージョン管理」の他のコンテンツ