modelcontextprotocol / modelcontextprotocol/registry

Move the CLI to a framework like Cobra

Open
#936 3 comments 0 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.