Title: Support the ability to have multiple instances running at the same time · Issue #206 · github/github-mcp-server · GitHub
Open Graph Title: Support the ability to have multiple instances running at the same time · Issue #206 · github/github-mcp-server
X Title: Support the ability to have multiple instances running at the same time · Issue #206 · github/github-mcp-server
Description: Hi. My organization is currently slowing migrating from a hosted Github Enterprise Server instance to Github Enterprise Cloud. When I try to use VS Code's Agent support, I can configure two distinct tools with different names and differe...
Open Graph Description: Hi. My organization is currently slowing migrating from a hosted Github Enterprise Server instance to Github Enterprise Cloud. When I try to use VS Code's Agent support, I can configure two distinc...
X Description: Hi. My organization is currently slowing migrating from a hosted Github Enterprise Server instance to Github Enterprise Cloud. When I try to use VS Code's Agent support, I can configure two dis...
Opengraph URL: https://github.com/github/github-mcp-server/issues/206
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Support the ability to have multiple instances running at the same time","articleBody":"Hi.\n\nMy organization is currently slowing migrating from a hosted Github Enterprise Server instance to Github Enterprise Cloud. When I try to use VS Code's Agent support, I can configure two distinct tools with different names and different configurations. Something like this:\n\n\n```json\n{ \n \"chat.agent.enabled\": true,\n \"mcp\": {\n \"inputs\": [\n {\n \"type\": \"promptString\",\n \"id\": \"ghec_token\",\n \"description\": \"GitHub Enterprise Cloud Personal Access Token\",\n \"password\": true\n },\n {\n \"type\": \"promptString\",\n \"id\": \"ghes_token\",\n \"description\": \"GitHub Enterprise Server Personal Access Token\",\n \"password\": true\n }\n ],\n \"servers\": {\n \"GHEC\": {\n \"command\": \"github-mcp-server\",\n \"args\": [\n \"stdio\"\n ],\n \"env\": {\n \"GITHUB_PERSONAL_ACCESS_TOKEN\": \"${input:ghec_token}\"\n }\n }, \n \"GHES\": {\n \"command\": \"github-mcp-server\",\n \"args\": [\n \"stdio\"\n ],\n \"env\": {\n \"GITHUB_PERSONAL_ACCESS_TOKEN\": \"${input:ghes_token}\",\n \"GH_HOST\": \"https://someotherdomain.com\"\n }\n } \n } \n }\n}\n```\n\nThe problem is that the Agent is confused and seems to pin itself to only the set of tools exposed by one of the servers, hence I cannot navigate between the repos hosted on both Github instances. I can't seem to \"prompt\" engineer my way out of this.\n\nThe Github MCP server docs show how to overwrite individual tool descriptions. I haven't tried, but I guess I could override the tool descriptions for both servers, explicitly call out one set is for GHEC, one for GHES, and see if I can then adjust the prompt to force it to use one set of tools, so one server, or the other. But I'm hoping there's a better way to do this.\n\nThis may be more of a VS Code issue, but maybe there's something in how the server is actually implemented that could help facilitate this use case.\n\nThank you!","author":{"url":"https://github.com/ylazzari","@type":"Person","name":"ylazzari"},"datePublished":"2025-04-09T17:35:09.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":11},"url":"https://github.com/206/github-mcp-server/issues/206"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:1aac39c0-50fa-dc87-d848-d98e07655575 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B160:3EB1A5:793825:A6E71A:6A6112CF |
| html-safe-nonce | 92ad9799b18ba5d447a01174e11a54bfa3e38ab2c705b7ebdee62734fd92b1f4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMTYwOjNFQjFBNTo3OTM4MjU6QTZFNzFBOjZBNjExMkNGIiwidmlzaXRvcl9pZCI6Ijk2NzkyNTE4MzIwOTg3MDAzMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 42aea88757f436f8cc8e881d002d84fe1053e0dcd62a8f40e5a14fed12aef430 |
| hovercard-subject-tag | issue:2983462750 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/github/github-mcp-server/206/issue_layout |
| twitter:image | https://opengraph.githubassets.com/95eb471e440fec9f83df158aea80c84b66d0480293e620789efc756e75e1116c/github/github-mcp-server/issues/206 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/95eb471e440fec9f83df158aea80c84b66d0480293e620789efc756e75e1116c/github/github-mcp-server/issues/206 |
| og:image:alt | Hi. My organization is currently slowing migrating from a hosted Github Enterprise Server instance to Github Enterprise Cloud. When I try to use VS Code's Agent support, I can configure two distinc... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ylazzari |
| hostname | github.com |
| expected-hostname | github.com |
| None | f6dfd8e93b1f2b4f7bf96e6f6cd7edcd48360b75fee4f2ff9f611032fce38ec2 |
| turbo-cache-control | no-preview |
| go-import | github.com/github/github-mcp-server git https://github.com/github/github-mcp-server.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 942771284 |
| octolytics-dimension-repository_nwo | github/github-mcp-server |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 942771284 |
| octolytics-dimension-repository_network_root_nwo | github/github-mcp-server |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 731b2ebd4784c28b421dc5f41abecd2dbac357f2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width