XC

x51xxx/copilot-mcp-server

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

5 stars 4 forks Качество 71 Тренд 13MIT

MCP server for GitHub Copilot CLI integration

Обзор

is an open‑source Model Context Protocol (MCP) server that connects your IDE or AI assistant (Claude, Cursor, etc.) to . It enables non‑interactive automation, safe tool execution with permissions, and large‑scale code analysis via @ file references. Built for reliability and speed, it streams progress updates, and integrates cleanly with standard MCP clients for code review, refactoring, documentation, and CI automation. - : Ask GitHub Copilot CLI questions from your MCP client, with comprehensive tool management - : Batch processing, code review, and brainstorming capabilities : Use GitHub Copilot CLI directly from your MCP-enabled editor to analyze and edit code efficiently. Before using this tool, ensure you have: Type /mcp inside Claude Code to verify the Copilot MCP is active. If you already have it configured in Claude Desktop: Register the MCP server with your MCP client: Add this configuration to your Claude Desktop config file:

README

Показан фрагмент оригинального README. Открыть оригинал.

Copilot MCP Tool

Copilot MCP Tool is an open‑source Model Context Protocol (MCP) server that connects your IDE or AI assistant (Claude, Cursor, etc.) to GitHub Copilot CLI. It enables non‑interactive automation, safe tool execution with permissions, and large‑scale code analysis via @ file references. Built for reliability and speed, it streams progress updates, and integrates cleanly with standard MCP clients for code review, refactoring, documentation, and CI automation.

  • Primary: Ask GitHub Copilot CLI questions from your MCP client, with comprehensive tool management
  • Advanced: Batch processing, code review, and brainstorming capabilities

TLDR: + GitHub Copilot CLI

Goal: Use GitHub Copilot CLI directly from your MCP-enabled editor to analyze and edit code efficiently.

Prerequisites

Before using this tool, ensure you have:

  1. Node.js (v18.0.0 or higher)
  2. GitHub Copilot CLI - Required

One-Line Setup

claude mcp add copilot-cli -- npx -y @trishchuk/copilot-mcp-server

Verify Installation

Type /mcp inside Claude Code to verify the Copilot MCP is active.


Alternative: Import from Claude Desktop

If you already have it configured in Claude Desktop:

  1. Add to your Claude Desktop config:
"copilot-cli": {
  "command": "npx",
  "args": ["-y", "@trishchuk/copilot-mcp-server"]
}
  1. Import to Claude Code:
claude mcp add-from-claude-desktop

Configuration

Register the MCP server with your MCP client:

Add this configuration to your Claude Desktop config file:

{
  "mcpServers": {
    "copilot-cli": {
      "command": "npx",
      "args": ["-y", "@trishchuk/copilot-mcp-server"],
      "env": {
        "COPILOT_MODEL": "claude-sonnet-4.5"
      }
    }
  }
}

For Global Installation

If you installed globally, use this configuration instead:

{
Открыть полный README на GitHub

Установка

npx -y @trishchuk/copilot-mcp-server
Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "copilot-cli": { "command": "npx", "args": ["-y", "@trishchuk/copilot-mcp-server"], "env": { "COPILOT_MODEL": "claude-sonnet-4.5" } } } }