/* generated using openapi-typescript-codegen -- do not edit */ /* istanbul ignore file */ /* tslint:disable */ /* eslint-disable */ import type { AuthScopeEnum } from './AuthScopeEnum'; import type { AuthTypeEnum } from './AuthTypeEnum'; import type { MCPServerTransportEnum } from './MCPServerTransportEnum'; import type { OAuthService } from './OAuthService'; /** * Serializer for the MCPServer model. */ export type PatchedMCPServer = { readonly id?: number; readonly platform?: number; mentor?: string | null; /** * edX username */ owner?: string | null; name?: string; /** * A description of the MCP server. */ description?: string; /** * The url of the MCP server. */ url?: string; image?: string | null; transport?: MCPServerTransportEnum; /** * Authorization credentials to authenticate to the MCP server. If provided, these take priority over any headers configured on the server. Token here must be the full authorization value. For example: ` ` */ credentials?: string; /** * Headers to send to the MCP server. Useful for authentication, */ extra_headers?: any; readonly platform_key?: string; /** * Featured mcp servers will be accessible to all other tenants. */ is_featured?: boolean; /** * The type of authentication to use for the MCP server. * * * `none` - None * * `token` - Token * * `oauth2` - Oauth2 */ auth_type?: AuthTypeEnum; /** * Determines the required authentication granularity. 'platform' uses shared platform credentials, 'mentor' requires mentor-level credentials, and 'user' requires each user to authenticate individually. * * * `platform` - Platform * * `mentor` - Mentor * * `user` - User */ auth_scope?: AuthScopeEnum; oauth_service?: number | null; readonly oauth_service_data?: OAuthService; readonly mcp_server_connections?: string; /** * Whether the MCP server is enabled or not. */ is_enabled?: boolean; readonly created_at?: string; readonly updated_at?: string; };