Skip to content

fix(mcp): pickforge-mcp --version starts the stdio server instead of printing the version #120

Closed

Description

@ElbertePlinio

Found in the 0.4.0-beta.1 soak on five real Flutter projects (published-beta1/soak/REPORT.md, D1).

pickforge-mcp --version exits 0 with empty stdout and stderr pickforge-lab mcp server: listening on stdio. The installer's three-command version check therefore cannot pass literally for the MCP bin, although MCP initialize reports serverInfo.version 0.4.0-beta.1 correctly.

  • Print the version and exit for --version / -V without starting the server, or document that the bin is stdio-only and adjust INSTALL.md and the candidate smoke wording.
  • Add a test for the chosen behavior.

Refs #89

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