five-on-it / apps/mcp/src/http / HttpOptions
Interface: HttpOptions
Defined in: apps/mcp/src/http.ts:39
What the HTTP transport needs.
Extends
Omit<ServerOptions,"api">
Properties
apiUrl
apiUrl:
string
Defined in: apps/mcp/src/http.ts:41
The platform API.
authUrl?
optionalauthUrl?:string
Defined in: apps/mcp/src/http.ts:45
The OAuth authorization server, the API's issuer; apiUrl when absent.
fetch?
optionalfetch?: {(input,init?):Promise<Response>; (input,init?):Promise<Response>; }
Defined in: apps/mcp/src/http.ts:47
The HTTP client the API is called with (fetch by default).
Call Signature
(
input,init?):Promise<Response>
Parameters
input
URL | RequestInfo
init?
RequestInit
Returns
Promise<Response>
Call Signature
(
input,init?):Promise<Response>
Parameters
input
string | URL | Request
init?
RequestInit
Returns
Promise<Response>
poll?
optionalpoll?:object
Defined in: apps/mcp/src/server.ts:26
How builds are waited for: every 500 ms, two minutes at most, unless set.
intervalMs
intervalMs:
number
timeoutMs
timeoutMs:
number
Inherited from
publicUrl?
optionalpublicUrl?:string
Defined in: apps/mcp/src/http.ts:43
Where clients reach this server (its resource is <it>/mcp); each request's own address when absent.
webUrl
webUrl:
string
Defined in: apps/mcp/src/server.ts:24
The web client, which play links open.