Skip to content

Support for multiple Github servers? #273

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

Open
ismith opened this issue Apr 14, 2025 · 1 comment
Open

Support for multiple Github servers? #273

ismith opened this issue Apr 14, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@ismith
Copy link

ismith commented Apr 14, 2025

Describe the feature or problem you’d like to solve

I commonly use both github.com and a GHEC (github.ghe.com). While I can configure github-mcp-server to talk to the latter (by setting $GHE_HOST and using a different PAT), then I'm not talking to github.com, and switching config back and forth feels like it'd be burdensome.

It's not clear to me which of these would be a better solution:

  • installing the same MCP server twice with different configs (once per --gh-host), and somehow putting the tools under a different namespace ("How many PRs are open on foo/bar? Use #list_pull_requests from the github.ghe.com MCP")
  • modifying github-mcp-server to allow for multiple (github) server configs ("How many PRs are open on github.ghe.com/foo/bar? Use #list_pull_requests")
@ismith ismith added the enhancement New feature or request label Apr 14, 2025
@ismith
Copy link
Author

ismith commented Apr 14, 2025

This may be a dupe of #206. The solution in my second bullet is also described at microsoft/vscode#243940

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant