Back to Home
PareshKolte1 icon

MCP_Server_v1

by PareshKolte1

Overview

An API server for integrating with SAP systems, specifically for sales order creation, and provides a generic tool registration and invocation layer.

Installation

Run Command
python server.py

Environment Variables

  • SAP_API_BASE_URL
  • SAP_USERNAME
  • SAP_PASSWORD
  • DESTINATION_NAME
  • PORT
  • VCAP_SERVICES

Security Notes

The `SapClientCF` class uses `verify=False` in `requests` calls for both CSRF token fetching and sales order posting, disabling SSL certificate verification and making the application highly vulnerable to Man-in-the-Middle (MITM) attacks. The `/v1/tools/invoke/{tool_name}` endpoint in `main.py` is vulnerable to Server-Side Request Forgery (SSRF) as it allows arbitrary URL invocation based on user-registered tool configurations without validation or restrictions, potentially exposing internal network resources. Error messages might expose sensitive internal details. Hardcoded `sap-client` values are present.

Similar Servers

Stats

Interest Score0
Security Score3
Cost ClassLow
Stars0
Forks0
Last Update2025-11-19

Tags

SAP IntegrationAPI GatewayCloud FoundryFastAPITooling