Skip to content

test: Migrate integration suite to the v2 SDK client #1169

Description

@jirispilka

Follow-up to #1132, which types the integration suite's createClientFn as a union of the v1 (@modelcontextprotocol/sdk) and v2 (@modelcontextprotocol/client) clients.

Once the v2 SDK leaves beta, migrate all suite transports to the v2 client — it negotiates both protocol eras via connect(..., { mode: 'auto' }) — and remove:

  • the union type from createClientFn,
  • the v1-client narrows in the legacy-only Tasks cases,
  • the v1 client from the suite entirely.

Blocked on: v2 SDK stable release.

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