Share via


ToolingConfiguration class

Configuration for tooling package. Inherits runtime settings and adds tooling-specific settings.

Extends

Properties

clusterCategory
isDevelopmentEnvironment

Whether the cluster is a development environment (local or dev). Based on clusterCategory.

isNodeEnvDevelopment

Whether NODE_ENV indicates development mode. Returns true when NODE_ENV is 'development' (case-insensitive). This is the standard Node.js way of indicating development mode.

mcpPlatformAuthenticationScope

Gets the MCP platform authentication scope. Used by AgenticAuthenticationService for token exchange. Trims whitespace to prevent token exchange failures.

mcpPlatformEndpoint
useToolingManifest

Whether to use the ToolingManifest.json file instead of gateway discovery. Returns true when NODE_ENV is set to 'development' (case-insensitive), or when explicitly overridden via configuration.

Inherited Methods

parseEnvBoolean(undefined | string)

Parse an environment variable as a boolean. Recognizes 'true', '1', 'yes', 'on' (case-insensitive) as true; all other values as false.

parseEnvInt(undefined | string, number)

Parse an environment variable as an integer, returning fallback if invalid or not set.

Constructor Details

ToolingConfiguration(ToolingConfigurationOptions)

new ToolingConfiguration(overrides?: ToolingConfigurationOptions)

Parameters

Property Details

clusterCategory

ClusterCategory clusterCategory

Property Value

isDevelopmentEnvironment

Whether the cluster is a development environment (local or dev). Based on clusterCategory.

boolean isDevelopmentEnvironment

Property Value

boolean

isNodeEnvDevelopment

Whether NODE_ENV indicates development mode. Returns true when NODE_ENV is 'development' (case-insensitive). This is the standard Node.js way of indicating development mode.

boolean isNodeEnvDevelopment

Property Value

boolean

mcpPlatformAuthenticationScope

Gets the MCP platform authentication scope. Used by AgenticAuthenticationService for token exchange. Trims whitespace to prevent token exchange failures.

string mcpPlatformAuthenticationScope

Property Value

string

mcpPlatformEndpoint

string mcpPlatformEndpoint

Property Value

string

useToolingManifest

Whether to use the ToolingManifest.json file instead of gateway discovery. Returns true when NODE_ENV is set to 'development' (case-insensitive), or when explicitly overridden via configuration.

boolean useToolingManifest

Property Value

boolean

Inherited Method Details

parseEnvBoolean(undefined | string)

Parse an environment variable as a boolean. Recognizes 'true', '1', 'yes', 'on' (case-insensitive) as true; all other values as false.

static function parseEnvBoolean(envValue: undefined | string): boolean

Parameters

envValue

undefined | string

Returns

boolean

Inherited From RuntimeConfiguration.parseEnvBoolean

parseEnvInt(undefined | string, number)

Parse an environment variable as an integer, returning fallback if invalid or not set.

static function parseEnvInt(envValue: undefined | string, fallback: number): number

Parameters

envValue

undefined | string

fallback

number

Returns

number

Inherited From RuntimeConfiguration.parseEnvInt