Skip to content

Support for multiple Github servers? #273

Open
@ismith

Description

@ismith

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")

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions