Skip to content

MCP

Symbol kindCount
Case16
Class3
Enumeration8
Initializer40
Instance Method67
Instance Property209
Protocol3
Structure37
Type Alias2
Type Method21
Type Property7
KindSymbolDeclarationSource
CaseMCPAppToolMeta.Visibility.appcase appSources/SwiftAISDK/MCPApps.swift
CaseMCPAppToolMeta.Visibility.modelcase modelSources/SwiftAISDK/MCPApps.swift
CaseMCPElicitAction.acceptcase acceptSources/SwiftAISDK/MCPTypes.swift
CaseMCPElicitAction.cancelcase cancelSources/SwiftAISDK/MCPTypes.swift
CaseMCPElicitAction.declinecase declineSources/SwiftAISDK/MCPTypes.swift
CaseMCPOAuthApplicationType.nativecase nativeSources/SwiftAISDK/MCPOAuthTypes.swift
CaseMCPOAuthApplicationType.webcase webSources/SwiftAISDK/MCPOAuthTypes.swift
CaseMCPOAuthAuthResult.authorizedcase authorizedSources/SwiftAISDK/MCPOAuthTypes.swift
CaseMCPOAuthAuthResult.redirectcase redirectSources/SwiftAISDK/MCPOAuthTypes.swift
CaseMCPOAuthClientAuthMethod.clientSecretBasiccase clientSecretBasicSources/SwiftAISDK/MCPOAuthTypes.swift
CaseMCPOAuthClientAuthMethod.clientSecretPostcase clientSecretPostSources/SwiftAISDK/MCPOAuthTypes.swift
CaseMCPOAuthClientAuthMethod.nonecase noneSources/SwiftAISDK/MCPOAuthTypes.swift
CaseMCPOAuthCredentialScope.allcase allSources/SwiftAISDK/MCPTypes.swift
CaseMCPOAuthCredentialScope.clientcase clientSources/SwiftAISDK/MCPTypes.swift
CaseMCPOAuthCredentialScope.tokenscase tokensSources/SwiftAISDK/MCPTypes.swift
CaseMCPOAuthCredentialScope.verifiercase verifierSources/SwiftAISDK/MCPTypes.swift
ClassMCPClientactor MCPClientSources/SwiftAISDK/MCPClientActor.swift
ClassMCPHTTPTransportfinal class MCPHTTPTransportSources/SwiftAISDK/MCPHTTPTransport.swift
ClassMCPStdioTransportfinal class MCPStdioTransportSources/SwiftAISDK/MCPStdioTransport.swift
EnumerationMCPAppsenum MCPAppsSources/SwiftAISDK/MCPApps.swift
EnumerationMCPAppToolMeta.Visibilityenum VisibilitySources/SwiftAISDK/MCPApps.swift
EnumerationMCPElicitActionenum MCPElicitActionSources/SwiftAISDK/MCPTypes.swift
EnumerationMCPOAuthenum MCPOAuthSources/SwiftAISDK/MCPOAuthFlow.swift
EnumerationMCPOAuthApplicationTypeenum MCPOAuthApplicationTypeSources/SwiftAISDK/MCPOAuthTypes.swift
EnumerationMCPOAuthAuthResultenum MCPOAuthAuthResultSources/SwiftAISDK/MCPOAuthTypes.swift
EnumerationMCPOAuthClientAuthMethodenum MCPOAuthClientAuthMethodSources/SwiftAISDK/MCPOAuthTypes.swift
EnumerationMCPOAuthCredentialScopeenum MCPOAuthCredentialScopeSources/SwiftAISDK/MCPTypes.swift
Initializerinit(abortSignal:timeoutMilliseconds:maxTotalTimeoutMilliseconds:)init(abortSignal: AIAbortSignal? = nil, timeoutMilliseconds: Int? = nil, maxTotalTimeoutMilliseconds: Int? = nil)Sources/SwiftAISDK/MCPHTTPTransport.swift
Initializerinit(accessToken:idToken:tokenType:expiresIn:scope:refreshToken:issuer:authorizationServerURL:tokenEndpoint:rawValue:)init(accessToken: String, idToken: String? = nil, tokenType: String, expiresIn: Int? = nil, scope: String? = nil, refreshToken: String? = nil, issuer: String? = nil, authorizationServerURL: URL? = nil, tokenEndpoint: URL? = nil, rawValue: JSONValue = .object([:]))Sources/SwiftAISDK/MCPOAuthTypes.swift
Initializerinit(action:content:metadata:resultType:rawValue:)init(action: MCPElicitAction, content: [String : JSONValue]? = nil, metadata: JSONValue? = nil, resultType: String? = nil, rawValue: JSONValue? = nil)Sources/SwiftAISDK/MCPTypes.swift
Initializerinit(authorizationServerURL:tokenEndpoint:issuer:)init(authorizationServerURL: URL, tokenEndpoint: URL, issuer: String? = nil)Sources/SwiftAISDK/MCPOAuthTypes.swift
Initializerinit(authorizationURL:codeVerifier:)init(authorizationURL: URL, codeVerifier: String)Sources/SwiftAISDK/MCPOAuthTypes.swift
Initializerinit(clientID:clientSecret:clientIDIssuedAt:clientSecretExpiresAt:issuer:authorizationServerURL:tokenEndpoint:rawValue:)init(clientID: String, clientSecret: String? = nil, clientIDIssuedAt: Int? = nil, clientSecretExpiresAt: Int? = nil, issuer: String? = nil, authorizationServerURL: URL? = nil, tokenEndpoint: URL? = nil, rawValue: JSONValue = .object([:]))Sources/SwiftAISDK/MCPOAuthTypes.swift
Initializerinit(clientInformation:clientMetadata:rawValue:)init(clientInformation: MCPOAuthClientInformation, clientMetadata: MCPOAuthClientMetadata, rawValue: JSONValue = .object([:]))Sources/SwiftAISDK/MCPOAuthTypes.swift
Initializerinit(command:args:env:cwd:)init(command: String, args: [String] = [], env: [String : String] = [:], cwd: String? = nil)Sources/SwiftAISDK/MCPStdioTransport.swift
Initializerinit(command:args:env:cwd:)convenience init(command: String, args: [String] = [], env: [String : String] = [:], cwd: String? = nil)Sources/SwiftAISDK/MCPStdioTransport.swift
Initializerinit(config:)init(config: MCPStdioConfig)Sources/SwiftAISDK/MCPStdioTransport.swift
Initializerinit(content:structuredContent:toolResult:isError:metadata:resultType:rawValue:)init(content: [JSONValue] = [], structuredContent: JSONValue? = nil, toolResult: JSONValue? = nil, isError: Bool = false, metadata: JSONValue? = nil, resultType: String? = nil, rawValue: JSONValue? = nil)Sources/SwiftAISDK/MCPTypes.swift
Initializerinit(contents:metadata:resultType:rawValue:)init(contents: [MCPResourceContent], metadata: JSONValue? = nil, resultType: String? = nil, rawValue: JSONValue? = nil)Sources/SwiftAISDK/MCPTypes.swift
Initializerinit(description:messages:metadata:resultType:rawValue:)init(description: String? = nil, messages: [MCPPromptMessage], metadata: JSONValue? = nil, resultType: String? = nil, rawValue: JSONValue? = nil)Sources/SwiftAISDK/MCPTypes.swift
Initializerinit(headers:parameters:tokenURL:authorizationServerURL:metadata:)init(headers: [String : String], parameters: [URLQueryItem], tokenURL: URL, authorizationServerURL: URL, metadata: MCPOAuthAuthorizationServerMetadata? = nil)Sources/SwiftAISDK/MCPOAuthTypes.swift
Initializerinit(issuer:authorizationEndpoint:tokenEndpoint:registrationEndpoint:authorizationResponseIssuerParameterSupported:clientIDMetadataDocumentSupported:responseTypesSupported:codeChallengeMethodsSupported:grantTypesSupported:tokenEndpointAuthMethodsSupported:rawValue:)init(issuer: String, authorizationEndpoint: URL, tokenEndpoint: URL, registrationEndpoint: URL? = nil, authorizationResponseIssuerParameterSupported: Bool? = nil, clientIDMetadataDocumentSupported: Bool? = nil, responseTypesSupported: [String], codeChallengeMethodsSupported: [String], grantTypesSupported: [String] = [], tokenEndpointAuthMethodsSupported: [String] = [], rawValue: JSONValue = .object([:]))Sources/SwiftAISDK/MCPOAuthTypes.swift
Initializerinit(message:code:data:statusCode:url:responseBody:)init(message: String, code: Int? = nil, data: JSONValue? = nil, statusCode: Int? = nil, url: String? = nil, responseBody: String? = nil)Sources/SwiftAISDK/MCPTypes.swift
Initializerinit(message:requestedSchema:metadata:rawValue:)init(message: String, requestedSchema: JSONValue, metadata: JSONValue? = nil, rawValue: JSONValue? = nil)Sources/SwiftAISDK/MCPTypes.swift
Initializerinit(modelVisible:appVisible:)init(modelVisible: MCPListToolsResult, appVisible: MCPListToolsResult)Sources/SwiftAISDK/MCPApps.swift
Initializerinit(name:description:required:rawValue:)init(name: String, description: String? = nil, required: Bool? = nil, rawValue: JSONValue? = nil)Sources/SwiftAISDK/MCPTypes.swift
Initializerinit(name:title:description:arguments:rawValue:)init(name: String, title: String? = nil, description: String? = nil, arguments: [MCPPromptArgument] = [], rawValue: JSONValue? = nil)Sources/SwiftAISDK/MCPTypes.swift
Initializerinit(name:title:description:inputSchema:outputSchema:annotations:metadata:)init(name: String, title: String? = nil, description: String? = nil, inputSchema: JSONValue, outputSchema: JSONValue? = nil, annotations: JSONValue? = nil, metadata: JSONValue? = nil)Sources/SwiftAISDK/MCPTypes.swift
Initializerinit(name:value:rawValue:)init(name: String, value: String, rawValue: JSONValue? = nil)Sources/SwiftAISDK/MCPTypes.swift
Initializerinit(name:version:title:)init(name: String, version: String, title: String? = nil)Sources/SwiftAISDK/MCPTypes.swift
Initializerinit(prompts:nextCursor:metadata:resultType:rawValue:)init(prompts: [MCPPrompt], nextCursor: String? = nil, metadata: JSONValue? = nil, resultType: String? = nil, rawValue: JSONValue? = nil)Sources/SwiftAISDK/MCPTypes.swift
Initializerinit(redirectURIs:applicationType:tokenEndpointAuthMethod:grantTypes:responseTypes:clientName:clientURI:logoURI:scope:contacts:tosURI:policyURI:jwksURI:jwks:softwareID:softwareVersion:softwareStatement:)init(redirectURIs: [URL], applicationType: MCPOAuthApplicationType? = nil, tokenEndpointAuthMethod: String? = nil, grantTypes: [String] = [], responseTypes: [String] = [], clientName: String? = nil, clientURI: URL? = nil, logoURI: URL? = nil, scope: String? = nil, contacts: [String] = [], tosURI: URL? = nil, policyURI: URL? = nil, jwksURI: URL? = nil, jwks: JSONValue? = nil, softwareID: String? = nil, softwareVersion: String? = nil, softwareStatement: String? = nil)Sources/SwiftAISDK/MCPOAuthTypes.swift
Initializerinit(resource:authorizationServers:scopesSupported:rawValue:)init(resource: URL, authorizationServers: [URL] = [], scopesSupported: [String] = [], rawValue: JSONValue = .object([:]))Sources/SwiftAISDK/MCPOAuthTypes.swift
Initializerinit(resources:nextCursor:metadata:resultType:rawValue:)init(resources: [MCPResource], nextCursor: String? = nil, metadata: JSONValue? = nil, resultType: String? = nil, rawValue: JSONValue? = nil)Sources/SwiftAISDK/MCPTypes.swift
Initializerinit(resourceTemplates:metadata:resultType:rawValue:)init(resourceTemplates: [MCPResourceTemplate], metadata: JSONValue? = nil, resultType: String? = nil, rawValue: JSONValue? = nil)Sources/SwiftAISDK/MCPTypes.swift
Initializerinit(resourceURI:visibility:rawValue:)init(resourceURI: String? = nil, visibility: [String]? = nil, rawValue: JSONValue = .object([:]))Sources/SwiftAISDK/MCPApps.swift
Initializerinit(role:content:rawValue:)init(role: String, content: JSONValue, rawValue: JSONValue? = nil)Sources/SwiftAISDK/MCPTypes.swift
Initializerinit(statusCode:code:message:uri:)init(statusCode: Int? = nil, code: String? = nil, message: String, uri: String? = nil)Sources/SwiftAISDK/MCPOAuthTypes.swift
Initializerinit(title:readOnlyHint:destructiveHint:idempotentHint:openWorldHint:)init(title: String? = nil, readOnlyHint: Bool? = nil, destructiveHint: Bool? = nil, idempotentHint: Bool? = nil, openWorldHint: Bool? = nil)Sources/SwiftAISDK/MCPTypes.swift
Initializerinit(tools:nextCursor:metadata:resultType:rawValue:)init(tools: [MCPToolDefinition], nextCursor: String? = nil, metadata: JSONValue? = nil, resultType: String? = nil, rawValue: JSONValue? = nil)Sources/SwiftAISDK/MCPTypes.swift
Initializerinit(uri:mimeType:html:metadata:)init(uri: String, mimeType: String = MCPApps.appMIMEType, html: String, metadata: JSONValue? = nil)Sources/SwiftAISDK/MCPApps.swift
Initializerinit(uri:name:title:description:mimeType:size:rawValue:)init(uri: String, name: String, title: String? = nil, description: String? = nil, mimeType: String? = nil, size: Int? = nil, rawValue: JSONValue? = nil)Sources/SwiftAISDK/MCPTypes.swift
Initializerinit(uri:name:title:mimeType:text:blob:rawValue:)init(uri: String, name: String? = nil, title: String? = nil, mimeType: String? = nil, text: String? = nil, blob: String? = nil, rawValue: JSONValue? = nil)Sources/SwiftAISDK/MCPTypes.swift
Initializerinit(uriTemplate:name:title:description:mimeType:rawValue:)init(uriTemplate: String, name: String, title: String? = nil, description: String? = nil, mimeType: String? = nil, rawValue: JSONValue? = nil)Sources/SwiftAISDK/MCPTypes.swift
Initializerinit(url:headers:transport:authProvider:initialSessionID:initialProtocolVersion:terminateSessionOnClose:onSessionIDChange:onSessionExpired:maxInboundReconnectAttempts:inboundReconnectDelayNanoseconds:)init(url: URL, headers: [String : String] = [:], transport: any AITransport = URLSessionTransport.shared, authProvider: (any MCPOAuthProvider)? = nil, initialSessionID: String? = nil, initialProtocolVersion: String? = nil, terminateSessionOnClose: Bool = true, onSessionIDChange: (@Sendable (String?) -> Void)? = nil, onSessionExpired: (@Sendable (String) -> Void)? = nil, maxInboundReconnectAttempts: Int = 2, inboundReconnectDelayNanoseconds: UInt64 = 1_000_000_000)Sources/SwiftAISDK/MCPHTTPTransport.swift
Initializerinit(url:headers:transport:authProvider:initialSessionID:initialProtocolVersion:terminateSessionOnClose:onSessionIDChange:onSessionExpired:maxInboundReconnectAttempts:inboundReconnectDelayNanoseconds:)convenience init(url: String, headers: [String : String] = [:], transport: any AITransport = URLSessionTransport.shared, authProvider: (any MCPOAuthProvider)? = nil, initialSessionID: String? = nil, initialProtocolVersion: String? = nil, terminateSessionOnClose: Bool = true, onSessionIDChange: (@Sendable (String?) -> Void)? = nil, onSessionExpired: (@Sendable (String) -> Void)? = nil, maxInboundReconnectAttempts: Int = 2, inboundReconnectDelayNanoseconds: UInt64 = 1_000_000_000) throwsSources/SwiftAISDK/MCPHTTPTransport.swift
Initializerinit(values:total:hasMore:metadata:resultType:rawValue:)init(values: [String], total: Int? = nil, hasMore: Bool? = nil, metadata: JSONValue? = nil, resultType: String? = nil, rawValue: JSONValue? = nil)Sources/SwiftAISDK/MCPTypes.swift
Instance MethodaccessToken()func accessToken() async throws -> String?Sources/SwiftAISDK/MCPTypes.swift
Instance MethodauthenticateTokenRequest(_:)func authenticateTokenRequest(_ request: MCPOAuthClientAuthenticationRequest) async throws -> MCPOAuthClientAuthenticationRequest?Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance MethodauthenticateTokenRequest(_:)func authenticateTokenRequest(_ request: MCPOAuthClientAuthenticationRequest) async throws -> MCPOAuthClientAuthenticationRequest?Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance MethodauthorizationServerInformation()func authorizationServerInformation() async throws -> MCPOAuthAuthorizationServerInformation?Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance MethodauthorizationServerInformation()func authorizationServerInformation() async throws -> MCPOAuthAuthorizationServerInformation?Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance Methodauthorize(resourceMetadataURL:)func authorize(resourceMetadataURL: URL?) async throws -> BoolSources/SwiftAISDK/MCPTypes.swift
Instance Methodauthorize(resourceMetadataURL:scope:)func authorize(resourceMetadataURL: URL?, scope: String?) async throws -> BoolSources/SwiftAISDK/MCPTypes.swift
Instance Methodauthorize(resourceMetadataURL:scope:)func authorize(resourceMetadataURL: URL?, scope: String?) async throws -> BoolSources/SwiftAISDK/MCPTypes.swift
Instance MethodcallTool(name:arguments:options:)func callTool(name: String, arguments: JSONValue = .object([:]), options: MCPRequestOptions? = nil) async throws -> MCPCallToolResultSources/SwiftAISDK/MCPClientActor.swift
Instance MethodclientInformation()func clientInformation() async throws -> MCPOAuthClientInformation?Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance MethodclientInformation()func clientInformation() async throws -> MCPOAuthClientInformation?Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance Methodclose()func close() async throwsSources/SwiftAISDK/MCPClientActor.swift
Instance Methodclose()func close() async throwsSources/SwiftAISDK/MCPHTTPTransport.swift
Instance Methodclose()func close() async throwsSources/SwiftAISDK/MCPStdioTransport.swift
Instance Methodclose()func close() async throwsSources/SwiftAISDK/MCPTypes.swift
Instance MethodcodeVerifier()func codeVerifier() async throws -> StringSources/SwiftAISDK/MCPOAuthTypes.swift
Instance Methodcomplete(ref:argument:contextArguments:metadata:options:)func complete(ref: JSONValue, argument: MCPCompleteArgument, contextArguments: [String : String]? = nil, metadata: JSONValue? = nil, options: MCPRequestOptions? = nil) async throws -> MCPCompleteResultSources/SwiftAISDK/MCPClientActor.swift
Instance MethodexperimentalGetPrompt(name:arguments:options:)func experimentalGetPrompt(name: String, arguments: JSONValue = .object([:]), options: MCPRequestOptions? = nil) async throws -> MCPGetPromptResultSources/SwiftAISDK/MCPClientActor.swift
Instance MethodexperimentalListPrompts(cursor:options:)func experimentalListPrompts(cursor: String? = nil, options: MCPRequestOptions? = nil) async throws -> MCPListPromptsResultSources/SwiftAISDK/MCPClientActor.swift
Instance MethodinvalidateCredentials(_:)func invalidateCredentials(_ scope: MCPOAuthCredentialScope) asyncSources/SwiftAISDK/MCPOAuthTypes.swift
Instance MethodinvalidateCredentials(_:)func invalidateCredentials(_ scope: MCPOAuthCredentialScope) asyncSources/SwiftAISDK/MCPOAuthTypes.swift
Instance MethodinvalidateCredentials(_:)func invalidateCredentials(_ scope: MCPOAuthCredentialScope) asyncSources/SwiftAISDK/MCPTypes.swift
Instance MethodinvalidateCredentials(_:)func invalidateCredentials(_ scope: MCPOAuthCredentialScope) asyncSources/SwiftAISDK/MCPTypes.swift
Instance MethodlistResources(cursor:options:)func listResources(cursor: String? = nil, options: MCPRequestOptions? = nil) async throws -> MCPListResourcesResultSources/SwiftAISDK/MCPClientActor.swift
Instance MethodlistResourceTemplates(options:)func listResourceTemplates(options: MCPRequestOptions? = nil) async throws -> MCPListResourceTemplatesResultSources/SwiftAISDK/MCPClientActor.swift
Instance MethodlistTools(cursor:)func listTools(cursor: String? = nil) async throws -> MCPListToolsResultSources/SwiftAISDK/MCPClientActor.swift
Instance Methodnotify(_:)func notify(_ message: JSONValue) async throwsSources/SwiftAISDK/MCPHTTPTransport.swift
Instance Methodnotify(_:)func notify(_ message: JSONValue) async throwsSources/SwiftAISDK/MCPStdioTransport.swift
Instance Methodnotify(_:)func notify(_ message: JSONValue) async throwsSources/SwiftAISDK/MCPTypes.swift
Instance MethodonElicitationRequest(_:)func onElicitationRequest(_ handler: MCPElicitationHandler?)Sources/SwiftAISDK/MCPClientActor.swift
Instance MethodreadResource(uri:options:)func readResource(uri: String, options: MCPRequestOptions? = nil) async throws -> MCPReadResourceResultSources/SwiftAISDK/MCPClientActor.swift
Instance MethodredirectToAuthorization(_:)func redirectToAuthorization(_ authorizationURL: URL) async throwsSources/SwiftAISDK/MCPOAuthTypes.swift
Instance Methodrequest(_:)func request(_ message: JSONValue) async throws -> JSONValueSources/SwiftAISDK/MCPHTTPTransport.swift
Instance Methodrequest(_:)func request(_ message: JSONValue) async throws -> JSONValueSources/SwiftAISDK/MCPStdioTransport.swift
Instance Methodrequest(_:)func request(_ message: JSONValue) async throws -> JSONValueSources/SwiftAISDK/MCPTypes.swift
Instance Methodrequest(_:options:)func request(_ message: JSONValue, options: MCPRequestOptions?) async throws -> JSONValueSources/SwiftAISDK/MCPHTTPTransport.swift
Instance Methodrequest(_:options:)func request(_ message: JSONValue, options: MCPRequestOptions?) async throws -> JSONValueSources/SwiftAISDK/MCPTypes.swift
Instance Methodrequest(_:options:)func request(_ message: JSONValue, options: MCPRequestOptions?) async throws -> JSONValueSources/SwiftAISDK/MCPTypes.swift
Instance MethodsaveAuthorizationServerInformation(_:)func saveAuthorizationServerInformation(_ information: MCPOAuthAuthorizationServerInformation) async throwsSources/SwiftAISDK/MCPOAuthTypes.swift
Instance MethodsaveAuthorizationServerInformation(_:)func saveAuthorizationServerInformation(_ information: MCPOAuthAuthorizationServerInformation) async throwsSources/SwiftAISDK/MCPOAuthTypes.swift
Instance MethodsaveClientInformation(_:)func saveClientInformation(_ clientInformation: MCPOAuthClientInformation) async throwsSources/SwiftAISDK/MCPOAuthTypes.swift
Instance MethodsaveClientInformation(_:)func saveClientInformation(_ clientInformation: MCPOAuthClientInformation) async throwsSources/SwiftAISDK/MCPOAuthTypes.swift
Instance MethodsaveCodeVerifier(_:)func saveCodeVerifier(_ codeVerifier: String) async throwsSources/SwiftAISDK/MCPOAuthTypes.swift
Instance MethodsaveState(_:)func saveState(_ state: String) async throwsSources/SwiftAISDK/MCPOAuthTypes.swift
Instance MethodsaveState(_:)func saveState(_ state: String) async throwsSources/SwiftAISDK/MCPOAuthTypes.swift
Instance MethodsaveTokens(_:)func saveTokens(_ tokens: MCPOAuthTokens) async throwsSources/SwiftAISDK/MCPOAuthTypes.swift
Instance MethodsetProtocolVersion(_:)func setProtocolVersion(_ protocolVersion: String?) asyncSources/SwiftAISDK/MCPHTTPTransport.swift
Instance MethodsetProtocolVersion(_:)func setProtocolVersion(_ protocolVersion: String?) asyncSources/SwiftAISDK/MCPTypes.swift
Instance MethodsetProtocolVersion(_:)func setProtocolVersion(_ protocolVersion: String?) asyncSources/SwiftAISDK/MCPTypes.swift
Instance MethodsetRequestHandler(_:)func setRequestHandler(_ handler: (@Sendable (JSONValue) async -> JSONValue)?) asyncSources/SwiftAISDK/MCPHTTPTransport.swift
Instance MethodsetRequestHandler(_:)func setRequestHandler(_ handler: (@Sendable (JSONValue) async -> JSONValue)?) asyncSources/SwiftAISDK/MCPStdioTransport.swift
Instance MethodsetRequestHandler(_:)func setRequestHandler(_ handler: (@Sendable (JSONValue) async -> JSONValue)?) asyncSources/SwiftAISDK/MCPTypes.swift
Instance MethodsetRequestHandler(_:)func setRequestHandler(_ handler: (@Sendable (JSONValue) async -> JSONValue)?) asyncSources/SwiftAISDK/MCPTypes.swift
Instance Methodstart()func start() async throwsSources/SwiftAISDK/MCPHTTPTransport.swift
Instance Methodstart()func start() async throwsSources/SwiftAISDK/MCPStdioTransport.swift
Instance Methodstart()func start() async throwsSources/SwiftAISDK/MCPTypes.swift
Instance Methodstate()func state() async throws -> String?Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance Methodstate()func state() async throws -> String?Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance MethodstoredState()func storedState() async throws -> String?Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance MethodstoredState()func storedState() async throws -> String?Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance Methodtokens()func tokens() async throws -> MCPOAuthTokens?Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance Methodtools()func tools() async throws -> [String : AITool]Sources/SwiftAISDK/MCPClientActor.swift
Instance MethodtoolsFromDefinitions(_:)func toolsFromDefinitions(_ definitions: MCPListToolsResult) -> [String : AITool]Sources/SwiftAISDK/MCPClientActor.swift
Instance MethodvalidateAuthorizationServerURL(serverURL:authorizationServerURL:)func validateAuthorizationServerURL(serverURL: URL, authorizationServerURL: URL) async throwsSources/SwiftAISDK/MCPOAuthTypes.swift
Instance MethodvalidateAuthorizationServerURL(serverURL:authorizationServerURL:)func validateAuthorizationServerURL(serverURL: URL, authorizationServerURL: URL) async throwsSources/SwiftAISDK/MCPOAuthTypes.swift
Instance MethodvalidateResourceURL(serverURL:resource:)func validateResourceURL(serverURL: URL, resource: URL?) async throws -> URL?Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance MethodvalidateResourceURL(serverURL:resource:)func validateResourceURL(serverURL: URL, resource: URL?) async throws -> URL?Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance PropertyabortSignalvar abortSignal: AIAbortSignal?Sources/SwiftAISDK/MCPHTTPTransport.swift
Instance PropertyaccessTokenvar accessToken: StringSources/SwiftAISDK/MCPOAuthTypes.swift
Instance Propertyactionvar action: MCPElicitActionSources/SwiftAISDK/MCPTypes.swift
Instance Propertyannotationsvar annotations: JSONValue?Sources/SwiftAISDK/MCPTypes.swift
Instance PropertyapplicationTypevar applicationType: MCPOAuthApplicationType?Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance PropertyappVisiblevar appVisible: MCPListToolsResultSources/SwiftAISDK/MCPApps.swift
Instance Propertyargsvar args: [String]Sources/SwiftAISDK/MCPStdioTransport.swift
Instance Propertyargumentsvar arguments: [MCPPromptArgument]Sources/SwiftAISDK/MCPTypes.swift
Instance PropertyauthorizationEndpointvar authorizationEndpoint: URLSources/SwiftAISDK/MCPOAuthTypes.swift
Instance PropertyauthorizationResponseIssuerParameterSupportedvar authorizationResponseIssuerParameterSupported: Bool?Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance PropertyauthorizationServersvar authorizationServers: [URL]Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance PropertyauthorizationServerURLvar authorizationServerURL: URL?Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance PropertyauthorizationServerURLvar authorizationServerURL: URL?Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance PropertyauthorizationServerURLvar authorizationServerURL: URLSources/SwiftAISDK/MCPOAuthTypes.swift
Instance PropertyauthorizationServerURLvar authorizationServerURL: URLSources/SwiftAISDK/MCPOAuthTypes.swift
Instance PropertyauthorizationURLvar authorizationURL: URLSources/SwiftAISDK/MCPOAuthTypes.swift
Instance Propertyblobvar blob: String?Sources/SwiftAISDK/MCPTypes.swift
Instance PropertyclientIDvar clientID: StringSources/SwiftAISDK/MCPOAuthTypes.swift
Instance PropertyclientIDIssuedAtvar clientIDIssuedAt: Int?Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance PropertyclientIDMetadataDocumentSupportedvar clientIDMetadataDocumentSupported: Bool?Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance PropertyclientInformationvar clientInformation: MCPOAuthClientInformationSources/SwiftAISDK/MCPOAuthTypes.swift
Instance PropertyclientMetadatavar clientMetadata: MCPOAuthClientMetadataSources/SwiftAISDK/MCPOAuthTypes.swift
Instance PropertyclientMetadatavar clientMetadata: MCPOAuthClientMetadata { get }Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance PropertyclientNamevar clientName: String?Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance PropertyclientSecretvar clientSecret: String?Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance PropertyclientSecretExpiresAtvar clientSecretExpiresAt: Int?Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance PropertyclientURIvar clientURI: URL?Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance Propertycodevar code: String?Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance Propertycodevar code: Int?Sources/SwiftAISDK/MCPTypes.swift
Instance PropertycodeChallengeMethodsSupportedvar codeChallengeMethodsSupported: [String]Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance PropertycodeVerifiervar codeVerifier: StringSources/SwiftAISDK/MCPOAuthTypes.swift
Instance Propertycommandvar command: StringSources/SwiftAISDK/MCPStdioTransport.swift
Instance Propertycontactsvar contacts: [String]Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance Propertycontentvar content: [JSONValue]Sources/SwiftAISDK/MCPTypes.swift
Instance Propertycontentvar content: JSONValueSources/SwiftAISDK/MCPTypes.swift
Instance Propertycontentvar content: [String : JSONValue]?Sources/SwiftAISDK/MCPTypes.swift
Instance Propertycontentsvar contents: [MCPResourceContent]Sources/SwiftAISDK/MCPTypes.swift
Instance Propertycwdvar cwd: String?Sources/SwiftAISDK/MCPStdioTransport.swift
Instance Propertydatavar data: JSONValue?Sources/SwiftAISDK/MCPTypes.swift
Instance Propertydescriptionvar description: String { get }Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance Propertydescriptionvar description: String { get }Sources/SwiftAISDK/MCPTypes.swift
Instance Propertydescriptionvar description: String?Sources/SwiftAISDK/MCPTypes.swift
Instance Propertydescriptionvar description: String?Sources/SwiftAISDK/MCPTypes.swift
Instance Propertydescriptionvar description: String?Sources/SwiftAISDK/MCPTypes.swift
Instance Propertydescriptionvar description: String?Sources/SwiftAISDK/MCPTypes.swift
Instance Propertydescriptionvar description: String?Sources/SwiftAISDK/MCPTypes.swift
Instance Propertydescriptionvar description: String?Sources/SwiftAISDK/MCPTypes.swift
Instance PropertydestructiveHintvar destructiveHint: Bool?Sources/SwiftAISDK/MCPTypes.swift
Instance Propertyenvvar env: [String : String]Sources/SwiftAISDK/MCPStdioTransport.swift
Instance PropertyexpiresInvar expiresIn: Int?Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance PropertygrantTypesvar grantTypes: [String]Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance PropertygrantTypesSupportedvar grantTypesSupported: [String]Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance PropertyhasMorevar hasMore: Bool?Sources/SwiftAISDK/MCPTypes.swift
Instance Propertyheadersvar headers: [String : String]Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance Propertyhtmlvar html: StringSources/SwiftAISDK/MCPApps.swift
Instance PropertyidempotentHintvar idempotentHint: Bool?Sources/SwiftAISDK/MCPTypes.swift
Instance PropertyidTokenvar idToken: String?Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance PropertyinitializeResultvar initializeResult: JSONValue { get }Sources/SwiftAISDK/MCPClientActor.swift
Instance PropertyinputSchemavar inputSchema: JSONValueSources/SwiftAISDK/MCPTypes.swift
Instance Propertyinstructionsvar instructions: String? { get }Sources/SwiftAISDK/MCPClientActor.swift
Instance PropertyisErrorvar isError: BoolSources/SwiftAISDK/MCPTypes.swift
Instance Propertyissuervar issuer: StringSources/SwiftAISDK/MCPOAuthTypes.swift
Instance Propertyissuervar issuer: String?Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance Propertyissuervar issuer: String?Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance Propertyissuervar issuer: String?Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance PropertyjsonValuevar jsonValue: JSONValue { get }Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance PropertyjsonValuevar jsonValue: JSONValue { get }Sources/SwiftAISDK/MCPTypes.swift
Instance Propertyjwksvar jwks: JSONValue?Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance PropertyjwksURIvar jwksURI: URL?Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance PropertylogoURIvar logoURI: URL?Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance PropertymaxTotalTimeoutMillisecondsvar maxTotalTimeoutMilliseconds: Int?Sources/SwiftAISDK/MCPHTTPTransport.swift
Instance Propertymessagevar message: StringSources/SwiftAISDK/MCPOAuthTypes.swift
Instance Propertymessagevar message: StringSources/SwiftAISDK/MCPTypes.swift
Instance Propertymessagevar message: StringSources/SwiftAISDK/MCPTypes.swift
Instance Propertymessagesvar messages: [MCPPromptMessage]Sources/SwiftAISDK/MCPTypes.swift
Instance Propertymetadatavar metadata: JSONValue?Sources/SwiftAISDK/MCPApps.swift
Instance Propertymetadatavar metadata: MCPOAuthAuthorizationServerMetadata?Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance Propertymetadatavar metadata: JSONValue?Sources/SwiftAISDK/MCPTypes.swift
Instance Propertymetadatavar metadata: JSONValue?Sources/SwiftAISDK/MCPTypes.swift
Instance Propertymetadatavar metadata: JSONValue?Sources/SwiftAISDK/MCPTypes.swift
Instance Propertymetadatavar metadata: JSONValue?Sources/SwiftAISDK/MCPTypes.swift
Instance Propertymetadatavar metadata: JSONValue?Sources/SwiftAISDK/MCPTypes.swift
Instance Propertymetadatavar metadata: JSONValue?Sources/SwiftAISDK/MCPTypes.swift
Instance Propertymetadatavar metadata: JSONValue?Sources/SwiftAISDK/MCPTypes.swift
Instance Propertymetadatavar metadata: JSONValue?Sources/SwiftAISDK/MCPTypes.swift
Instance Propertymetadatavar metadata: JSONValue?Sources/SwiftAISDK/MCPTypes.swift
Instance Propertymetadatavar metadata: JSONValue?Sources/SwiftAISDK/MCPTypes.swift
Instance Propertymetadatavar metadata: JSONValue?Sources/SwiftAISDK/MCPTypes.swift
Instance PropertymimeTypevar mimeType: StringSources/SwiftAISDK/MCPApps.swift
Instance PropertymimeTypevar mimeType: String?Sources/SwiftAISDK/MCPTypes.swift
Instance PropertymimeTypevar mimeType: String?Sources/SwiftAISDK/MCPTypes.swift
Instance PropertymimeTypevar mimeType: String?Sources/SwiftAISDK/MCPTypes.swift
Instance PropertymodelVisiblevar modelVisible: MCPListToolsResultSources/SwiftAISDK/MCPApps.swift
Instance Propertynamevar name: StringSources/SwiftAISDK/MCPTypes.swift
Instance Propertynamevar name: StringSources/SwiftAISDK/MCPTypes.swift
Instance Propertynamevar name: StringSources/SwiftAISDK/MCPTypes.swift
Instance Propertynamevar name: StringSources/SwiftAISDK/MCPTypes.swift
Instance Propertynamevar name: String?Sources/SwiftAISDK/MCPTypes.swift
Instance Propertynamevar name: StringSources/SwiftAISDK/MCPTypes.swift
Instance Propertynamevar name: StringSources/SwiftAISDK/MCPTypes.swift
Instance Propertynamevar name: StringSources/SwiftAISDK/MCPTypes.swift
Instance PropertynextCursorvar nextCursor: String?Sources/SwiftAISDK/MCPTypes.swift
Instance PropertynextCursorvar nextCursor: String?Sources/SwiftAISDK/MCPTypes.swift
Instance PropertynextCursorvar nextCursor: String?Sources/SwiftAISDK/MCPTypes.swift
Instance PropertyopenWorldHintvar openWorldHint: Bool?Sources/SwiftAISDK/MCPTypes.swift
Instance PropertyoutputSchemavar outputSchema: JSONValue?Sources/SwiftAISDK/MCPTypes.swift
Instance Propertyparametersvar parameters: [URLQueryItem]Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance PropertypolicyURIvar policyURI: URL?Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance Propertypromptsvar prompts: [MCPPrompt]Sources/SwiftAISDK/MCPTypes.swift
Instance PropertyrawValuevar rawValue: JSONValueSources/SwiftAISDK/MCPApps.swift
Instance PropertyrawValuevar rawValue: JSONValueSources/SwiftAISDK/MCPOAuthTypes.swift
Instance PropertyrawValuevar rawValue: JSONValueSources/SwiftAISDK/MCPOAuthTypes.swift
Instance PropertyrawValuevar rawValue: JSONValueSources/SwiftAISDK/MCPOAuthTypes.swift
Instance PropertyrawValuevar rawValue: JSONValueSources/SwiftAISDK/MCPOAuthTypes.swift
Instance PropertyrawValuevar rawValue: JSONValueSources/SwiftAISDK/MCPOAuthTypes.swift
Instance PropertyrawValuevar rawValue: JSONValueSources/SwiftAISDK/MCPTypes.swift
Instance PropertyrawValuevar rawValue: JSONValueSources/SwiftAISDK/MCPTypes.swift
Instance PropertyrawValuevar rawValue: JSONValueSources/SwiftAISDK/MCPTypes.swift
Instance PropertyrawValuevar rawValue: JSONValueSources/SwiftAISDK/MCPTypes.swift
Instance PropertyrawValuevar rawValue: JSONValueSources/SwiftAISDK/MCPTypes.swift
Instance PropertyrawValuevar rawValue: JSONValueSources/SwiftAISDK/MCPTypes.swift
Instance PropertyrawValuevar rawValue: JSONValueSources/SwiftAISDK/MCPTypes.swift
Instance PropertyrawValuevar rawValue: JSONValueSources/SwiftAISDK/MCPTypes.swift
Instance PropertyrawValuevar rawValue: JSONValueSources/SwiftAISDK/MCPTypes.swift
Instance PropertyrawValuevar rawValue: JSONValueSources/SwiftAISDK/MCPTypes.swift
Instance PropertyrawValuevar rawValue: JSONValueSources/SwiftAISDK/MCPTypes.swift
Instance PropertyrawValuevar rawValue: JSONValueSources/SwiftAISDK/MCPTypes.swift
Instance PropertyrawValuevar rawValue: JSONValueSources/SwiftAISDK/MCPTypes.swift
Instance PropertyrawValuevar rawValue: JSONValueSources/SwiftAISDK/MCPTypes.swift
Instance PropertyrawValuevar rawValue: JSONValueSources/SwiftAISDK/MCPTypes.swift
Instance PropertyrawValuevar rawValue: JSONValueSources/SwiftAISDK/MCPTypes.swift
Instance PropertyrawValuevar rawValue: JSONValueSources/SwiftAISDK/MCPTypes.swift
Instance PropertyreadOnlyHintvar readOnlyHint: Bool?Sources/SwiftAISDK/MCPTypes.swift
Instance PropertyredirectURIsvar redirectURIs: [URL]Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance PropertyredirectURLvar redirectURL: URL { get }Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance PropertyrefreshTokenvar refreshToken: String?Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance PropertyregistrationEndpointvar registrationEndpoint: URL?Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance PropertyrequestedSchemavar requestedSchema: JSONValueSources/SwiftAISDK/MCPTypes.swift
Instance Propertyrequiredvar required: Bool?Sources/SwiftAISDK/MCPTypes.swift
Instance Propertyresourcevar resource: URLSources/SwiftAISDK/MCPOAuthTypes.swift
Instance Propertyresourcesvar resources: [MCPResource]Sources/SwiftAISDK/MCPTypes.swift
Instance PropertyresourceTemplatesvar resourceTemplates: [MCPResourceTemplate]Sources/SwiftAISDK/MCPTypes.swift
Instance PropertyresourceURIvar resourceURI: String?Sources/SwiftAISDK/MCPApps.swift
Instance PropertyresponseBodyvar responseBody: String?Sources/SwiftAISDK/MCPTypes.swift
Instance PropertyresponseTypesvar responseTypes: [String]Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance PropertyresponseTypesSupportedvar responseTypesSupported: [String]Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance PropertyresultTypevar resultType: String?Sources/SwiftAISDK/MCPTypes.swift
Instance PropertyresultTypevar resultType: String?Sources/SwiftAISDK/MCPTypes.swift
Instance PropertyresultTypevar resultType: String?Sources/SwiftAISDK/MCPTypes.swift
Instance PropertyresultTypevar resultType: String?Sources/SwiftAISDK/MCPTypes.swift
Instance PropertyresultTypevar resultType: String?Sources/SwiftAISDK/MCPTypes.swift
Instance PropertyresultTypevar resultType: String?Sources/SwiftAISDK/MCPTypes.swift
Instance PropertyresultTypevar resultType: String?Sources/SwiftAISDK/MCPTypes.swift
Instance PropertyresultTypevar resultType: String?Sources/SwiftAISDK/MCPTypes.swift
Instance PropertyresultTypevar resultType: String?Sources/SwiftAISDK/MCPTypes.swift
Instance Propertyrolevar role: StringSources/SwiftAISDK/MCPTypes.swift
Instance Propertyscopevar scope: String?Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance Propertyscopevar scope: String?Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance PropertyscopesSupportedvar scopesSupported: [String]Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance PropertyserverCapabilitiesvar serverCapabilities: JSONValue { get }Sources/SwiftAISDK/MCPClientActor.swift
Instance PropertyserverInfovar serverInfo: MCPImplementation { get }Sources/SwiftAISDK/MCPClientActor.swift
Instance Propertysizevar size: Int?Sources/SwiftAISDK/MCPTypes.swift
Instance PropertysoftwareIDvar softwareID: String?Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance PropertysoftwareStatementvar softwareStatement: String?Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance PropertysoftwareVersionvar softwareVersion: String?Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance PropertystatusCodevar statusCode: Int?Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance PropertystatusCodevar statusCode: Int?Sources/SwiftAISDK/MCPTypes.swift
Instance PropertystructuredContentvar structuredContent: JSONValue?Sources/SwiftAISDK/MCPTypes.swift
Instance PropertysupportsDynamicClientRegistrationvar supportsDynamicClientRegistration: Bool { get }Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance PropertysupportsDynamicClientRegistrationvar supportsDynamicClientRegistration: Bool { get }Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance PropertysupportsMCPToolParameterHeaderslet supportsMCPToolParameterHeaders: BoolSources/SwiftAISDK/MCPHTTPTransport.swift
Instance PropertysupportsMCPToolParameterHeadersvar supportsMCPToolParameterHeaders: Bool { get }Sources/SwiftAISDK/MCPTypes.swift
Instance PropertysupportsMCPToolParameterHeadersvar supportsMCPToolParameterHeaders: Bool { get }Sources/SwiftAISDK/MCPTypes.swift
Instance PropertysupportsProtocolVersionDiscoverylet supportsProtocolVersionDiscovery: BoolSources/SwiftAISDK/MCPHTTPTransport.swift
Instance PropertysupportsProtocolVersionDiscoverylet supportsProtocolVersionDiscovery: BoolSources/SwiftAISDK/MCPStdioTransport.swift
Instance PropertysupportsProtocolVersionDiscoveryvar supportsProtocolVersionDiscovery: Bool { get }Sources/SwiftAISDK/MCPTypes.swift
Instance PropertysupportsProtocolVersionDiscoveryvar supportsProtocolVersionDiscovery: Bool { get }Sources/SwiftAISDK/MCPTypes.swift
Instance Propertytextvar text: String?Sources/SwiftAISDK/MCPTypes.swift
Instance PropertytimeoutMillisecondsvar timeoutMilliseconds: Int?Sources/SwiftAISDK/MCPHTTPTransport.swift
Instance Propertytitlevar title: String?Sources/SwiftAISDK/MCPTypes.swift
Instance Propertytitlevar title: String?Sources/SwiftAISDK/MCPTypes.swift
Instance Propertytitlevar title: String?Sources/SwiftAISDK/MCPTypes.swift
Instance Propertytitlevar title: String?Sources/SwiftAISDK/MCPTypes.swift
Instance Propertytitlevar title: String?Sources/SwiftAISDK/MCPTypes.swift
Instance Propertytitlevar title: String?Sources/SwiftAISDK/MCPTypes.swift
Instance Propertytitlevar title: String?Sources/SwiftAISDK/MCPTypes.swift
Instance PropertytokenEndpointvar tokenEndpoint: URLSources/SwiftAISDK/MCPOAuthTypes.swift
Instance PropertytokenEndpointvar tokenEndpoint: URL?Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance PropertytokenEndpointvar tokenEndpoint: URL?Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance PropertytokenEndpointvar tokenEndpoint: URLSources/SwiftAISDK/MCPOAuthTypes.swift
Instance PropertytokenEndpointAuthMethodvar tokenEndpointAuthMethod: String?Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance PropertytokenEndpointAuthMethodsSupportedvar tokenEndpointAuthMethodsSupported: [String]Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance PropertytokenTypevar tokenType: StringSources/SwiftAISDK/MCPOAuthTypes.swift
Instance PropertytokenURLvar tokenURL: URLSources/SwiftAISDK/MCPOAuthTypes.swift
Instance PropertytoolAnnotationsvar toolAnnotations: MCPToolAnnotations? { get }Sources/SwiftAISDK/MCPTypes.swift
Instance PropertytoolResultvar toolResult: JSONValue?Sources/SwiftAISDK/MCPTypes.swift
Instance Propertytoolsvar tools: [MCPToolDefinition]Sources/SwiftAISDK/MCPTypes.swift
Instance PropertytosURIvar tosURI: URL?Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance Propertytotalvar total: Int?Sources/SwiftAISDK/MCPTypes.swift
Instance Propertyurivar uri: StringSources/SwiftAISDK/MCPApps.swift
Instance Propertyurivar uri: String?Sources/SwiftAISDK/MCPOAuthTypes.swift
Instance Propertyurivar uri: StringSources/SwiftAISDK/MCPTypes.swift
Instance Propertyurivar uri: StringSources/SwiftAISDK/MCPTypes.swift
Instance PropertyuriTemplatevar uriTemplate: StringSources/SwiftAISDK/MCPTypes.swift
Instance Propertyurlvar url: String?Sources/SwiftAISDK/MCPTypes.swift
Instance Propertyvaluevar value: StringSources/SwiftAISDK/MCPTypes.swift
Instance Propertyvaluesvar values: [String]Sources/SwiftAISDK/MCPTypes.swift
Instance Propertyversionvar version: StringSources/SwiftAISDK/MCPTypes.swift
Instance Propertyvisibilityvar visibility: [MCPAppToolMeta.Visibility]?Sources/SwiftAISDK/MCPApps.swift
ProtocolMCPOAuthClientProviderprotocol MCPOAuthClientProvider : SendableSources/SwiftAISDK/MCPOAuthTypes.swift
ProtocolMCPOAuthProviderprotocol MCPOAuthProvider : SendableSources/SwiftAISDK/MCPTypes.swift
ProtocolMCPTransportprotocol MCPTransport : SendableSources/SwiftAISDK/MCPTypes.swift
StructureMCPAppResourcestruct MCPAppResourceSources/SwiftAISDK/MCPApps.swift
StructureMCPAppToolMetastruct MCPAppToolMetaSources/SwiftAISDK/MCPApps.swift
StructureMCPAppToolSplitstruct MCPAppToolSplitSources/SwiftAISDK/MCPApps.swift
StructureMCPCallToolResultstruct MCPCallToolResultSources/SwiftAISDK/MCPTypes.swift
StructureMCPClientErrorstruct MCPClientErrorSources/SwiftAISDK/MCPTypes.swift
StructureMCPCompleteArgumentstruct MCPCompleteArgumentSources/SwiftAISDK/MCPTypes.swift
StructureMCPCompleteResultstruct MCPCompleteResultSources/SwiftAISDK/MCPTypes.swift
StructureMCPElicitationRequeststruct MCPElicitationRequestSources/SwiftAISDK/MCPTypes.swift
StructureMCPElicitResultstruct MCPElicitResultSources/SwiftAISDK/MCPTypes.swift
StructureMCPGetPromptResultstruct MCPGetPromptResultSources/SwiftAISDK/MCPTypes.swift
StructureMCPImplementationstruct MCPImplementationSources/SwiftAISDK/MCPTypes.swift
StructureMCPListPromptsResultstruct MCPListPromptsResultSources/SwiftAISDK/MCPTypes.swift
StructureMCPListResourcesResultstruct MCPListResourcesResultSources/SwiftAISDK/MCPTypes.swift
StructureMCPListResourceTemplatesResultstruct MCPListResourceTemplatesResultSources/SwiftAISDK/MCPTypes.swift
StructureMCPListToolsResultstruct MCPListToolsResultSources/SwiftAISDK/MCPTypes.swift
StructureMCPOAuthAuthorizationServerInformationstruct MCPOAuthAuthorizationServerInformationSources/SwiftAISDK/MCPOAuthTypes.swift
StructureMCPOAuthAuthorizationServerMetadatastruct MCPOAuthAuthorizationServerMetadataSources/SwiftAISDK/MCPOAuthTypes.swift
StructureMCPOAuthClientAuthenticationRequeststruct MCPOAuthClientAuthenticationRequestSources/SwiftAISDK/MCPOAuthTypes.swift
StructureMCPOAuthClientInformationstruct MCPOAuthClientInformationSources/SwiftAISDK/MCPOAuthTypes.swift
StructureMCPOAuthClientInformationFullstruct MCPOAuthClientInformationFullSources/SwiftAISDK/MCPOAuthTypes.swift
StructureMCPOAuthClientMetadatastruct MCPOAuthClientMetadataSources/SwiftAISDK/MCPOAuthTypes.swift
StructureMCPOAuthDiscoverystruct MCPOAuthDiscoverySources/SwiftAISDK/MCPOAuthDiscovery.swift
StructureMCPOAuthProtectedResourceMetadatastruct MCPOAuthProtectedResourceMetadataSources/SwiftAISDK/MCPOAuthTypes.swift
StructureMCPOAuthServerErrorstruct MCPOAuthServerErrorSources/SwiftAISDK/MCPOAuthTypes.swift
StructureMCPOAuthStartAuthorizationResultstruct MCPOAuthStartAuthorizationResultSources/SwiftAISDK/MCPOAuthTypes.swift
StructureMCPOAuthTokensstruct MCPOAuthTokensSources/SwiftAISDK/MCPOAuthTypes.swift
StructureMCPPromptstruct MCPPromptSources/SwiftAISDK/MCPTypes.swift
StructureMCPPromptArgumentstruct MCPPromptArgumentSources/SwiftAISDK/MCPTypes.swift
StructureMCPPromptMessagestruct MCPPromptMessageSources/SwiftAISDK/MCPTypes.swift
StructureMCPReadResourceResultstruct MCPReadResourceResultSources/SwiftAISDK/MCPTypes.swift
StructureMCPRequestOptionsstruct MCPRequestOptionsSources/SwiftAISDK/MCPHTTPTransport.swift
StructureMCPResourcestruct MCPResourceSources/SwiftAISDK/MCPTypes.swift
StructureMCPResourceContentstruct MCPResourceContentSources/SwiftAISDK/MCPTypes.swift
StructureMCPResourceTemplatestruct MCPResourceTemplateSources/SwiftAISDK/MCPTypes.swift
StructureMCPStdioConfigstruct MCPStdioConfigSources/SwiftAISDK/MCPStdioTransport.swift
StructureMCPToolAnnotationsstruct MCPToolAnnotationsSources/SwiftAISDK/MCPTypes.swift
StructureMCPToolDefinitionstruct MCPToolDefinitionSources/SwiftAISDK/MCPTypes.swift
Type AliasMCPElicitationHandlertypealias MCPElicitationHandler = @Sendable (MCPElicitationRequest) async throws -> MCPElicitResultSources/SwiftAISDK/MCPTypes.swift
Type AliasMCPOAuthClientAuthenticationHandlertypealias MCPOAuthClientAuthenticationHandler = @Sendable (MCPOAuthClientAuthenticationRequest) async throws -> MCPOAuthClientAuthenticationRequest?Sources/SwiftAISDK/MCPOAuthTypes.swift
Type Methodauth(provider:serverURL:authorizationCode:callbackState:callbackIssuer:scope:resourceMetadataURL:protocolVersion:transport:)static func auth(provider: any MCPOAuthClientProvider, serverURL: URL, authorizationCode: String? = nil, callbackState: String? = nil, callbackIssuer: String? = nil, scope: String? = nil, resourceMetadataURL: URL? = nil, protocolVersion: String = MCPClient.latestProtocolVersion, transport: any AITransport = URLSessionTransport.shared) async throws -> MCPOAuthAuthResultSources/SwiftAISDK/MCPOAuthFlow.swift
Type Methodauth(provider:serverURL:authorizationCode:callbackState:callbackIssuer:scope:resourceMetadataURL:protocolVersion:transport:)static func auth(provider: any MCPOAuthClientProvider, serverURL: String, authorizationCode: String? = nil, callbackState: String? = nil, callbackIssuer: String? = nil, scope: String? = nil, resourceMetadataURL: String? = nil, protocolVersion: String = MCPClient.latestProtocolVersion, transport: any AITransport = URLSessionTransport.shared) async throws -> MCPOAuthAuthResultSources/SwiftAISDK/MCPOAuthFlow.swift
Type MethodbuildAuthorizationServerDiscoveryURLs(_:)static func buildAuthorizationServerDiscoveryURLs(_ authorizationServerURL: URL) -> [URL]Sources/SwiftAISDK/MCPOAuthDiscovery.swift
Type Methodconnect(transport:clientName:clientVersion:clientCapabilities:initialInitializeResult:initializationOptions:maxRetries:protocolVersionDiscovery:onUncaughtError:)static func connect(transport: any MCPTransport, clientName: String = "swift-ai-sdk-mcp-client", clientVersion: String = "1.0.0", clientCapabilities: JSONValue = .object([:]), initialInitializeResult: JSONValue? = nil, initializationOptions: MCPRequestOptions? = nil, maxRetries: Int = 0, protocolVersionDiscovery: Bool = true, onUncaughtError: (@Sendable (any Error) -> Void)? = nil) async throws -> MCPClientSources/SwiftAISDK/MCPClientActor.swift
Type MethoddiscoverAuthorizationServerMetadata(authorizationServerURL:protocolVersion:transport:)static func discoverAuthorizationServerMetadata(authorizationServerURL: URL, protocolVersion: String = MCPClient.latestProtocolVersion, transport: any AITransport = URLSessionTransport.shared) async throws -> MCPOAuthAuthorizationServerMetadata?Sources/SwiftAISDK/MCPOAuthDiscovery.swift
Type MethoddiscoverAuthorizationServerMetadata(authorizationServerURL:protocolVersion:transport:)static func discoverAuthorizationServerMetadata(authorizationServerURL: String, protocolVersion: String = MCPClient.latestProtocolVersion, transport: any AITransport = URLSessionTransport.shared) async throws -> MCPOAuthAuthorizationServerMetadata?Sources/SwiftAISDK/MCPOAuthDiscovery.swift
Type MethoddiscoverProtectedResourceMetadata(serverURL:protocolVersion:resourceMetadataURL:transport:)static func discoverProtectedResourceMetadata(serverURL: URL, protocolVersion: String = MCPClient.latestProtocolVersion, resourceMetadataURL: URL? = nil, transport: any AITransport = URLSessionTransport.shared) async throws -> MCPOAuthProtectedResourceMetadataSources/SwiftAISDK/MCPOAuthDiscovery.swift
Type MethoddiscoverProtectedResourceMetadata(serverURL:protocolVersion:resourceMetadataURL:transport:)static func discoverProtectedResourceMetadata(serverURL: String, protocolVersion: String = MCPClient.latestProtocolVersion, resourceMetadataURL: String? = nil, transport: any AITransport = URLSessionTransport.shared) async throws -> MCPOAuthProtectedResourceMetadataSources/SwiftAISDK/MCPOAuthDiscovery.swift
Type MethodexchangeAuthorization(authorizationServerURL:metadata:clientInformation:authorizationCode:codeVerifier:redirectURI:resource:clientAuthentication:transport:)static func exchangeAuthorization(authorizationServerURL: URL, metadata: MCPOAuthAuthorizationServerMetadata? = nil, clientInformation: MCPOAuthClientInformation, authorizationCode: String, codeVerifier: String, redirectURI: URL, resource: URL? = nil, clientAuthentication: MCPOAuthClientAuthenticationHandler? = nil, transport: any AITransport = URLSessionTransport.shared) async throws -> MCPOAuthTokensSources/SwiftAISDK/MCPOAuthFlow.swift
Type MethodisAppTool(_:)static func isAppTool(_ tool: MCPToolDefinition) throws -> BoolSources/SwiftAISDK/MCPApps.swift
Type MethodreadResource(client:uri:options:)static func readResource(client: MCPClient, uri: String, options: MCPRequestOptions? = nil) async throws -> MCPAppResourceSources/SwiftAISDK/MCPApps.swift
Type MethodrefreshAuthorization(authorizationServerURL:metadata:clientInformation:refreshToken:resource:clientAuthentication:transport:)static func refreshAuthorization(authorizationServerURL: URL, metadata: MCPOAuthAuthorizationServerMetadata? = nil, clientInformation: MCPOAuthClientInformation, refreshToken: String, resource: URL? = nil, clientAuthentication: MCPOAuthClientAuthenticationHandler? = nil, transport: any AITransport = URLSessionTransport.shared) async throws -> MCPOAuthTokensSources/SwiftAISDK/MCPOAuthFlow.swift
Type MethodregisterClient(authorizationServerURL:metadata:clientMetadata:transport:)static func registerClient(authorizationServerURL: URL, metadata: MCPOAuthAuthorizationServerMetadata? = nil, clientMetadata: MCPOAuthClientMetadata, transport: any AITransport = URLSessionTransport.shared) async throws -> MCPOAuthClientInformationFullSources/SwiftAISDK/MCPOAuthFlow.swift
Type Methodresource(uri:from:)static func resource(uri: String, from readResult: MCPReadResourceResult) throws -> MCPAppResourceSources/SwiftAISDK/MCPApps.swift
Type MethodresourceURI(from:)static func resourceURI(from tool: MCPToolDefinition) throws -> String?Sources/SwiftAISDK/MCPApps.swift
Type MethodresourceURIs(from:)static func resourceURIs(from definitions: MCPListToolsResult) throws -> [String]Sources/SwiftAISDK/MCPApps.swift
Type MethodselectResourceURL(serverURL:provider:resourceMetadata:)static func selectResourceURL(serverURL: URL, provider: any MCPOAuthClientProvider, resourceMetadata: MCPOAuthProtectedResourceMetadata?) async throws -> URL?Sources/SwiftAISDK/MCPOAuthFlow.swift
Type MethodsplitTools(_:)static func splitTools(_ definitions: MCPListToolsResult) throws -> MCPAppToolSplitSources/SwiftAISDK/MCPApps.swift
Type MethodstartAuthorization(authorizationServerURL:metadata:clientInformation:redirectURL:scope:state:resource:codeVerifier:)static func startAuthorization(authorizationServerURL: URL, metadata: MCPOAuthAuthorizationServerMetadata? = nil, clientInformation: MCPOAuthClientInformation, redirectURL: URL, scope: String? = nil, state: String? = nil, resource: URL? = nil, codeVerifier: String? = nil) throws -> MCPOAuthStartAuthorizationResultSources/SwiftAISDK/MCPOAuthFlow.swift
Type MethodstartAuthorization(authorizationServerURL:metadata:clientInformation:redirectURL:scope:state:resource:codeVerifier:)static func startAuthorization(authorizationServerURL: String, metadata: MCPOAuthAuthorizationServerMetadata? = nil, clientInformation: MCPOAuthClientInformation, redirectURL: String, scope: String? = nil, state: String? = nil, resource: String? = nil, codeVerifier: String? = nil) throws -> MCPOAuthStartAuthorizationResultSources/SwiftAISDK/MCPOAuthFlow.swift
Type MethodtoolMeta(from:)static func toolMeta(from tool: MCPToolDefinition) throws -> MCPAppToolMeta?Sources/SwiftAISDK/MCPApps.swift
Type PropertyappMIMETypestatic let appMIMEType: StringSources/SwiftAISDK/MCPApps.swift
Type PropertyclientCapabilitiesstatic let clientCapabilities: JSONValueSources/SwiftAISDK/MCPApps.swift
Type PropertyextensionNamestatic let extensionName: StringSources/SwiftAISDK/MCPApps.swift
Type PropertylatestLegacyProtocolVersionstatic let latestLegacyProtocolVersion: StringSources/SwiftAISDK/MCPClientActor.swift
Type PropertylatestProtocolVersionstatic let latestProtocolVersion: StringSources/SwiftAISDK/MCPClientActor.swift
Type PropertylegacyResourceURIMetadataKeystatic let legacyResourceURIMetadataKey: StringSources/SwiftAISDK/MCPApps.swift
Type PropertysupportedProtocolVersionsstatic let supportedProtocolVersions: Set<String>Sources/SwiftAISDK/MCPClientActor.swift