- 步驟 1: 使用 'cargo install --git https://github.com/terhechte/cursor-rust-tools' 安裝 MCP 伺服器。
- 步驟 2: 使用 'cursor-rust-tools' 運行 MCP 伺服器,啟動用戶界面並設置專案。
- 步驟 3: 通過在專案目錄中添加 'mcp.json' 或通過用戶界面配置每個專案。
- 步驟 4: 在 Cursor 中啟用 MCP 集成,並通過 MCP 設置指向伺服器。
- 步驟 5: 使用 Cursor 的聊天界面及代理模式激活例如 cargo_check、hover 或文檔請求等工具。