验证更新VS Code Copilot 配置DevStar MCP Server #13

Merged
mengning merged 2 commits from mengning-patch-1 into main 2026-01-08 01:56:56 +00:00
Showing only changes of commit 3280bac8db - Show all commits

View File

@@ -103,12 +103,13 @@ DevStar MCP Server 提供开箱即用的体验,通过 DevStar VS Code 插件
```json ```json
{ {
"mcpServers": { "mcpServers": {
"devstar": { "devstar": {
"url": "https://devstar.cn/api/mcp", "type": "http",
"headers": { "url": "http://<YOUR_DEVSTAR_HOST>/api/mcp",
"Authorization": "Bearer <YOUR_TOKEN>" "headers": {
} "Authorization": "Bearer <YOUR_TOKEN>"
} }
}
} }
} }
``` ```
@@ -122,33 +123,32 @@ DevStar MCP Server 提供开箱即用的体验,通过 DevStar VS Code 插件
```json ```json
{ {
"mcpServers": { "mcpServers": {
"devstar": { "devstar": {
"url": "https://devstar.cn/api/mcp", "type": "http",
"headers": { "url": "http://<YOUR_DEVSTAR_HOST>/api/mcp",
"Authorization": "Bearer <YOUR_TOKEN>" "headers": {
} "Authorization": "Bearer <YOUR_TOKEN>"
} }
}
} }
} }
``` ```
**VS Code Copilot** **VS Code Copilot**
配置文件位置: - 手工配置Ctrl + Shift + P 输入 workbench.mcp.openUserMcpJson 命令执行在mcp.json配置文件中添加devstar
- macOS/Linux: `~/.vscode/mcp.json`
- Windows: `%USERPROFILE%\.vscode\mcp.json`
```json ```json
{ {
"mcpServers": { "servers": {
"devstar": { "devstar": {
"type": "http", "type": "http",
"url": "https://devstar.cn/api/mcp", "url": "http://<YOUR_DEVSTAR_HOST>/api/mcp",
"headers": { "headers": {
"Authorization": "Bearer <YOUR_TOKEN>" "Authorization": "Bearer <YOUR_TOKEN>"
} }
} }
} }
} }
``` ```