Integrating the Trento MCP Server with SLES 16
This guide explains how to connect the Trento MCP Server to SUSE Linux Enterprise Server 16 (SLES 16) using MCPHost, a lightweight CLI tool for the Model Context Protocol (MCP).
SLES 16 is designed for modern, AI-powered workloads and agentic applications. If you run SAP landscapes, SUSE Linux Enterprise Server for SAP 16 builds on SLES 16 and pairs naturally with Trento for intelligent, stable operations.
As the MCP ecosystem expands, more MCP hosts and integrations will be available for SLES and SLES for SAP, installable and updatable with zypper. This guide focuses on MCPHost for its simplicity and compatibility with remote MCP servers like Trento.
Prerequisites
Before configuring your MCP Host, ensure you have:
-
A SLES 16 system with network access
-
An LLM provider and credentials:
-
Public hosted options, such as Google Gemini, OpenAI, etc.
-
Private/on-premises option, such as SUSE AI Platform - See the guide on Integrating the Trento MCP Server with SUSE AI.
-
-
A running Trento Server installation with the Trento MCP Server component enabled:
-
Follow the Installation Guide to deploy Trento Server and enable the Trento MCP Server.
-
Note the Trento MCP Server endpoint URL (e.g.,
https://trento.example.com/mcp-server-trento/mcp).
-
-
A Trento API token (Personal Access Token):
-
Log in to your Trento web interface with your username and password
-
Click on your username in the top-right corner and select Profile.
-
Scroll down to the Personal Access Tokens section.
-
Click the Generate Token button.
-
Enter a descriptive name for the token (e.g., "VS Code MCP Client").
-
Optionally configure an expiration date for the token, or select Never Expires.
-
Click Generate Token.
-
Important: Copy the generated token immediately and store it securely - it will not be shown again.
-
Install MCPHost on SLES 16
MCPHost is available as a package on SLES 16 and can be installed using the standard SUSE package manager. This ensures you get a version tested for your platform, with automatic updates and dependency management.
To install MCPHost, open a terminal and run:
sudo zypper refresh
sudo zypper install mcphost
This will download and install the latest available version of MCPHost and any required dependencies.
After installation, verify that MCPHost is available and working by checking its version:
mcphost --version
If you see the version and copyright, MCPHost is installed correctly and ready for configuration.
Configure MCPHost
Refer to the official MCPHost documentation for comprehensive configuration details. This section focuses on adding the Trento MCP Server to your system.
MCPHost reads its configuration from several locations; one common location is ~/.mcphost.yml. Create ~/.mcphost.yml with the following content:
mcpServers:
trento-mcp-server:
type: "remote"
url: https://trento.example.com/mcp-server-trento/mcp
headers:
- "Authorization: Bearer ${env://TRENTO_PAT}"
|
Security best practice: Keep secrets out of configuration files. Store your keys in environment variables instead of hardcoding them. Export your keys in the shell before running MCPHost:
|
-
Replace
https://trento.example.com/mcp-server-trento/mcpwith the actual URL where your Trento MCP Server is accessible:-
For Kubernetes deployments with ingress, use the ingress URL (e.g.,
https://trento.example.com/mcp-server-trento/mcp). -
For local or development setups, use
http://localhost:5000/mcp(adjust the port as needed). -
If using Server-Sent Events (SSE) transport instead of the default streamable transport, change the path from
/mcpto/sse- The transport type is configured on the Trento MCP Server using theTRANSPORTconfiguration key or--transportflag (see Configuration Options).
-
-
Replace
<your-trento-personal-access-token>with the API token you generated from your Trento instance. -
If you configured a custom header name (using
HEADER_NAMEor--header-name), updateAuthorizationaccordingly.
|
You can also configure remote LLM models directly in your MCPHost configuration. For example, to use Google Gemini as your model provider:
This configuration uses the |
Run MCPHost and use Trento Tools
-
Start MCPHost:
mcphostIf no servers appear on startup, confirm your configuration file exists at
~/.mcphost.yml(or another supported location listed in the MCPHost docs) and that your environment variables are exported in the same shell session. -
Verify the connection to Trento and basic status:
/servers
Figure 2. MCPHost initial screen with the Trento MCP Server connected -
Ask the model to invoke Trento tools using natural language prompts, such as:
-
"List all SAP systems managed."
-
"Show my HANA clusters."
-
"Are my SAP systems compliant?"
-
"What is the health status of my SAP landscape?"
-
"Show me all hosts running SAP applications."
-
"Are there any critical alerts I need to address?"
-
"Get details about the latest check execution results."
-
"Which SAP systems are currently running?"
Figure 3. Example MCPHost session querying Trento about SAP systems
-
Troubleshooting
If you encounter issues connecting MCPHost to the Trento MCP Server:
-
Connection Errors
-
Verify that the Trento MCP Server URL in
~/.mcphost.ymlis correct and accessible from your SLES 16 system. -
Check if the Trento MCP Server is running by reviewing logs from your Trento installation.
-
Ensure network connectivity and that any required firewall rules are in place.
-
Test basic connectivity:
curl -I https://trento.example.com/mcp-server-trento/mcp.
-
-
Authentication Errors
-
Verify that your API token is valid by testing it directly against your Trento Server API.
-
Ensure
TRENTO_PATis exported in the same shell session before runningmcphost. -
Check that the header name matches your server configuration (default:
Authorization). -
Ensure the token has the necessary permissions in Trento.
-
-
LLM Provider Errors
-
Verify that
GOOGLE_API_KEY(or your provider’s API key) is exported correctly. -
Check the
provider-urlandmodelconfiguration in your~/.mcphost.yml. -
Confirm that your API key has sufficient quota and permissions with your provider.
-
-
General Issues
-
Check the MCPHost terminal output for detailed error messages during startup or operation.
-
Review the Trento MCP Server logs for connection attempts and errors.
-
Verify that your configuration file exists at
~/.mcphost.ymland has correct YAML syntax. -
Refer to the Installation Guide Troubleshooting section for additional help.
-
Additional Resources
-
MCPHost Configuration Documentation - For comprehensive MCPHost configuration details.
-
Trento MCP Server Installation Guide - For deploying and configuring the Trento MCP Server.
-
Configuration Options - For detailed Trento MCP Server configuration reference.
-
Model Context Protocol Documentation - For general MCP information and client compatibility.