Skip to content

feat(cli): add scope flag completion for mcp install - #93

Merged
benbenbang merged 1 commit into
mainfrom
fix/mcp-scope-completion
Oct 14, 2026
Merged

benbenbang merged 1 commit into
mainfrom
fix/mcp-scope-completion

Conversation

@benbenbang

Copy link
Copy Markdown
Member

Register a Cobra flag completion function for the --scope flag on the
mcp install commands. Claude subcommands suggest user, local, and
project, while Codex offers only user, with prefix matching and no
filename suggestions.

Add tests covering the new completion behavior and document shell
completion setup and the scope suggestions in the CLI usage guide.

Register a Cobra flag completion function for the `--scope` flag on the
`mcp install` commands. Claude subcommands suggest `user`, `local`, and
`project`, while Codex offers only `user`, with prefix matching and no
filename suggestions.

Add tests covering the new completion behavior and document shell
completion setup and the scope suggestions in the CLI usage guide.
@benbenbang
benbenbang enabled auto-merge (squash) October 14, 2026 06:28
@github-actions github-actions Bot added documentation Improvements or additions to documentation triage labels Oct 14, 2026
@benbenbang
benbenbang merged commit 44d8726 into main Oct 14, 2026
5 checks passed
@benbenbang
benbenbang deleted the fix/mcp-scope-completion branch October 14, 2026 06:29
@ptah-bw-technical-app

Copy link
Copy Markdown

🎉 This PR is included in version 1.7.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Labels

documentation Improvements or additions to documentation released triage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant