XC

x51xxx/copilot-mcp-server

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

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:

{
GitHub で README 全文を見る

インストール

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" } } } }