Skip to content

Rebuild the MCP SDK v2 migration from current main #94

Closed

Description

@ElbertePlinio

Goal

Rebuild the split MCP TypeScript SDK v2 migration from current Pickforge main, without reviving the stale pre-rename stack in PR #71.

The split @modelcontextprotocol/server and @modelcontextprotocol/core packages are now stable at 2.0.0. Current Pickforge still uses monolithic @modelcontextprotocol/sdk 1.x. PR #71 proved a useful earlier design, but its base predates the rename, Flutter evidence, release hardening, and current isolation/storage contracts.

Requirements

  • Start from current main; do not merge or rebase the old multi-feature stack wholesale
  • Use the stable split v2 packages and documented stdio entrypoints
  • Preserve all current Pickforge tools, prompts, resources, elicitation behavior, evidence binding, takeover gates, and clean shutdown
  • Support the legacy protocol revisions required by current Claude Code, Codex, and Pi
  • Add explicit 2026-07-28 support only through the SDK's documented opt-in path
  • Keep stdout protocol-only and stderr bounded/redacted
  • Raw-wire tests cover every supported revision, unsupported negotiation, malformed input, EOF, transport close/error, and process shutdown
  • Real isolated-home smoke tests load the server from current Claude Code, Codex, and Pi binaries
  • Full typecheck, lint, test, coverage, build, dependency, security, Rust, and complexity gates pass
  • Record exact client and protocol versions in the Release Pickforge 0.4.0 stable #89 evidence packet

Scope

No Tasks, MRTR/input-required, sampling, HTTP transport, auth, or new product behavior unless a current supported harness requires it. File follow-ups instead.

Release gate

Blocks beta.1's three-real-harness gate in #89. It does not block alpha.2 if the existing v1 server remains compatible with all three clients.

Refs #89 and supersedes PR #71.

Activity

  1. added
    enhancement
    on Sep 4, 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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions