
Optimal routing with ExpressRoute – Revisited
June 28, 2026Master the Command Line with GitHub Copilot CLI:
June 28, 2026If you use the GitHub Copilot CLI with Model Context Protocol (MCP) servers, you may have hit this message on launch: Copilot CLI’s incomplete support for This is a quick, one-time fix. Here’s what changed, why, and exactly what you need to do. The Copilot CLI previously made a best-effort attempt to read Your The VS Code and Copilot CLI configuration formats look similar but are not identical. Two differences trip people up: Because of these differences, you can’t just rename the file — you also need to adjust its contents. Locate the VS Code MCP file you’ve been using, for example: Convert it to the Copilot CLI format by renaming the top-level key and adding Prefer the change to live with your repository so teammates pick it up automatically? Put the same content in From the directory containing the new file, list the servers the CLI can see: You should see your server reported, for example This setting is per-directory. If you run
.vscode/mcp.json has been removed. See https://gh.io/copilotcli-mcpmigrate to migrate to .mcp.json or .github/mcp.json.
What Changed
.vscode/mcp.json, the file VS Code uses to define MCP servers. That support was incomplete, so it has been removed. The CLI now loads MCP servers only from its own dedicated files:
.mcp.json in your project root (or working directory)
.github/mcp.json in your repository
.vscode/mcp.json file is not deleted and still works for VS Code. The CLI simply no longer reads it.
Why It Matters
servers in VS Code, but mcpServers in the CLI.
type field on each server (for example, “local” for a stdio command-based server, or “http” for a remote server).
What You Need to Do
Step 1: Find your existing config
// .vscode/mcp.json (VS Code format)
{
“servers”: {
“workiq”: {
“command”: “npx”,
“args”: [“-y”, “@microsoft/workiq”, “mcp”],
“tools”: [“*”]
}
}
}
Step 2: Create
.mcp.json in the same directory
“type”:
// .mcp.json (Copilot CLI format)
{
“mcpServers”: {
“workiq”: {
“type”: “local”,
“command”: “npx”,
“args”: [“-y”, “@microsoft/workiq”, “mcp”],
“tools”: [“*”]
}
}
}
.github/mcp.json instead.
Step 3: Verify
copilot mcp list
workiq (local), and the startup warning will stop.
Quick Reference
VS Code (
.vscode/mcp.json)Copilot CLI (
.mcp.json / .github/mcp.json)
Top-level key
serversTop-level key
mcpServers
No
type fieldAdd
“type”: “local” (stdio) or “http” (remote)
Read by VS Code only
Read by Copilot CLI only
Don’t Forget Your Other Repositories
copilot inside multiple projects that each have a .vscode/mcp.json, repeat the migration in each one. The change is always the same: rename servers to mcpServers and add a type to every server.
Key Takeaways
.vscode/mcp.json.
.mcp.json (project) or .github/mcp.json (repo).
servers to mcpServers and add “type” to each server.
.vscode/mcp.json in place so VS Code keeps working.
copilot mcp list.
Learn More