Skip to content

Commit 7532d23

Browse files
Update docs/README.mcp-api.md
Co-authored-by: Copilot <[email protected]>
1 parent ae247c0 commit 7532d23

File tree

1 file changed

+1
-60
lines changed

1 file changed

+1
-60
lines changed

docs/README.mcp-api.md

Lines changed: 1 addition & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,4 @@
1-
# MCP Server API 文件
2-
3-
## 概述
4-
5-
Awesome Copilot MCP Server 是一個 Model Context Protocol (MCP) 伺服器,提供工具讓 AI 助手能夠搜尋並安裝來自本儲存庫的 prompts、instructions 和 chat modes。
6-
7-
## 安裝與設定
8-
9-
### 系統需求
10-
11-
- Docker(已安裝並執行中)
12-
- VS Code、VS Code Insiders 或 Visual Studio
13-
14-
### 快速安裝
15-
16-
**選項 1:透過一鍵安裝連結**
17-
18-
- [![Install in VS Code](https://img.shields.io/badge/VS_Code-Install-0098FF?logo=visualstudiocode&logoColor=white)](https://aka.ms/awesome-copilot/mcp/vscode)
19-
- [![Install in VS Code Insiders](https://img.shields.io/badge/VS_Code_Insiders-Install-24bfa5?logo=visualstudiocode&logoColor=white)](https://aka.ms/awesome-copilot/mcp/vscode-insiders)
20-
- [![Install in Visual Studio](https://img.shields.io/badge/Visual_Studio-Install-C16FDE?logo=visualstudio&logoColor=white)](https://aka.ms/awesome-copilot/mcp/vs)
21-
22-
**選項 2:手動設定**
23-
24-
將以下 JSON 設定新增至你的 MCP 伺服器設定檔:
25-
26-
```json
27-
{
28-
"servers": {
29-
"awesome-copilot": {
30-
"type": "stdio",
31-
"command": "docker",
32-
"args": [
33-
"run",
34-
"-i",
35-
"--rm",
36-
"ghcr.io/microsoft/mcp-dotnet-samples/awesome-copilot:latest"
37-
]
38-
}
39-
}
40-
}
41-
```
42-
43-
### 設定檔位置
44-
45-
- **VS Code**: `~/.config/Code/User/globalStorage/github.copilot-chat/mcp.json`(Linux/macOS)或 `%APPDATA%\Code\User\globalStorage\github.copilot-chat\mcp.json`(Windows)
46-
- **VS Code Insiders**: 類似路徑,將 `Code` 替換為 `Code - Insiders`
47-
- **Visual Studio**: 透過 Tools > Options > GitHub Copilot > MCP Servers 設定
48-
49-
## 可用工具
50-
51-
Awesome Copilot MCP Server 提供以下工具,讓 AI 助手能夠與儲存庫互動:
52-
53-
### 1. `search_prompts`
54-
55-
搜尋可用的 prompts。
56-
57-
**參數:**
58-
- `query` (string, 選填): 搜尋關鍵字或標籤
59-
- `tags` (array, 選填): 依標籤篩選
60-
1+
# (This file should be removed from the current PR and moved to a separate PR focused on MCP Server documentation.)
612
**回傳:**
623
- Prompt 清單,包含名稱、描述、標籤和檔案路徑
634

0 commit comments

Comments
 (0)