Configuration Options

This document provides an overview of how to configure the trento-mcp-server using command-line parameters.

Command-Line Parameters

The trento-mcp-server binary accepts several command-line flags to configure its behavior.

Flag Default Description

--port, -p

5000

The port on which to run the server.

--oasPath, -P

./api/openapi.json

Path to the OpenAPI spec file.

--transport

streamable

The protocol to use. Can be streamable or sse.

--trento-url

https://demo.trento-project.io

URL for the target Trento server.

--header-name

X-TRENTO-MCP-APIKEY

The HTTP header name that clients should use to send the Trento API key.

--tag-filter

MCP

A comma-separated list of OpenAPI tags. Only operations with at least one of these tags will be exposed as tools.

--verbosity, -v

info

Log level verbosity. Can be debug, info, warning, or error.

You can see all available flags by running:

trento-mcp-server --help