/** * This file was auto-generated by Fern from our API Definition. */ import * as Klavis from "../../../../index.js"; /** * @example * { * serverName: "Affinity", * userId: "userId" * } */ export interface CreateServerRequest { /** The name of the target MCP server. Case-insensitive (e.g., 'google calendar', 'GOOGLE_CALENDAR', 'Google Calendar' are all valid). */ serverName: Klavis.McpServerName; /** The unique identifier for the user. The server instance along with the all the authentication data will belong to that specific user only. It can be a UUID from the database, a unique email address from the user, etc. */ userId: string; /** The name of the platform associated with the user. Optional. */ platformName?: string; /** The connection type to use for the MCP server. Default is STREAMABLE_HTTP. */ connectionType?: Klavis.ConnectionType; /** Whether to use the legacy server. Default is False. */ legacy?: boolean; }