modelcontextprotocol / modelcontextprotocol/registry
Move the CLI to a framework like Cobra
Open
@deerajkumar18 is already working on this.
Since Feb 17, 2026.
enhancement
go
- Dominant language
- Go
- Stars
- 7.3k
- Forks
- 994
- Avg merge
- 4d 12h
- Merged PRs (30d)
- 19
Description
The following issue is about moving the CLI to a proper framework like cobra which would give us a few things for granted
Benefits:
- Automatic help generation and version handling
- Built-in shell completion support (bash/zsh/fish/PowerShell)
- Better flag validation and error messages
- Easier to add new commands/subcommands
- Consistent with popular CLI tools (kubectl, gh, hugo, etc.)
- More testable command structure
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.