Skip to content

Name XcodeMCPKit transports and options for what the caller does #486

Closed

Description

@lynnswap

Why

The SDK's public names describe its implementation. A caller selects a transport with .streamableHTTPProxyDiscovery() or .localBridge(.nativeHost()), reads connection state through methods, and passes XcodeMCPRequestOptions whose replay policy can only disable a replay that is safe by definition: the server rejected the request before processing it.

What

  • XcodeMCPConfiguration.Transport names what the caller connects to: .server(), .server(discoveryFile:), .server(at:), .nativeHost(bundleURL:developerDirectoryURL:), and .process(command:arguments:environment:). XcodeMCPConfiguration.Bridge is removed.
  • XcodeMCP.connectionState and XcodeMCP.connectionStates are properties.
  • listTools, callTool, request, and reconnect take timeout: directly. XcodeMCPRequestOptions and its replay policy are removed; a request rejected before processing is always replayed once.
  • XcodeMCPKitTesting, the verifier, the READMEs, and the migration guide match the new API.

This is a source-breaking change for SDK consumers. Client behavior does not change.

Activity

  1. changed the title [-]Redesign the XcodeMCPKit public API and session layer[/-] [+]Name XcodeMCPKit transports and options for what the caller does[/+] on Nov 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions