瀏覽器驗證(建議)
API 金鑰驗證
步驟 1:建立 API 金鑰
步驟 2:設定 API 金鑰
驗證狀態
- 你是否已完成驗證
- 你的帳戶資訊
- 目前的端點設定
疑難排解
- 「Not authenticated」錯誤:執行
cursor-agent login
,或確認你的 API key 已正確設定 - SSL 憑證錯誤:在開發環境使用
--insecure
參數 - 端點問題:使用
--endpoint
參數來指定自訂 API 端點
透過瀏覽器流程或 API 金鑰驗證 Cursor CLI
cursor-agent login
,或確認你的 API key 已正確設定--insecure
參數--endpoint
參數來指定自訂 API 端點