验证更新VS Code Copilot 配置DevStar MCP Server #13
@@ -104,7 +104,8 @@ DevStar MCP Server 提供开箱即用的体验,通过 DevStar VS Code 插件
|
|||||||
{
|
{
|
||||||
"mcpServers": {
|
"mcpServers": {
|
||||||
"devstar": {
|
"devstar": {
|
||||||
"url": "https://devstar.cn/api/mcp",
|
"type": "http",
|
||||||
|
"url": "http://<YOUR_DEVSTAR_HOST>/api/mcp",
|
||||||
"headers": {
|
"headers": {
|
||||||
"Authorization": "Bearer <YOUR_TOKEN>"
|
"Authorization": "Bearer <YOUR_TOKEN>"
|
||||||
}
|
}
|
||||||
@@ -123,7 +124,8 @@ DevStar MCP Server 提供开箱即用的体验,通过 DevStar VS Code 插件
|
|||||||
{
|
{
|
||||||
"mcpServers": {
|
"mcpServers": {
|
||||||
"devstar": {
|
"devstar": {
|
||||||
"url": "https://devstar.cn/api/mcp",
|
"type": "http",
|
||||||
|
"url": "http://<YOUR_DEVSTAR_HOST>/api/mcp",
|
||||||
"headers": {
|
"headers": {
|
||||||
"Authorization": "Bearer <YOUR_TOKEN>"
|
"Authorization": "Bearer <YOUR_TOKEN>"
|
||||||
}
|
}
|
||||||
@@ -134,16 +136,14 @@ DevStar MCP Server 提供开箱即用的体验,通过 DevStar VS Code 插件
|
|||||||
|
|
||||||
**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>"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user