Skip to content

docs: add CLI command flags reference to README#2192

Open
Br1an67 wants to merge 1 commit intomodelcontextprotocol:mainfrom
Br1an67:fix/issue-457-cli-docs
Open

docs: add CLI command flags reference to README#2192
Br1an67 wants to merge 1 commit intomodelcontextprotocol:mainfrom
Br1an67:fix/issue-457-cli-docs

Conversation

@Br1an67
Copy link

@Br1an67 Br1an67 commented Mar 1, 2026

Summary

Adds a "CLI Command Flags" reference section to README.v2.md, documenting all available flags for the mcp run, mcp dev, and mcp install subcommands.

Fixes #457

Problem

The -t/--transport flag for mcp run (and other CLI flags) were not documented in the README, making it difficult for users and LLMs to discover them without reading the source code.

Changes

  • README.v2.md: Added a "CLI Command Flags" subsection under "Running Your Server" with tables documenting all flags for each subcommand, including usage examples.

Document all available flags for `mcp run`, `mcp dev`, and
`mcp install` subcommands, including the `-t/--transport` flag
for `mcp run` which was previously undocumented.

Fixes modelcontextprotocol#457
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Documentation for mcp command flags

1 participant