Skip to content

five-on-it / apps/mcp/src/http / HttpOptions

Interface: HttpOptions ​

Defined in: apps/mcp/src/http.ts:39

What the HTTP transport needs.

Extends ​

Properties ​

apiUrl ​

apiUrl: string

Defined in: apps/mcp/src/http.ts:41

The platform API.


authUrl? ​

optional authUrl?: string

Defined in: apps/mcp/src/http.ts:45

The OAuth authorization server, the API's issuer; apiUrl when absent.


fetch? ​

optional fetch?: {(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>

MDN Reference

Parameters ​
input ​

URL | RequestInfo

init? ​

RequestInit

Returns ​

Promise<Response>

Call Signature ​

(input, init?): Promise<Response>

MDN Reference

Parameters ​
input ​

string | URL | Request

init? ​

RequestInit

Returns ​

Promise<Response>


poll? ​

optional poll?: 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 ​

ServerOptions.poll


publicUrl? ​

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

Inherited from ​

ServerOptions.webUrl