StartMcpOptions
Defined in: mcp.ts:109
Properties
Section titled “Properties”params?
Section titled “params?”
optionalparams?:ServiceParams
Defined in: mcp.ts:116
Extra ServiceParams merged into every tool call of this stdio session — e.g.
{ headers: { authorization: "Bearer …" } } so services’ authenticate("jwt") hooks
pass. stdio carries no HTTP request, so without this the session is anonymous and
protected services reject exactly as they would an unauthenticated REST call.