Skip to main content

Interface: MCPClientOptions

Defined in: packages/mcp/src/types.ts:108

Properties​

connectTimeoutMs?​

optional connectTimeoutMs?: number

Defined in: packages/mcp/src/types.ts:128

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?​

optional name?: string

Defined in: packages/mcp/src/types.ts:112

Client name for MCP handshake (default: 'baleybots-mcp-client')


protocolOptions?​

optional protocolOptions?: MCPProtocolOptions

Defined in: packages/mcp/src/types.ts:110

Official SDK capabilities, negotiation, input rounds and caching.


verbose?​

optional verbose?: boolean

Defined in: packages/mcp/src/types.ts:119

Enable verbose logging. A spawned stdio server also inherits our stderr, so its diagnostics are visible.


version?​

optional version?: string

Defined in: packages/mcp/src/types.ts:114

Client version for MCP handshake (default: '1.0.0')