了解如何將 SUNRA 的 MCP 伺服器與 Cursor、VS Code、Cline、Windsurf 和其他開發環境整合,以實現無縫的 AI 模型存取。
.cursor/mcp.json
:
sunra-mcp-server
npx
@sunra/mcp-server
.vscode/mcp.json
:
~/Library/Application Support/Claude/claude_desktop_config.json
Windows:%APPDATA%\Claude\claude_desktop_config.json
set-sunra-key
工具設定 API 金鑰。
list-models
- 瀏覽所有可用的 AI 模型search-models
- 依關鍵字尋找模型model-schema
- 取得特定模型的輸入/輸出結構描述submit
- 提交請求至模型端點status
- 檢查請求狀態和日誌result
- 擷取已完成的結果cancel
- 取消執行中的請求subscribe
- 提交並等待完成upload
- 上傳檔案至 SUNRA 儲存空間npm install -g @sunra/mcp-server
set-sunra-key
工具設定金鑰list-models
查看所有可用的 AI 功能