Back to Home
trento-project icon

mcp-server

by trento-project

Overview

The Trento MCP Server enables AI assistants to manage and monitor SAP systems by translating natural language commands into interactions with the Trento Project API.

Installation

Run Command
No command provided

Environment Variables

  • TRENTO_MCP_AUTODISCOVERY_PATHS
  • TRENTO_MCP_CONFIG
  • TRENTO_MCP_ENABLE_HEALTH_CHECK
  • TRENTO_MCP_HEADER_NAME
  • TRENTO_MCP_HEALTH_API_PATH
  • TRENTO_MCP_HEALTH_PORT
  • TRENTO_MCP_INSECURE_SKIP_TLS_VERIFY
  • TRENTO_MCP_OAS_PATH
  • TRENTO_MCP_PORT
  • TRENTO_MCP_TAG_FILTER
  • TRENTO_MCP_TRANSPORT
  • TRENTO_MCP_TRENTO_URL
  • TRENTO_MCP_VERBOSITY
  • BEARER_TOKEN

Security Notes

The server includes an `InsecureSkipTLSVerify` option which, if enabled, can expose sensitive data to man-in-the-middle attacks. While disabled by default, its presence is a configurable risk. More critically, the MCP server's HTTP transports (SSE and Streamable) are configured with `ReadHeaderTimeout: 0` and `WriteTimeout: 0`. A zero `ReadHeaderTimeout` makes the server vulnerable to slowloris attacks by allowing clients to hold connections open indefinitely with partial requests, potentially leading to denial of service. The authentication mechanism for tool execution relies on setting a `BEARER_TOKEN` environment variable globally within the process, protected by a mutex. While the mutex attempts to prevent race conditions, using a process-global environment variable for per-session authentication is inherently fragile and carries risks, such as potential leakage to unintended child processes or subtle timing vulnerabilities in highly concurrent scenarios, especially given it's a workaround for a dependency's design.

Similar Servers

Stats

Interest Score13
Security Score5
Cost ClassLow
Avg Tokens300
Stars1
Forks1
Last Update2025-12-24

Tags

AI AssistantSAP MonitoringModel Context ProtocolTrento ProjectAPI Integration