-
Notifications
You must be signed in to change notification settings - Fork 562
Publish server as a GitHub cli extension #215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
We're already looking into doing this, so thanks for the feedback on the direction! |
@williammartin Great happy to add to the discussion. Piggybacking off of the CLI's OAuth token would be particularly interesting since provisioning PATs with long lifetimes is a non-starter for many enterprise users. Thanks for looking into it! |
@williammartin I have built something for this already, how do we make it available for users |
Happy for you to share it here and we can talk about it, thanks. However, it's likely that if we did ship an extension, we would want to take ownership over the maintenance and release cycle. |
@williammartin would you rather I raise a PR for that here, or a paste here a repo link containing the code? |
Go ahead and link it here for the moment, thank you. |
@williammartin Here you go gh-github-mcp-server |
Thanks @MayorFaj, I think the decision we need to make here is how to ship the extension so that it is installable on various supported platforms. This requires having the executable artifacts attached to a release, which means we either:
With each of those we then need to make a decision on how best to do releases of the extension. |
Thanks @williammartin I believe option 2 would be great, but would need restructuring of the github-mcp-server codebase. Option 1 is more like what we have currently (but needs some refactoring) |
Describe the feature or problem you’d like to solve
Provide a simplified installation and configuration experience to users with the GitHub cli already installed and configured.
Proposed solution
Publish the stdio server as a github extension that reuses the cli's token to authorize api actions. Installation instructions would be something like:
gh extension install github/gh-github-mcp-server
Additional context
https://docs.github.com/en/github-cli/github-cli/creating-github-cli-extensions
The text was updated successfully, but these errors were encountered: