本项目提供了一个模型上下文协议(MCP)服务器,具备全面的 SAP GUI 自动化功能,可与 Claude Desktop 集成。它拥有 22 种专业的 SAP 自动化工具,分别用 Python 和 TypeScript 实现。
# 克隆仓库
git clone https://github.com/USERNAME/mcp-sap-gui-advanced.git
cd mcp-sap-gui-advanced
# 运行快速设置脚本
# Windows:
quick-setup.bat
# macOS/Linux:
chmod +x quick-setup.sh
./quick-setup.sh
详细的手动安装说明请参阅 SETUP.md。
"Connect me to SAP system DEV with client 100, username john.doe, password mypass123, server sap-dev.company.com"
"Navigate to transaction VA01 and create a sales order with customer 12345 and material ABC123"
"Extract customer data from the current screen, specifically the name, address, and contact fields"
SAP MCP Server/
├── python/ # Python 实现
│ ├── direct_sap_server.py # 22 个 SAP 自动化工具
│ ├── test_comprehensive.py # 完整测试套件
│ └── claude_desktop_direct.json
├── typescript/ # TypeScript 实现
│ ├── direct-sap-server.ts # 22 个 SAP 自动化工具
│ ├── test-comprehensive.js # 完整测试套件
│ └── claude-desktop-config.json
└── README.md # 本文件
两种实现方式都包含以下内容:
MCP 协议与语言无关,因此您可以:
可使用 MCP Inspector 对两种实现方式进行调试:
Python:
python test_comprehensive.py
TypeScript:
node test-comprehensive.js
[MIT 许可证] 本项目采用 MIT 许可证。