Copilot MCP Server logo

Copilot MCP Server

by x51xxx

Connects MCP clients to GitHub Copilot CLI for code analysis, reviews, batch changes, and controlled tool execution.

Install Copilot MCP Server

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "x51xxx-copilot-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@trishchuk/copilot-mcp-server"
      ],
      "env": {
        "COPILOT_MODEL": "YOUR_VALUE_HERE",
        "COPILOT_MCP_CWD": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Automated check passed— started and listed 8 tools correctly ().

Overview

x51xxx/copilot-mcp-server MCP server connects an MCP-enabled IDE or assistant to GitHub Copilot CLI. It exposes tools for asking Copilot questions, reviewing code, processing multiple tasks, brainstorming, and checking CLI or server status. File references use Copilot CLI's @ syntax, while request options control models, working directories, permissions, and task execution. Reach for it when an MCP client needs Copilot CLI-based analysis, refactoring, documentation work, or repeatable code operations.

Use cases

  • Analyze a repository or selected files with Copilot CLI
  • Review code for security, performance, or quality issues
  • Process repetitive refactoring tasks across multiple files
  • Generate implementation ideas with structured brainstorming
  • Run Copilot CLI from an MCP-enabled IDE or assistant

Key features

  • GitHub Copilot CLI access through MCP
  • File analysis with @ references
  • Batch task execution with progress reporting
  • Configurable tool permissions and directory access
  • Security, performance, and quality code reviews
  • Model and working-directory configuration

Tools8

What Copilot MCP Server lets your agent do. Expand a tool for its parameters.

Verified live~2.4k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

24/25 checks healthy over the last 112d

What it can do

From the 8 tools this server returned when we ran it.

Runs commands · 1Read-only tools · 7
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceNot published
Package age411 days
Maintainers1

Observed 2026-11-13 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 11d ago via OSV.dev · @trishchuk/copilot-mcp-server (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars6Stargazers on the source repository.
npm downloads125Package downloads in the last 30 days.
Last commit12mo agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed8Callable tools this server registers over MCP.
Directory activity7 viewsConfig copies, upvotes, and views on AllMCPs.

How Copilot MCP Server works

What x51xxx/copilot-mcp-server MCP server does

The x51xxx/copilot-mcp-server MCP server places GitHub Copilot CLI behind an MCP interface for IDEs and AI assistants. It supports repository and file analysis through prompts, including references such as @src/ or @package.json. The server is intended for non-interactive Copilot CLI use and can report progress while commands run.

Its main use cases include explaining code, reviewing files for security or quality concerns, suggesting fixes, refactoring groups of files, and handling documentation or CI-related automation. It also includes a brainstorming tool that can apply structured frameworks, domain context, and feasibility analysis.

How it works

An MCP client starts the server, which launches GitHub Copilot CLI for supported requests. The ask tool accepts natural-language instructions and can pass file references, model selections, working-directory settings, permission controls, directory access, logging options, and resumable session information to Copilot CLI.

The batch tool handles multiple atomic tasks either sequentially or in parallel. Requests can assign priorities and choose whether execution stops after an error. The server returns progress and execution details for these operations. The review tool provides focused code reviews with review categories such as security, performance, and quality, along with reporting and severity filtering.

Setup and configuration

x51xxx/copilot-mcp-server requires Node.js 18 or newer and GitHub Copilot CLI. The documented NPX setup registers @trishchuk/copilot-mcp-server as an MCP command. Claude Desktop can use the same command and package in its MCP configuration, while Claude Code can import an existing Claude Desktop registration.

COPILOT_MODEL sets the default model. The documented values include claude-sonnet-4.5, claude-sonnet-4, and gpt-5; a request-level model value takes precedence over the environment variable. COPILOT_MCP_CWD sets the directory where Copilot CLI runs, which is useful when an IDE starts the server outside the project directory. A request-level workingDir overrides it.

The working-directory fallback order is request parameter, COPILOT_MCP_CWD, shell directory variables, a directory inferred from an @ reference, and finally the process directory. After changing an MCP configuration, restart the relevant client or terminal session.

Tools and capabilities

  • ask: Run Copilot CLI prompts with file references, tool permissions, directory access, logging, and session controls.
  • batch: Execute several atomic tasks with ordering, priority, error-handling, progress, and timing information.
  • review: Run security, performance, quality, or other supported review types with detailed results.
  • brainstorm: Generate ideas using structured methods and optional domain or feasibility context.
  • ping: Echo a request.
  • Help: Return Copilot CLI help information.
  • version: Show Copilot and MCP server version or system information.
  • timeout-test: Run a timed operation to test timeout prevention.

Limitations and notes

x51xxx/copilot-mcp-server depends on GitHub Copilot CLI being installed and available, in addition to Node.js. It does not replace Copilot CLI; the MCP tools delegate their work to that command-line program. File access and command execution depend on the permissions and directories granted to Copilot CLI. The server defaults to allowing all tools for non-interactive operation, so configure permission and directory options carefully when restricting execution.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Copilot MCP Server

x51xxx/copilot-mcp-server is an MCP server that connects MCP-enabled IDEs and AI assistants to GitHub Copilot CLI. Its main tools include ask for prompts and file analysis, batch for multiple tasks, and review for code checks. It also provides brainstorming, help, version, ping, and timeout-test utilities.

Install it through NPX by registering `npx -y @trishchuk/copilot-mcp-server` with your MCP client. Node.js 18 or newer and GitHub Copilot CLI must already be available. In Claude Code, the documented command is `claude mcp add copilot-cli -- npx -y @trishchuk/copilot-mcp-server`.

Yes, it is described as working with Cursor and other standard MCP clients. Configure the server using the client’s MCP registration format and start it with NPX or a global `copilot-mcp` installation. GitHub Copilot CLI remains a required dependency.

Set `COPILOT_MCP_CWD` to the project’s absolute path in the MCP server configuration. A request-level `workingDir` takes priority over that variable. This setting helps when an IDE starts the server from a directory where Copilot CLI cannot locate the project files.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewCopilot MCP Server AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/x51xxx-copilot-mcp-server?style=directory)](https://allmcps.com/mcp/x51xxx-copilot-mcp-server)
HTML Embed
<a href="https://allmcps.com/mcp/x51xxx-copilot-mcp-server"><img src="https://allmcps.com/api/badge/x51xxx-copilot-mcp-server?style=directory" alt="Copilot MCP Server on AllMCPs" /></a>