powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
。(安裝成功後提示安裝路徑及加入環境變數的 powershell 語法)uvx mcp-server-git
。如果 powershell 游標持續閃爍且沒有任何輸出,再按Ctrl + C
離開程式,畫面出現「Aborted!」。內容修改為:
{
"mcpServers": {
"git": {
"command": "uv",
"args": [
"run",
"mcp-server-git"
]
}
}
}
git status
,Rovo Dev CLI 會請求允許執行「Calling git_status: {"repo_path": "."}」,允許後可以在 CLI 裡看到 git status 的結果。本文同步發表至我的Blog