Skip to content

git_fetch

MCP tools › Version control

Fetch a remote (default: all) and prune deleted remote branches. Updates only remote-tracking branches, no local branch or file. Needs the user-granted remote right. Git never prompts: missing credentials fail at once with auth_required; an SSH remote without a post-quantum key exchange is refused with ssh_refusal; only Git over SSH to Azure DevOps may use a classical one (setting git.ssh.allowClassicKexForAzureDevOps), reported as pq: false with pq_notice. Logged in .ferris-idea/agent-log.jsonl.

Its results carry text from git, web: the client is told to treat that as data, never as instructions.

Capabilitygit.git_fetch
AreaVersion control
Accesschanges repository, remote
Reachesprocess, network
Rightsremote
Dry runnone

Arguments

ArgumentTypeDescription
remotestringRemote to fetch (default: all remotes).

Call it from a shell

ferris-idea call runs one tool with the rights and safe mode of ferris-idea mcp. Replace the folder and the placeholder values.

Terminal window
ferris-idea call ~/my-project git_fetch
Input schema as JSON
{
"type": "object",
"properties": {
"remote": {
"description": "Remote to fetch (default: all remotes).",
"type": [
"string",
"null"
]
}
}
}