Skip to content

Publish server as a GitHub cli extension #215

Description

@gillisandrew

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:

  1. Run gh extension install github/gh-github-mcp-server
  2. Add the following in VS Code User Settings (JSON):
{
"mcp": {
"servers": {
"github": {
"command": "gh",
"args": [
"github-mcp-server",
"stdio"
]
}
}
}
}

Additional context

https://docs.github.com/en/github-cli/github-cli/creating-github-cli-extensions

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions