Title: Support repository-level Copilot CLI MCP configuration · Issue #1291 · github/copilot-cli · GitHub
Open Graph Title: Support repository-level Copilot CLI MCP configuration · Issue #1291 · github/copilot-cli
X Title: Support repository-level Copilot CLI MCP configuration · Issue #1291 · github/copilot-cli
Description: Describe the feature or problem you'd like to solve Currently, MCP servers for the CLI can only be configured globally via ~/.copilot/mcp-config.json, VSCode can be per folder/project Proposed solution Currently, MCP servers can only be ...
Open Graph Description: Describe the feature or problem you'd like to solve Currently, MCP servers for the CLI can only be configured globally via ~/.copilot/mcp-config.json, VSCode can be per folder/project Proposed solu...
X Description: Describe the feature or problem you'd like to solve Currently, MCP servers for the CLI can only be configured globally via ~/.copilot/mcp-config.json, VSCode can be per folder/project Proposed ...
Opengraph URL: https://github.com/github/copilot-cli/issues/1291
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Support repository-level Copilot CLI MCP configuration","articleBody":"### Describe the feature or problem you'd like to solve\n\nCurrently, MCP servers for the CLI can only be configured globally via ~/.copilot/mcp-config.json, VSCode can be per folder/project\n\n### Proposed solution\n\nCurrently, MCP servers can only be configured globally via ~/.copilot/mcp-config.json.\n\nFeature Request:\nEnable repository-level MCP server configuration, similar to LSP servers. This would allow teams to:\n- Share project-specific MCP servers via version control\n- Automatically enable relevant MCP tools when working in specific directories\n- Keep global config clean by only loading servers when needed\n\nProposed Implementation:\n```\n// .github/mcp.json\n{\n 'servers': {\n 'ProjectSpecificServer': {\n 'type': 'stdio',\n 'command': 'dotnet',\n 'args': ['run', '--project', '../mcp-servers/project-mcp/project-mcp.csproj'],\n 'env': { 'CONNECTION_STRING': '...' }\n }\n }\n}\n```\n\nThis would work exactly like the .vscode folder where we can have custom MCP server for each project/folder\n\n### Example prompts or workflows\n\n_No response_\n\n### Additional context\n\n_No response_","author":{"url":"https://github.com/pmb5","@type":"Person","name":"pmb5"},"datePublished":"2026-02-04T17:16:40Z","url":"https://github.com/github/copilot-cli/issues/1291"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| 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:bf96da6f-86ed-6165-ed51-ea34ac80f771 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A9BA:D74D4:101CCC:15B98D:6AECFB4F |
| html-safe-nonce | 8f6cb38dee7f253d640466c3ced02bd30bb3a6a0bfa21c25d1ca054324ecece2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOUJBOkQ3NEQ0OjEwMUNDQzoxNUI5OEQ6NkFFQ0ZCNEYiLCJ2aXNpdG9yX2lkIjoiNTgxMzk1NjU3MDIxMDE3MTcyNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e25a5d8fe9bf4ad27741de581a0b5d16705fc5b189f056078fdaf8824effaeec |
| hovercard-subject-tag | issue:3897575444 |
| 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/copilot-cli/1291/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c23ec69119922995d1880fdcc7e0a8765d106f41c5dce5f0c632424d8347e123/github/copilot-cli/issues/1291 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c23ec69119922995d1880fdcc7e0a8765d106f41c5dce5f0c632424d8347e123/github/copilot-cli/issues/1291 |
| og:image:alt | Describe the feature or problem you'd like to solve Currently, MCP servers for the CLI can only be configured globally via ~/.copilot/mcp-config.json, VSCode can be per folder/project Proposed solu... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | pmb5 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 76be9fd7856c8274dcfc751356c6c2dc12374a9696cbae1046752a000b9a5ca9 |
| turbo-cache-control | no-preview |
| go-import | github.com/github/copilot-cli git https://github.com/github/copilot-cli.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 585860664 |
| octolytics-dimension-repository_nwo | github/copilot-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 585860664 |
| octolytics-dimension-repository_network_root_nwo | github/copilot-cli |
| 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 | f3ae5cc8182dfd6f403dc93a15ed8017d5ee795b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width