Skip to main content
Defined in: server/FastMCP.ts:172

Properties

host?

Defined in: server/FastMCP.ts:175

path?

Defined in: server/FastMCP.ts:176

port?

Defined in: server/FastMCP.ts:174

stateless?

Defined in: server/FastMCP.ts:188 Serve the legacy (2025-era) HTTP transport statelessly: a fresh server and transport per request, no session registry, incoming mcp-session-id ignored, and no session id issued. Use this behind a load balancer or on serverless compute where consecutive requests reach different instances. Falls back to the FASTMCP_STATELESS_HTTP environment variable, then to false. A valid value is ignored for the stdio transport, but a malformed one still aborts stdio startup, deliberately. The modern (2026-07-28) era is already stateless and is unaffected.

stdin?

Defined in: server/FastMCP.ts:190 Custom stdin stream for the stdio transport. Defaults to process.stdin.

stdout?

Defined in: server/FastMCP.ts:192 Custom stdout stream for the stdio transport. Defaults to process.stdout.

transport?

Defined in: server/FastMCP.ts:173