Free toolGenerate .mcp.json configs for Claude Code, Cursor & Codex →
G

GitHub / Microsoft · VS Code agent mode · JetBrains, Visual Studio & others · Copilot CLI · Copilot coding agent (github.com)

GitHub Copilot

GitHub’s assistant. Agent mode in VS Code supports MCP servers configured in mcp.json.

Copilot’s two agents, step by step: Agent mode in your IDE · Coding agent (cloud agent) on GitHub

In VS Code, Copilot agent mode reads MCP servers from .vscode/mcp.json (top-level servers key) or the portable workspace-root .mcp.json (mcpServers). MCP: Add Server only offers .mcp.json when the experimental chat.mcp.workspaceRootConfig.enabled setting is on, and its guided flow labels .vscode/mcp.json and the user-profile mcp.json deprecated, though they still work. You can also install servers from the GitHub MCP Registry or with code --add-mcp. Copilot CLI uses ~/.copilot/mcp-config.json, .mcp.json or .github/mcp.json and adds servers with /mcp add or copilot mcp add. It does not read .vscode/mcp.json.

For instructions, Copilot reads .github/copilot-instructions.md, path-specific .github/instructions/*.instructions.md files and agent files (AGENTS.md, plus CLAUDE.md and GEMINI.md on some surfaces). Support varies by surface: Copilot code review on GitHub.com reads AGENTS.md only.

Sources (checked Nov 2, 2026): docs.github.com/en/copilot/how-tos/provide-context/use-mcp/extend-copilot-chat-with-mcp · docs.github.com/en/copilot/how-tos/copilot-cli/customize-copilot/add-mcp-servers · code.visualstudio.com/docs/agent-customization/mcp-servers · docs.github.com/en/copilot/reference/custom-instructions-support · AGENTS.md vs CLAUDE.md vs Cursor rules →

Add an MCP server to Copilot

VS Code uses a top-level "servers" key (not "mcpServers") and an explicit "type": "stdio" | "http".

Guides, pricing & comparisons