docs: update MCP Server config paths and reorganize supported clients
This commit is contained in:
@@ -114,11 +114,13 @@ DevStar MCP Server 提供开箱即用的体验,通过 DevStar VS Code 插件
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
**Cursor / Continue**
|
**Cursor**
|
||||||
|
|
||||||
配置文件位置:
|
配置文件位置:
|
||||||
- macOS/Linux: `~/.cursor/mcp.json` 或 `~/.continue/mcpServers/mcp.json`
|
- macOS/Linux: `~/.cursor/mcp.json`
|
||||||
- Windows: `%USERPROFILE%\.cursor\mcp.json` 或 `%USERPROFILE%\.continue\mcpServers\mcp.json`
|
- Windows: `%USERPROFILE%\.cursor\mcp.json`
|
||||||
|
|
||||||
|
<!-- TODO: 添加 Cursor 的详细配置说明 -->
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
@@ -134,6 +136,10 @@ DevStar MCP Server 提供开箱即用的体验,通过 DevStar VS Code 插件
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
**Windsurf**
|
||||||
|
|
||||||
|
<!-- TODO: 添加 Windsurf 的配置说明 -->
|
||||||
|
|
||||||
**VS Code Copilot**
|
**VS Code Copilot**
|
||||||
|
|
||||||
VS Code Copilot 的 MCP 配置文件位置:
|
VS Code Copilot 的 MCP 配置文件位置:
|
||||||
@@ -428,8 +434,9 @@ VS Code Copilot 运行在**本地机器**上(容器外),因此配置文件
|
|||||||
|
|
||||||
### Cursor
|
### Cursor
|
||||||
|
|
||||||
|
<!-- TODO: 添加 Cursor 的详细说明 -->
|
||||||
|
|
||||||
- 配置文件:`.cursor/mcp.json` 或 `.vscode/mcp.json`
|
- 配置文件:`.cursor/mcp.json` 或 `.vscode/mcp.json`
|
||||||
- 打开 Cursor 后会提示"检测到 MCP Server",点击 Enable 即可
|
|
||||||
- [官方文档](https://cursor.com/cn/docs/context/mcp)
|
- [官方文档](https://cursor.com/cn/docs/context/mcp)
|
||||||
|
|
||||||
### Trae IDE
|
### Trae IDE
|
||||||
@@ -440,10 +447,9 @@ Trae IDE 运行在**容器内部**,因此配置文件位于容器内:
|
|||||||
- **配置方式**:需要 SSH 进入容器后手动配置,或使用 DevStar VS Code 插件自动配置
|
- **配置方式**:需要 SSH 进入容器后手动配置,或使用 DevStar VS Code 插件自动配置
|
||||||
- **注意**:由于运行在容器内,与 VS Code Copilot(本地运行)使用不同的配置路径
|
- **注意**:由于运行在容器内,与 VS Code Copilot(本地运行)使用不同的配置路径
|
||||||
|
|
||||||
### Continue
|
### Windsurf
|
||||||
|
|
||||||
- 配置文件:`.continue/mcpServers/mcp.json`
|
<!-- TODO: 添加 Windsurf 的详细说明 -->
|
||||||
- [官方文档](https://docs.continue.dev/customize/deep-dives/mcp)
|
|
||||||
|
|
||||||
### DevStar VS Code 插件(推荐)
|
### DevStar VS Code 插件(推荐)
|
||||||
|
|
||||||
@@ -496,9 +502,9 @@ A: 访问令牌有过期时间。如果过期,需要:
|
|||||||
A: 配置文件路径取决于你使用的 IDE:
|
A: 配置文件路径取决于你使用的 IDE:
|
||||||
- Claude Code: ~/.claude/mcp_servers.json (macOS/Linux) 或 %APPDATA%\Claude\mcp_servers.json (Windows)
|
- Claude Code: ~/.claude/mcp_servers.json (macOS/Linux) 或 %APPDATA%\Claude\mcp_servers.json (Windows)
|
||||||
- Cursor: ~/.cursor/mcp.json (macOS/Linux) 或 %USERPROFILE%\.cursor\mcp.json (Windows)
|
- Cursor: ~/.cursor/mcp.json (macOS/Linux) 或 %USERPROFILE%\.cursor\mcp.json (Windows)
|
||||||
- Continue: ~/.continue/mcpServers/mcp.json (macOS/Linux) 或 %USERPROFILE%\.continue\mcpServers\mcp.json (Windows)
|
|
||||||
- VS Code Copilot: ~/Library/Application Support/Code/User/mcp.json (macOS) 或 %APPDATA%/Code/User/mcp.json (Windows)
|
- VS Code Copilot: ~/Library/Application Support/Code/User/mcp.json (macOS) 或 %APPDATA%/Code/User/mcp.json (Windows)
|
||||||
- Trae IDE(容器内): /root/.trae-server/data/Machine/mcp.json
|
- Trae IDE(容器内): /root/.trae-server/data/Machine/mcp.json
|
||||||
|
- Windsurf: <!-- TODO: 添加 Windsurf 配置路径 -->
|
||||||
|
|
||||||
注:具体路径可能因 IDE 版本而异,请参考对应 IDE 的官方文档
|
注:具体路径可能因 IDE 版本而异,请参考对应 IDE 的官方文档
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user