Interfaces
ClientOptions
Defined in: client/client.ts:75
Defined in: client/client.ts:80
Authentication to attach to HTTP requests.
A plain string is treated as a Bearer token.
Defined in: client/client.ts:92
When true (default), the MCP initialize handshake is performed
automatically inside connect().
Defined in: client/client.ts:93
Defined in: client/client.ts:81
Defined in: client/client.ts:87
Filesystem roots to advertise to the server.
Accepts a static array of strings / Root objects, or an async callback
invoked on each roots/list request (useful for dynamic root sets).