Build With Abdallah logo Build With Abdallah Software · AI · Automation
Tutorial 7 min read Jun 05, 2026

GitHub Copilot Agent Mode is Now Generally Available with MCP Support

Microsoft has officially moved GitHub Copilot's Agent Mode from preview to general availability. Here's what changed, how MCP support works, and how to configure it in VS Code and Visual Studio.

A
Abdallah Mohamed
Senior Full-Stack Engineer
GitHub Copilot Agent Mode is Now Generally Available with MCP Support

GitHub Copilot Agent Mode is Now Generally Available with MCP Support

Agent Mode is no longer an experiment. On June 17, 2025, Microsoft announced that GitHub Copilot Agent Mode is now generally available in Visual Studio — complete with full Model Context Protocol (MCP) support, tool calling, and autonomous multi-step task execution. If you have been waiting for a signal that AI-assisted development is ready for production workflows, this is it.

What Changed: From Preview to GA

Agent Mode first appeared as a technical preview in early 2025. It allowed Copilot to act less like a chatbot and more like a pair programmer who could plan, execute, and self-correct across multiple files. The GA release makes three things official:

  1. Agent Mode is stable and supported — no more preview flags or "use at your own risk" disclaimers.
  2. MCP support is built in — you can connect external tools, databases, APIs, and services through the open Model Context Protocol.
  3. Tool calling is native — the agent can invoke tools from your workspace, terminal, and third-party MCP servers automatically.

According to Microsoft's Visual Studio Blog, Agent Mode "turns GitHub Copilot into an autonomous pair programmer capable of handling multi-step development tasks from end to end. It builds a plan, executes it, adapts along the way, and loops through tasks until completion."[1]

What Agent Mode Can Actually Do

The difference between Ask Mode and Agent Mode is the difference between consultation and delegation:

  • Ask Mode works conversationally. You guide it with prompts, give context, and steer the direction.
  • Agent Mode executes the goal. You describe what you want — "Add a retry mechanism to this API call with exponential backoff and a unit test" — and it identifies the right files, applies changes, runs builds, and fixes errors.

In practice, this means Agent Mode can:

  • Analyze your codebase and propose edits across multiple files
  • Run terminal commands, builds, and tests
  • Respond to build or lint errors and self-correct
  • Access external tools via MCP servers (GitHub, Azure, databases, monitoring systems)
  • Keep you in control with editable previews, undo, and a live action feed

MCP Support: The Game Changer

Model Context Protocol (MCP) is an open standard that connects AI agents to external tools and services. Microsoft describes it as "similar to how HTTP standardized web communication."[1] With MCP, any compatible client can integrate tool servers without writing custom connections for each one.

In Visual Studio and VS Code, MCP support means your Copilot agent can now access:

  • GitHub repositories — retrieve issues, check history, search code, create PRs
  • CI/CD pipelines — trigger builds, check status, read logs
  • Monitoring and telemetry — query application performance data
  • Design systems — Figma MCP servers can feed mockup data directly into your agent context
  • Databases and APIs — any service with an MCP server becomes reachable

VS Code's May 2025 release (v1.101) expanded MCP capabilities significantly: prompts and resources support, authentication for remote MCP servers, development mode for debugging Node.js and Python MCP servers, and tool sets for grouping related tools.[2]

How to Enable Agent Mode

In Visual Studio (June 2025 update)

  1. Install the Visual Studio June 2025 update (17.14 or later).
  2. Open Copilot Chat from the View menu.
  3. Click the Ask button and switch to Agent.
  4. The agent will prompt you to trust the feature on first use.

In VS Code

  1. Update to VS Code 1.101 or later (released June 12, 2025).
  2. Open the Copilot Chat panel (Ctrl+Alt+I).
  3. Click the mode selector (currently showing "Ask") and choose Agent.
  4. Confirm any trust prompts.

How to Connect Your First MCP Server

Option 1: Install from the MCP Gallery (VS Code)

  1. Open the Extensions view (Ctrl+Shift+X).
  2. Search @mcp to browse available servers.
  3. Click Install for the server you want (for example, the GitHub MCP server or Playwright MCP server).
  4. VS Code automatically updates your .vscode/mcp.json or user-profile configuration.

