Skip to content

Bring the package structure and SDK API in line with the owned-host design #483

Closed
10 of 10 issues completed
Closed

Description

@lynnswap

Why

Most of this package was written while the server was a proxy in front of Apple's mcpbridge. The server now runs tools in headless hosts that it owns, but structures from the older design remain:

  • XcodeMCPCore holds unrelated pieces that each serve one consumer, so the XcodeMCPKit product pulls in swift-nio and swift-log without using them.
  • The SDK session layer still carries an initialization mode whose only caller was removed.
  • Public names and options describe the bridge design (Proxy, Upstream, Bridge, initializeHandshake).
  • Several helpers and checks have no production caller.

What

  • The XcodeMCPKit product depends only on what its client uses, and its public API names what a caller does.
  • Each target has one responsibility, with no pass-through layers and no code that production never reaches.
  • Server configuration exposes only options that affect the hosts the server owns.
  • Names in code match the current design.

The sub-issues are delivered in order. Each one is a single PR that merges on its own.

Sub-issues

Sub-issues

10 of 10 Issues completed
Loading 10 sub-issues

Activity

  1. lynnswap commented on Nov 19, 2026

    @lynnswap
    OwnerAuthor

    Scope change found while planning #485: removing the XcodeMCPProxyKit dependency on the SDK and merging the internal JSON types both require changing the public initializeHandshake.capabilities type, so they move to #487. #485 keeps XcodeMCPCore as the target for code that the SDK and the server share, without swift-nio or swift-log.

  2. lynnswap commented on Nov 19, 2026

    @lynnswap
    OwnerAuthor

    Split #486: it now covers the public names for transports, connection state access, and request timeouts. The session layer rewrite and the connection state type move to #492, because they change the recovery implementation and need their own review.

  3. lynnswap commented on Nov 19, 2026

    @lynnswap
    OwnerAuthor

    Split #492: it now covers the connection state type, the first connection, and pagination ownership, which do not change recovery. The recovery rewrite moves to #494 because it needs a decision about abandoned recoveries and its own review.

  4. lynnswap commented on Nov 19, 2026

    @lynnswap
    OwnerAuthor

    Split #487: the request timeout type moves to #496. It does not depend on the decision about initializeHandshake, and it does not depend on #494, so it is delivered first.

  5. lynnswap commented on Nov 19, 2026

    @lynnswap
    OwnerAuthor

    Split #487 again: removing the forwarding types in XcodeMCPProxyKit moves to #498, which needs no decision. #487 keeps initializeHandshake, the SDK dependency, and the second JSON type.

  6. lynnswap commented on Nov 20, 2026

    @lynnswap
    OwnerAuthor

    All sub-issues are done. The last one, #489, landed in #504, #505, #506, and #508. The remaining release task, bumping the installer pin for the renamed xcode-mcp-server command, is tracked in #507.

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