{"id":40048877,"url":"https://github.com/aykahshi/copilot-mcp-tool","last_synced_at":"2026-02-24T11:05:50.340Z","repository":{"id":328757343,"uuid":"1109634799","full_name":"Aykahshi/copilot-mcp-tool","owner":"Aykahshi","description":"MCP server that enables AI assistants to interact with Github Copilot cli, leveraging copilot massive token window for large file analysis and codebase understanding","archived":false,"fork":false,"pushed_at":"2025-12-28T06:23:14.000Z","size":381,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-30T13:48:58.984Z","etag":null,"topics":["ai-agents","claude-code","cursor","github-copilot","mcp-server","vscode"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Aykahshi.png","metadata":{"files":{"readme":"README-zh.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-04T04:32:28.000Z","updated_at":"2025-12-28T06:23:18.000Z","dependencies_parsed_at":"2025-12-18T06:00:05.172Z","dependency_job_id":null,"html_url":"https://github.com/Aykahshi/copilot-mcp-tool","commit_stats":null,"previous_names":["aykahshi/copilot-mcp-tool"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Aykahshi/copilot-mcp-tool","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aykahshi%2Fcopilot-mcp-tool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aykahshi%2Fcopilot-mcp-tool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aykahshi%2Fcopilot-mcp-tool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aykahshi%2Fcopilot-mcp-tool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Aykahshi","download_url":"https://codeload.github.com/Aykahshi/copilot-mcp-tool/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aykahshi%2Fcopilot-mcp-tool/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28562227,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T03:31:16.861Z","status":"ssl_error","status_checked_at":"2026-01-19T03:31:15.069Z","response_time":67,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai-agents","claude-code","cursor","github-copilot","mcp-server","vscode"],"created_at":"2026-01-19T06:00:24.165Z","updated_at":"2026-01-19T06:00:45.604Z","avatar_url":"https://github.com/Aykahshi.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub Copilot MCP Server\r\n\r\n\u003cdiv align=\"center\"\u003e\r\n\r\n[![npm version](https://img.shields.io/npm/v/@aykahshi/copilot-mcp-server.svg)](https://www.npmjs.com/package/@aykahshi/copilot-mcp-server)\r\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\r\n[![Node.js](https://img.shields.io/badge/node-%3E%3D22.0.0-brightgreen)](https://nodejs.org)\r\n\r\n\u003c/div\u003e\r\n\r\n一個將 GitHub Copilot CLI 與 MCP 客戶端整合的 Model Context Protocol (MCP) 伺服器。\r\n\r\n\u003e **📣 重要聲明**\r\n\u003e\r\n\u003e 感謝 [@leonardommello](https://github.com/leonardommello/copilot-mcp-tool) 的原始創作。這是一個積極維護的分支，以保持專案與最新的 Copilot 功能和支援的模型同步。\r\n\r\n## 功能特色\r\n\r\n- **9 個工具** - 用於編碼協助的互動式 Copilot 命令\r\n- **2 個資源** - 會話歷史與管理\r\n- **完整 MCP 支援** - 相容 Claude Desktop、Claude Code、Cline 等\r\n- **Claude Code 插件** - 內建完整 AI 協作流程的 Claude Plugin\r\n- **快速命令** - 快速工作流程的捷徑命令（見下方）\r\n\r\n---\r\n\r\n## 快速開始\r\n\r\n### 使用方式：\r\n\r\n新增到你的配置檔案：\r\n\r\n```json\r\n{\r\n  \"mcpServers\": {\r\n    \"copilot\": {\r\n      \"command\": \"npx\",\r\n      \"args\": [\"-y\", \"@aykahshi/copilot-mcp-server\"]\r\n    }\r\n  }\r\n}\r\n```\r\n\r\n**可選：指定模型偏好**\r\n\r\n你可以使用 `--prefer` 標誌在 Claude 或 GPT 模型之間選擇作為預設值：\r\n\r\n```json\r\n{\r\n  \"mcpServers\": {\r\n    \"copilot\": {\r\n      \"command\": \"npx\",\r\n      \"args\": [\"-y\", \"@aykahshi/copilot-mcp-server\", \"--prefer\", \"gpt\"]\r\n    }\r\n  }\r\n}\r\n```\r\n\r\n可用的偏好設定：\r\n- `--prefer gpt` (預設)：使用 GPT 模型（gpt-5.2-codex、gpt-5-mini、gpt-4.1）\r\n- `--prefer claude`：使用 Claude 模型（Sonnet 4.5、Opus 4.5、Haiku 4.5）\r\n- `--prefer gemini`：使用 Gemini 模型（gemini-3-pro-preview）\r\n\r\n**依偏好設定的模型預設值：**\r\n\r\n| 工具 | `--prefer claude` | `--prefer gpt` | `--prefer gemini` |\r\n|------|-------------------|----------------|-------------------|\r\n| ask-copilot | claude-sonnet-4.5 | gpt-5.2-codex | gemini-3-pro-preview |\r\n| copilot-explain | claude-haiku-4.5 | gpt-5.1-codex-mini | claude-haiku-4.5 |\r\n| copilot-suggest | claude-opus-4.5 | gpt-5.2-codex | gemini-3-pro-preview |\r\n| copilot-debug | claude-haiku-4.5 | gpt-5.1-codex-mini | claude-haiku-4.5 |\r\n| copilot-refactor | claude-opus-4.5 | gpt-5.2 | gemini-3-pro-preview |\r\n| copilot-review | gpt-4.1 | gpt-4.1 | gpt-4.1 |\r\n| copilot-test-generate | claude-sonnet-4.5 | gpt-5.2-codex | gemini-3-pro-preview |\r\n\r\n\u003e **注意：** 你仍然可以在個別工具呼叫中透過指定 `model` 參數來覆蓋預設模型。\r\n\r\n### 前置需求\r\n\r\n你需要安裝並認證 GitHub Copilot CLI：\r\n\r\n```bash\r\nnpm install -g @github/copilot\r\ncopilot /login\r\n```\r\n\r\n---\r\n\r\n## Hello World 範例\r\n\r\n配置完成後，以下是一個簡單的開始方式：\r\n\r\n**在 Claude Desktop（或你的 MCP 客戶端）中：**\r\n\r\n```\r\n使用 ask-copilot，提示為「用 JavaScript 寫一個簡單的 Hello World 程式」\r\n```\r\n\r\n**回應：**\r\n```javascript\r\nconsole.log(\"Hello, World!\");\r\n```\r\n\r\n就是這樣！你現在可以透過你的 AI 客戶端使用所有 Copilot 工具了。\r\n\r\n**更多範例：**\r\n```\r\n使用 copilot-explain 解釋這段代碼：console.log(\"Hello, World!\");\r\n\r\n使用 copilot-suggest，任務為「列出當前目錄的檔案」\r\n\r\n使用 copilot-debug，代碼為「console.log(messge);」，錯誤為「ReferenceError: messge is not defined」\r\n```\r\n\r\n---\r\n\r\n## 工具\r\n\r\n| 工具 | 描述 | 參數 |\r\n|------|-------------|------------|\r\n| **ask-copilot** | 向 Copilot 詢問編碼協助、除錯、架構 | `prompt`, `context`, `model`, `allowAllTools` |\r\n| **copilot-explain** | 獲得詳細的程式碼解釋 | `code`, `model` |\r\n| **copilot-suggest** | 獲得 CLI 命令建議 | `task`, `model` |\r\n| **copilot-debug** | 除錯程式碼錯誤 | `code`, `error`, `context` |\r\n| **copilot-refactor** | 獲得重構建議 | `code`, `goal` |\r\n| **copilot-test-generate** | 生成單元測試 | `code`, `framework` |\r\n| **copilot-review** | 獲得帶反饋的程式碼審查 | `code`, `focusAreas` |\r\n| **copilot-session-start** | 啟動新的對話會話 | - |\r\n| **copilot-session-history** | 獲取會話歷史 | `sessionId` |\r\n\r\n---\r\n\r\n## 資源\r\n\r\n| 資源 | URI | 描述 |\r\n|----------|-----|-------------|\r\n| **session-history** | `copilot://session/{sessionId}/history` | 存取會話的對話歷史 |\r\n| **sessions-list** | `copilot://sessions` | 列出所有活動會話 |\r\n\r\n---\r\n\r\n## 🧩 插件\r\n\r\n此儲存庫包含可立即使用的插件，擴展功能：\r\n\r\n### copilot-flow\r\n\r\n**AI 協作工作流程插件** - 在 Claude 與 GitHub Copilot 之間自動化結構化的 5 階段開發流程。\r\n\r\n**功能特色：**\r\n- 🔄 **5 階段工作流程**：分析 → 設計 → 實現 → 審查 → 交付\r\n- 🤖 **智能模型選擇**：根據任務類型自動選擇最佳 Copilot 模型\r\n- 👀 **預覽模式**：執行前顯示執行計劃\r\n- 🔄 **恢復機制**：透過會話 ID 恢復中斷的工作流程\r\n\r\n**快速安裝：**\r\n```bash\r\n/plugin marketplace add Aykahshi/copilot-mcp-tool\r\n/plugin install copilot-flow\r\n```\r\n\r\n**了解更多**：[copilot-flow 文檔](plugins/copilot-flow/README-zh.md)\r\n\r\n---\r\n\r\n## 🔌 AI 客戶端整合\r\n\r\n此 MCP 伺服器可與**任何 MCP 相容的客戶端**配合使用。以下是熱門 AI 編碼助手的詳細設定說明。\r\n\r\n### 📘 Claude Desktop（推薦）\r\n\r\nClaude Desktop 是此 MCP 伺服器最受測試且推薦的客戶端。\r\n\r\n**配置路徑：**\r\n- **macOS**：`~/Library/Application Support/Claude/claude_desktop_config.json`\r\n- **Windows**：`%APPDATA%\\Claude\\claude_desktop_config.json`\r\n- **Linux**：`~/.config/Claude/claude_desktop_config.json`\r\n\r\n**方法 1：NPX（無需安裝）**\r\n```json\r\n{\r\n  \"mcpServers\": {\r\n    \"copilot\": {\r\n      \"command\": \"npx\",\r\n      \"args\": [\"-y\", \"@aykahshi/copilot-mcp-server\"]\r\n    }\r\n  }\r\n}\r\n```\r\n\r\n**方法 2：全域安裝**\r\n```bash\r\nnpm install -g @aykahshi/copilot-mcp-server\r\n```\r\n\r\n然後新增到配置：\r\n```json\r\n{\r\n  \"mcpServers\": {\r\n    \"copilot\": {\r\n      \"command\": \"copilot-mcp-server\"\r\n    }\r\n  }\r\n}\r\n```\r\n\r\n**方法 3：本地開發**\r\n```json\r\n{\r\n  \"mcpServers\": {\r\n    \"copilot\": {\r\n      \"command\": \"node\",\r\n      \"args\": [\"/absolute/path/to/copilot-mcp-tool/dist/esm/copilot/index.js\"]\r\n    }\r\n  }\r\n}\r\n```\r\n\r\n**設定後：**\r\n1. 重啟 Claude Desktop\r\n2. 查看右下角的 🔌 圖示\r\n3. 點擊它以在已連接的伺服器列表中看到「copilot」\r\n\r\n---\r\n\r\n### 🖥️ Claude Code（CLI）\r\n\r\nClaude Code 透過 CLI 提供最快的設定體驗。\r\n\r\n**快速設定：**\r\n```bash\r\n# 使用 npx（無需安裝）\r\nclaude mcp add copilot -- npx -y @aykahshi/copilot-mcp-server\r\n\r\n# 或使用全域安裝\r\nnpm install -g @aykahshi/copilot-mcp-server\r\nclaude mcp add copilot copilot-mcp-server\r\n```\r\n\r\n**從 Claude Desktop 匯入：**\r\n```bash\r\n# 如果你已經配置了 Claude Desktop\r\nclaude mcp add-from-claude-desktop\r\n```\r\n\r\n**驗證連接：**\r\n```bash\r\nclaude mcp list\r\n# 應該顯示：copilot (connected)\r\n```\r\n\r\n**在聊天中使用：**\r\n```bash\r\n/mcp  # 檢查伺服器狀態\r\n```\r\n\r\n---\r\n\r\n### 🎯 Cursor\r\n\r\nCursor 支援一鍵安裝和手動安裝。\r\n\r\n**方法 1：手動配置**\r\n\r\n編輯 `~/.cursor/mcp.json`（如果不存在則建立）：\r\n\r\n```json\r\n{\r\n  \"mcpServers\": {\r\n    \"copilot\": {\r\n      \"command\": \"npx\",\r\n      \"args\": [\"-y\", \"@aykahshi/copilot-mcp-server\"]\r\n    }\r\n  }\r\n}\r\n```\r\n\r\n**方法 2：設定介面**\r\n1. 開啟 Cursor 設定（Cmd/Ctrl + ,）\r\n2. 搜尋「MCP」\r\n3. 點擊「Add MCP Server」\r\n4. 名稱：`copilot`\r\n5. 命令：`npx -y @aykahshi/copilot-mcp-server`\r\n\r\n---\r\n\r\n### 🔧 VS Code 與 Cline 擴充功能\r\n\r\n[Cline](https://github.com/cline/cline) 是一個熱門的 MCP 相容 VS Code 擴充功能。\r\n\r\n**設定：**\r\n\r\n1. 從 VS Code 市集安裝 Cline 擴充功能\r\n2. 開啟 Cline 設定（Cline 面板中的齒輪圖示）\r\n3. 導航到「MCP Servers」區段\r\n4. 新增伺服器：\r\n\r\n```json\r\n{\r\n  \"mcpServers\": {\r\n    \"copilot\": {\r\n      \"command\": \"npx\",\r\n      \"args\": [\"-y\", \"@aykahshi/copilot-mcp-server\"]\r\n    }\r\n  }\r\n}\r\n```\r\n\r\n**或者**，編輯 VS Code 的 `settings.json`：\r\n```json\r\n{\r\n  \"cline.mcpServers\": {\r\n    \"copilot\": {\r\n      \"command\": \"npx\",\r\n      \"args\": [\"-y\", \"@aykahshi/copilot-mcp-server\"]\r\n    }\r\n  }\r\n}\r\n```\r\n\r\n---\r\n\r\n### ⚡ Zed Editor\r\n\r\nZed 內建原生 MCP 支援。\r\n\r\n**配置檔案：** `~/.config/zed/mcp.json`\r\n\r\n```json\r\n{\r\n  \"mcpServers\": {\r\n    \"copilot\": {\r\n      \"command\": \"npx\",\r\n      \"args\": [\"-y\", \"@aykahshi/copilot-mcp-server\"]\r\n    }\r\n  }\r\n}\r\n```\r\n\r\n**或使用 Zed 的介面：**\r\n1. 開啟 Zed 設定（Cmd/Ctrl + ,）\r\n2. 前往「Extensions」→「MCP」\r\n3. 使用命令新增伺服器：`npx -y @aykahshi/copilot-mcp-server`\r\n\r\n---\r\n\r\n### 🔮 Windsurf\r\n\r\n**配置路徑：** `~/.windsurf/mcp.json`\r\n\r\n```json\r\n{\r\n  \"mcpServers\": {\r\n    \"copilot\": {\r\n      \"command\": \"npx\",\r\n      \"args\": [\"-y\", \"@aykahshi/copilot-mcp-server\"]\r\n    }\r\n  }\r\n}\r\n```\r\n\r\n---\r\n\r\n### 🚀 其他 MCP 客戶端\r\n\r\n此伺服器與**任何符合 MCP 標準的客戶端**相容。通用配置：\r\n\r\n```json\r\n{\r\n  \"mcpServers\": {\r\n    \"copilot\": {\r\n      \"command\": \"npx\",\r\n      \"args\": [\"-y\", \"@aykahshi/copilot-mcp-server\"]\r\n    }\r\n  }\r\n}\r\n```\r\n\r\n**其他相容客戶端：**\r\n- **Amp** - 配置在 `~/.amp/mcp.json`\r\n- **Augment Code** - IDE 中的 MCP 設定\r\n- **Roo Code** - 透過設定面板\r\n- **Qwen Coder** - CLI：`qwen mcp add copilot`\r\n- **Gemini CLI** - 專案與全域支援\r\n- **JetBrains AI Assistant** - 所有 JetBrains IDE\r\n\r\n---\r\n\r\n## ✅ 相容性矩陣\r\n\r\n| 客戶端 | 狀態 | 安裝方式 | 備註 |\r\n|--------|--------|-------------------|-------|\r\n| [Claude Desktop](https://claude.ai/download) | ✅ **已測試** | JSON 配置 | 最穩定，推薦使用 |\r\n| [Claude Code](https://docs.claude.com/en/docs/claude-code) | ✅ **已測試** | CLI 命令 | 最快設定 |\r\n| [Cursor](https://cursor.sh/) | ✅ 相容 | JSON / UI | 多種設定選項 |\r\n| [Cline (VS Code)](https://github.com/cline/cline) | ✅ 相容 | 擴充功能設定 | VS Code 整合 |\r\n| [Zed](https://zed.dev/) | ✅ 相容 | 原生 MCP 支援 | 內建介面 |\r\n| [Windsurf](https://windsurf.ai/) | ✅ 相容 | JSON 配置 | 簡單設定 |\r\n| 其他 MCP 客戶端 | ✅ 相容 | 標準 MCP 協定 | 通用支援 |\r\n\r\n---\r\n\r\n## 運作原理\r\n\r\n此 MCP 伺服器作為 MCP 客戶端與 GitHub Copilot CLI 之間的橋樑：\r\n\r\n1. **MCP 客戶端**（Claude Desktop）→ 透過 MCP 協定呼叫工具\r\n2. **MCP 伺服器**（本套件）→ 轉換為 Copilot CLI 命令\r\n3. **GitHub Copilot CLI** → 處理請求並返回回應\r\n4. **MCP 伺服器** → 將格式化的回應返回給客戶端\r\n\r\n**優點：**\r\n- 直接在 Claude 對話中使用 Copilot 的 AI 模型\r\n- 跨交互維護會話歷史\r\n- 存取專門的 Copilot 功能（解釋、除錯、審查等）\r\n- 無需在工具之間切換\r\n\r\n---\r\n\r\n## AI 模型\r\n\r\n從可用模型中選擇：\r\n- `claude-sonnet-4.5`（預設）\r\n- `claude-opus-4.5`\r\n- `claude-haiku-4.5`\r\n- `gpt-5.1`\r\n- `gpt-5.1-codex`\r\n- `gpt-5.1-codex-max`\r\n- `gpt-5.1-codex-mini`\r\n- `gpt-5.2`\r\n- `gpt-5.2-codex`\r\n- `gpt-5-mini`\r\n- `gpt-4.1`\r\n- `gemini-3-pro-preview`\r\n\r\n你可以透過 copilot cli 的 `/model` 命令查看所有可用模型。\r\n\r\n**無限制模型（0x cost in usage）**：`gpt-5-mini` 和 `gpt-4.1` 可在 GitHub Copilot Pro 及以上訂閱中無限使用。\r\n\r\n範例：\r\n```\r\n使用 ask-copilot，模型為「claude-opus-4.5」，提示為「解釋 async/await」\r\n使用 ask-copilot，模型為「gpt-5-mini」，提示為「快速程式碼審查」\r\n```\r\n\r\n---\r\n\r\n## 系統需求\r\n\r\n- **Node.js**：\u003e= 22.0.0\r\n- **npm**：\u003e= 10.0.0\r\n- **GitHub Copilot 訂閱**：必需（[取得 Copilot](https://github.com/features/copilot)）\r\n- **GitHub Copilot CLI**：必須安裝並認證\r\n  ```bash\r\n  npm install -g @github/copilot\r\n  copilot /login\r\n  ```\r\n\r\n---\r\n\r\n## 故障排除\r\n\r\n### 常見問題\r\n\r\n**❌ 「copilot 命令找不到」**\r\n```bash\r\n# 安裝 GitHub Copilot CLI\r\nnpm install -g @github/copilot\r\n\r\n# 驗證安裝\r\ncopilot --version\r\n```\r\n\r\n**❌ 「未認證」**\r\n```bash\r\n# 登入 GitHub Copilot\r\ncopilot /login\r\n\r\n# 在瀏覽器中跟隨認證流程\r\n```\r\n\r\n**❌ 「Node.js 版本太舊」**\r\n```bash\r\n# 檢查你的 Node.js 版本\r\nnode --version  # 必須 \u003e= 22.0.0\r\n\r\n# 更新 Node.js\r\n# 使用 nvm（推薦）\r\nnvm install 22\r\nnvm use 22\r\n\r\n# 或從 nodejs.org 下載\r\n```\r\n\r\n**❌ 「MCP 伺服器無回應」**\r\n```bash\r\n# 直接測試伺服器\r\nnpx -y @aykahshi/copilot-mcp-server\r\n\r\n# 檢查 Claude Desktop 日誌\r\n# macOS：~/Library/Logs/Claude/\r\n# Windows：%APPDATA%\\Claude\\logs\\\r\n```\r\n\r\n---\r\n\r\n## 常見問題\r\n\r\n**Q：我需要 GitHub Copilot 訂閱嗎？**\r\nA：是的，此 MCP 伺服器需要有效的 GitHub Copilot 訂閱和已安裝的 Copilot CLI。\r\n\r\n**Q：我可以在 Claude Desktop 上使用嗎？**\r\nA：可以！這是主要使用場景。只需將配置新增到 `claude_desktop_config.json`。\r\n\r\n**Q：這能與 VS Code 配合使用嗎？**\r\nA：可以，透過 Cline 擴充功能或任何其他 MCP 相容的 VS Code 擴充功能。\r\n\r\n**Q：這與直接使用 Copilot 有什麼不同？**\r\nA：這允許你在 Claude 對話中使用 Copilot 的功能，結合兩個 AI 助手。\r\n\r\n**Q：我的程式碼會同時發送到 GitHub 和 Anthropic 嗎？**\r\nA：你在對話中分享的程式碼會透過 Claude 的 MCP 協定傳送到 Copilot CLI，由其根據 GitHub 的隱私政策處理。\r\n\r\n---\r\n\r\n## 開發\r\n\r\n### 從原始碼建置\r\n\r\n```bash\r\n# 複製儲存庫\r\ngit clone https://github.com/Aykahshi/copilot-mcp-server.git\r\ncd copilot-mcp-server\r\n\r\n# 安裝依賴\r\nnpm install\r\n\r\n# 建置專案\r\nnpm run build\r\n\r\n# 本地執行\r\nnpm start\r\n\r\n# 執行測試\r\nnpm test\r\n```\r\n\r\n### 貢獻\r\n\r\n歡迎貢獻！請：\r\n\r\n1. Fork 儲存庫\r\n2. 建立功能分支（`git checkout -b feature/amazing-feature`）\r\n3. 提交你的變更（`git commit -m 'Add amazing feature'`）\r\n4. 推送到分支（`git push origin feature/amazing-feature`）\r\n5. 開啟 Pull Request\r\n\r\n---\r\n\r\n## 什麼是 MCP？\r\n\r\n[Model Context Protocol (MCP)](https://modelcontextprotocol.io) 是一個開放協定，使 AI 應用程式能夠安全地從不同來源存取資料和工具。可以將其視為 AI 助手的通用連接器。\r\n\r\n**關鍵概念：**\r\n- **伺服器**（如本套件）：提供工具、資源和提示\r\n- **客戶端**（如 Claude Desktop）：在對話中使用這些功能\r\n- **工具**：AI 可以執行的動作（如呼叫 GitHub Copilot）\r\n- **資源**：AI 可以存取的資料（如會話歷史）\r\n- **提示**：常見工作流程的模板\r\n\r\n在 [modelcontextprotocol.io](https://modelcontextprotocol.io) 了解更多\r\n\r\n---\r\n\r\n## 連結\r\n\r\n- 📦 **npm 套件**：https://www.npmjs.com/package/@aykahshi/copilot-mcp-server\r\n- 💻 **GitHub 儲存庫**：https://github.com/Aykahshi/copilot-mcp-tool\r\n- 🐛 **回報問題**：https://github.com/Aykahshi/copilot-mcp-tool/issues\r\n- 🤖 **GitHub Copilot**：https://github.com/features/copilot\r\n- 🔗 **Model Context Protocol**：https://modelcontextprotocol.io\r\n\r\n---\r\n\r\n## 授權\r\n\r\nMIT License - 詳見 [LICENSE](LICENSE) 檔案\r\n\r\n## 作者\r\n\r\n原始創建者：**Leonardo M. Mello** ([@leonardommello](https://github.com/leonardommello))\r\nFork 與維護者：**Aykahshi** ([@Aykahshi](https://github.com/Aykahshi))\r\n\r\n---\r\n\r\n\u003cdiv align=\"center\"\u003e\r\n\r\nMade with ❤️ for the AI coding community\r\n\r\n\u003c/div\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faykahshi%2Fcopilot-mcp-tool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faykahshi%2Fcopilot-mcp-tool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faykahshi%2Fcopilot-mcp-tool/lists"}