Option 2: Manual Configuration

Create or edit .vscode/mcp.json in your workspace:

{
  "servers": {
    "github": {
      "command": "npx",
      "args": ["-y", "@github/mcp-server"],
      "env": {
        "GITHUB_PERSONAL_ACCESS_TOKEN": "${input:github-token}"
      }
    }
  }
}

Security note: VS Code supports input variables that prompt you once, then encrypt and store secrets securely. Avoid hardcoding API keys in mcp.json.[3]

Option 3: Visual Studio Native Configuration

Visual Studio uses the native mcp.json file for MCP server configuration and also detects compatible configurations from other environments like .vscode/mcp.json.[1]

Tool Sets: Organize Your Agent's Capabilities

VS Code v1.101 introduced tool sets — collections of related tools you can group and toggle as a unit. For example, you might create a "DevOps" tool set containing deployment, monitoring, and CI/CD tools, and only enable it when working on infrastructure tasks.

To create a tool set:

  1. Open the Command Palette (Ctrl+Shift+P).
  2. Run Configure Tool Sets > Create new tool sets file.
  3. Select the tools to include, add a description and icon.
  4. Reference the tool set in chat with #tool-set-name.

Real-World Use Cases

Here is what Agent Mode + MCP looks like in practice:

Scenario 1: Full-Stack Feature Implementation Prompt: "Add 'buy now' functionality to my product page. Include the frontend component, API endpoint, and database migration." The agent plans the work, edits the React/Vue component, creates the Laravel/Express route, writes the migration, runs tests, and fixes any type errors.

Scenario 2: Intelligent Debugging Prompt: "This API call is failing intermittently. Add a retry mechanism with exponential backoff and write a unit test that simulates failure." The agent locates the API client, implements the retry logic, adds the test, runs it, and verifies the build passes.

Scenario 3: Cross-System Workflow with MCP With the GitHub MCP server connected, you can ask: "Find all open issues labeled 'bug' in this repo, then create a branch and implement fixes for the top three." The agent queries GitHub, reads issue details, creates branches, writes fixes, and opens pull requests — without you leaving your editor.

What This Means for Solo Developers and Small Teams

Agent Mode going GA is a signal that AI-assisted development has crossed from novelty to infrastructure. For solo developers and small teams, the practical impact is:

  • Reduced context switching — the agent handles multi-file changes, terminal commands, and external tool interactions in one session.
  • Lower cognitive load — you describe intent, not implementation steps.
  • Extensible workflows — MCP means you are not locked into Microsoft's tool ecosystem. Any service with an MCP server becomes part of your agent's toolkit.
  • Team consistency — reusable prompt files and shared mcp.json configurations let teams standardize how agents interact with their stack.

Limitations to Know

Agent Mode is powerful, but it is not magic. Microsoft notes that "the more precise your instructions and context, the more effective the outcome."[1] You should still review all changes, especially when the agent modifies critical paths like authentication, payment processing, or database schemas. The editable previews and undo functionality are there for a reason — use them.

Bottom Line

GitHub Copilot Agent Mode hitting general availability with native MCP support marks a meaningful shift in how developers interact with AI. It is no longer just about code completion or chat assistance. It is about delegating end-to-end development tasks to an agent that can plan, execute, and integrate with your entire toolchain.

If you have not tried Agent Mode yet, the June 2025 updates in VS Code and Visual Studio are the right time to start.


Sources

  1. Agent mode is now generally available with MCP support - Microsoft Visual Studio Blog — June 17, 2025
  2. GitHub Copilot in VS Code May release (v1.101) - GitHub Changelog — June 13, 2025
  3. Add and manage MCP servers in VS Code - Visual Studio Code Docs
  4. May 2025 (version 1.101) - Visual Studio Code Updates — June 12, 2025
  5. Beyond the tools, adding MCP in VS Code - VS Code Blog — May 14, 2025

Follow BuildWithAbdallah for more hands-on engineering content on AI agents, Laravel, and developer tooling.