Skip to main content

Interface: McpConfigContribution

Defined in: types/session.ts:87

MCP configuration contribution from a provider. Providers that support MCP can contribute configuration that gets written to the appropriate location before session launch.

Properties​

cleanup?​

optional cleanup?: () => Promise<void>

Defined in: types/session.ts:98

Optional cleanup function called after session ends. Use this to remove temporary config files.

Returns​

Promise<void>


config​

config: Record<string, unknown>

Defined in: types/session.ts:92

MCP configuration content to write


configPath​

configPath: string

Defined in: types/session.ts:89

Absolute path where the MCP config should be written