Creator Contest. Win $100. Enter →

    Guides
    github copilot
    agent mode
    mcp

    GitHub Copilot Agent Mode + MCP: Complete Setup Guide

    GitHub Copilot's agent mode supports MCP for external tool access. How to configure servers, what's supported, and how it works with SKILL.md.

    April 30, 20265 min read
    Share:

    GitHub Copilot's agent mode transformed Copilot from a code completion tool into a full AI coding agent. One of its most powerful additions is MCP support — the ability to connect to external tools and services through the Model Context Protocol.

    What agent mode + MCP enables

    With MCP servers connected, Copilot agent mode can interact with services beyond your codebase. Query databases, check CI/CD status, read project documentation from Notion, manage GitHub issues — all from within your VS Code editing session.

    This is different from Copilot's traditional code suggestions. Agent mode with MCP turns Copilot into an active participant in your development workflow, not just a passive autocomplete.

    Setting up MCP in Copilot

    MCP configuration for Copilot agent mode lives in your VS Code settings:

    1. Open VS Code Settings (Cmd/Ctrl + ,)
    2. Search for "copilot mcp"
    3. Add your MCP server configurations
    {
      "github.copilot.chat.mcpServers": {
        "filesystem": {
          "command": "npx",
          "args": ["-y", "@anthropic/mcp-filesystem", "/path/to/project"]
        },
        "github": {
          "type": "url",
          "url": "https://mcp.github.com/sse"
        }
      }
    }
    

    Restart VS Code after adding configurations.

    Compatible MCP servers

    Most MCP servers built for Claude Code or Codex CLI work with Copilot agent mode. The protocol is the same, and servers don't care which agent is calling them. Some servers optimized for terminal-based agents may have slightly different behavior in VS Code's chat interface, but the core functionality works.

    The Agensi MCP directory lists compatibility information for each server, including whether it's been tested with Copilot agent mode.

    SKILL.md with Copilot agent mode

    Copilot agent mode also supports SKILL.md skills through the .github/copilot-instructions.md file and project-level SKILL.md files. You can install skills from Agensi that work with Copilot, giving it specialized knowledge for code review, testing, deployment, and other development tasks.

    The combination of MCP for tool access and SKILL.md for behavior instructions makes Copilot agent mode significantly more capable than stock Copilot.

    Find the right skill for your workflow

    Browse our marketplace of AI agent skills, ready to install in seconds.

    Browse Skills

    Related Articles