Transport Mode
The watsonx Orchestrate MCP Server supports three transport modes: STDIO, SSE, and HTTP STREAMABLE. The server includes native support for all three transport types. You choose the transport mode by setting theWXO_MCP_TRANSPORT
environment variable to stdio
, sse
, or http
.
Example:
- STDIO
- SSE
- HTTP STREAMABLE
.env
Network Settings
When using SSE or HTTP STREAMABLE, the server runs as an HTTP web server on a specific host and port. By default, the host is127.0.0.1
and the port is 8080
.
You configure both options using the WXO_MCP_HOST
and WXO_MCP_PORT
environment variables.
File Access
Many features in the watsonx Orchestrate ADK rely on reading and writing files, such as importing or exporting resources. By default, the watsonx Orchestrate MCP Server blocks tools from accessing the file system where the server runs, for security reasons. To allow access, set a root working directory using theWXO_MCP_WORKING_DIRECTORY
environment variable. This enables tools in the MCP Server to read and write files, as long as they stay within that directory or its subdirectories.
Example:
.env