StdioTransportConfig
Configuration for the STDIO (Standard Input/Output) transport. Accepts either a boolean or an object.Boolean Mode
true- Enable STDIO transport with defaultsfalse- Disable STDIO transportundefined- Transport is disabled
Object Mode
Enable debug logging for the STDIO transport. When enabled, debug messages will be written to stderr.
Examples
Minimal Configuration
With Debug Logging
Disable STDIO
Combined Transports
Usage
The STDIO transport is commonly used when running your MCP server as a subprocess. It communicates via standard input and output streams, making it ideal for:- CLI tools that integrate with MCP
- Process-based MCP server execution
- Development and testing workflows
- Integration with tools that spawn processes