Interface: MCPClientOptions
Defined in: packages/mcp/src/types.ts:147
MCP Client initialization options
Properties
connectTimeoutMs?
optionalconnectTimeoutMs?:number
Defined in: packages/mcp/src/types.ts:167
How long to wait for the MCP handshake before giving up (default: 10000).
On timeout the transport is closed, which terminates a spawned stdio server. Set to 0 to wait indefinitely — note that a server which never completes the handshake will then keep the process alive for as long as it runs.
name?
optionalname?:string
Defined in: packages/mcp/src/types.ts:149
Client name for MCP handshake (default: 'baleybots-mcp-client')
verbose?
optionalverbose?:boolean
Defined in: packages/mcp/src/types.ts:158
Enable verbose logging.
For stdio servers this also inherits our stderr into the spawned process
so its diagnostics are visible; see the note in MCPClient.createTransport.
version?
optionalversion?:string
Defined in: packages/mcp/src/types.ts:151
Client version for MCP handshake (default: '1.0.0')