Documentation / @agentick/mcp / OAuthCallbackServerOptions
Interface: OAuthCallbackServerOptions
Defined in: client/oauth-callback-server.ts:29
Properties
errorHtml?
optionalerrorHtml:string| (error) =>string
Defined in: client/oauth-callback-server.ts:48
Custom HTML to serve on error (e.g., missing code param). Default: a simple error page.
host?
optionalhost:string
Defined in: client/oauth-callback-server.ts:33
Host to bind to. Default: "127.0.0.1".
path?
optionalpath:string
Defined in: client/oauth-callback-server.ts:35
Path to listen on for the callback. Default: "/callback".
port?
optionalport:number
Defined in: client/oauth-callback-server.ts:31
Port to listen on. 0 = random available port. Default: 0.
successHtml?
optionalsuccessHtml:string| (serverName?) =>string
Defined in: client/oauth-callback-server.ts:43
Custom HTML to serve after successful authorization. Receives the server name for personalization. Default: a simple "Authorization complete" page.
timeout?
optionaltimeout:number
Defined in: client/oauth-callback-server.ts:37
Timeout in ms to wait for the callback. Default: 300_000 (5 min).