You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Copilot CLI 1.0.58 does not auto-load project-level .copilot/mcp-config.json #3642
Copilot CLI 1.0.58 does not auto-load .copilot/mcp-config.json from the current working directory (project root). Only ~/.copilot/mcp-config.json is read automatically. As a result, MCP servers declared at the project level are silently absent from the session until the user passes --additional-mcp-config @<path> explicitly on every invocation.
This breaks any project that expects per-repo MCP configuration to be applied transparently (the same pattern used by VS Code / Claude Code / cursor).
Reproduction
Install @github/copilot@1.0.58 globally.
In an empty repo, create .copilot/mcp-config.json:
The @ prefix is required (means "read JSON from file"). We are shipping this workaround in @bradygaster/squad-cli 0.9.6-preview.8 across all 10 of our copilot spawn sites.
Why this matters
Project-local MCP config is the natural way for frameworks (squad, etc.) to ship a curated MCP surface alongside the code. With the current behavior the framework must wrap every copilot invocation, which is fragile and easy to miss.
Ask
Document the current behavior (no auto-load of project .copilot/mcp-config.json) in CLI docs.
Consider auto-merging project-level config when present (with precedence rules vs ~/.copilot/mcp-config.json).
Environment
Copilot CLI: 1.0.58
OS: Windows 11 (reproduced; same behavior expected on macOS/Linux)
Thanks @caarlos0 — confirmed via copilot mcp --help on 1.0.58:
Configuration is loaded from multiple sources:
User ~/.copilot/mcp-config.json
Workspace .mcp.json
Plugin Installed plugins with MCP servers
So .mcp.json at repo root is the supported project-local path. Closing as resolved — we'll move @bradygaster/squad-cli to that path on our side (additive migration, so existing .copilot/mcp-config.json files aren't broken on upgrade).
Friendly doc nit while I'm here: the README documents the LSP config paths (.github/lsp.json, ~/.copilot/lsp-config.json) but is silent on the MCP equivalents. Mirroring that LSP section for MCP would have saved this round trip. 🙂
Activity
caarlos0 commentedon Jun 2, 2026
Hey Tamir!
Project's MCP settings are loaded from
.mcp.json.You can see the list of paths in
copilot mcp --help.tamirdresher commentedon Jun 2, 2026
Thanks @caarlos0 — confirmed via
copilot mcp --helpon 1.0.58:So
.mcp.jsonat repo root is the supported project-local path. Closing as resolved — we'll move@bradygaster/squad-clito that path on our side (additive migration, so existing.copilot/mcp-config.jsonfiles aren't broken on upgrade).Friendly doc nit while I'm here: the README documents the LSP config paths (
.github/lsp.json,~/.copilot/lsp-config.json) but is silent on the MCP equivalents. Mirroring that LSP section for MCP would have saved this round trip. 🙂