Template Support: Values can use Go template syntax to reference
environment variables from the host system.
proto
string
Proto specifies the MCP protocol version to use.
Different protocol versions may support different features, message formats,
or capabilities. Always use the version compatible with your MCP server.
Format: YYYY-MM-DD (e.g., "2025-03-26")
Default: DefaultProtocolVersion ("2025-03-26")
Version History:
2025-03-26 - Latest version with streaming support
2024-12-01 - Initial protocol release
transport
string
Transport defines the communication transport mechanism.
Choose the transport based on your MCP server's capabilities and deployment model.
Supported Values:
Transport
Description
Use Case
sse
Server-Sent Events
HTTP servers with real-time streaming
streamable-http
HTTP with streaming
Large responses, file transfers
stdio
Standard I/O
Local processes, Docker containers
Default: sse
Examples:
# Remote server with SSEtransport: sse# Local process with stdiotransport: stdio# HTTP server with large file supporttransport: streamable-http
start_timeout
integer
StartTimeout is the maximum time to wait for the MCP server to start.
Only applicable when using command to spawn local processes.
Helps detect and handle startup failures gracefully.
Format: Go duration string (e.g., "30s", "1m", "500ms")
Default: No timeout (waits indefinitely)
Examples:
start_timeout: 30s # Wait up to 30 secondsstart_timeout: 2m # Wait up to 2 minutesstart_timeout: 500ms # Wait up to 500 milliseconds
Recommendation: Set to at least 10-30s for Docker-based servers.
max_sessions
integer
MaxSessions defines the maximum number of concurrent sessions allowed.
Helps manage resource usage and prevent server overload.
Each agent connection typically creates one session.
Values:
0 or negative: Unlimited sessions (default)
Positive number: Maximum concurrent sessions
Examples:
max_sessions: 10 # Allow up to 10 concurrent connectionsmax_sessions: 1 # Single session only (useful for stateful servers)max_sessions: 0 # Unlimited sessions