Skip to content

StartMcpOptions

Defined in: mcp.ts:109

optional params?: 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.