SAP Agent AI Demo MCP
This project implements a Model Context Protocol (MCP) server for a specific SAP Agent AI demo scenario. It simulates a connection to an SAP ERP system (SD, MM, FI, PP modules) without requiring a real SAP instance.
Features
- Mock SAP Connector: Simulates RFC calls and data retrieval.
- MCP Tools:
get_sales_orders: Query sales orders.create_sales_order: Simulate order creation.get_purchase_orders: Query purchase orders.check_inventory: Check stock levels.get_account_balance: Query financial balances.process_customer_document: Simulate document intelligence processing.
Installation
- Install dependencies:
pip install -r requirements.txt
Usage
Run Local Verification
To test the tools without an MCP client:
python test_tools.py
Run MCP Server
To start the MCP server (stdio mode) for use with an Agent/Client:
python server.py
Configuration
The mock data logic is located in sap_connector.py. You can modify the _mock_* methods to change the returned data.
Metadata
Release files for mcp-sap-demo 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mcp_sap_demo-0.1.1.tar.gz | 3.7 kB | Without provenance | Details for mcp_sap_demo-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mcp_sap_demo-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for mcp_sap_demo-0.1.1-py3-none-any.whl |
Total release size: 9.0 kB
Release files / mcp_sap_demo-0.1.1.tar.gz
| Download URL | mcp_sap_demo-0.1.1.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
09e66367a872890acef459e0235a64db41d6cc8a60b3040ef9c1dea52a8ee393
|
|
BLAKE2b-256 checksum How to use checksums |
c47e57de3df2c3305a67a240321d9dbea49c929d747e13c70ac850488df9d82b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.0
|
Release files / mcp_sap_demo-0.1.1-py3-none-any.whl
| Download URL | mcp_sap_demo-0.1.1-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2daa5e0bc652c7f33b1d2feacce6f61ae62d55e4eac16ac65fda9bbb71ad0a87
|
|
BLAKE2b-256 checksum How to use checksums |
00de3122ec434adfe70f51875155ba2ad60392af99fbc5a0edb3b9c99e1e79c0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.0
|
Security for mcp-sap-demo 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.