Skip to content

CLI version flags are rejected for package binaries #66

Description

@xianzuyang9-blip

The published @insforge/mcp package rejects standard version flags for all package binaries.

Reproduction:

npm exec --yes --package=@insforge/mcp@1.2.11 -- mcp --version
npm exec --yes --package=@insforge/mcp@1.2.11 -- insforge-mcp --version
npm exec --yes --package=@insforge/mcp@1.2.11 -- insforge-mcp-server --version

Observed result:

error: unknown option '--version'

Expected result: each binary should print the installed package version and exit without starting the MCP server.

I opened PR #65 with a fix: it adds -v/--version support to the stdio and HTTP entrypoints and reads the version from package.json.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions