Skip to content
VS Code

Git for VS Code

io.github.modelcontextprotocol/git

Reference server for reading, searching and manipulating local Git repositories: status, diffs, log, commits, branches and checkouts.

client:VS Code transport:stdio runtime:pypi tools:12

Install Git in VS Code

.vscode/mcp.json

{
  "servers": {
    "git": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-server-git"
      ]
    }
  }
}

Requires agent mode. MCP: Open User Configuration puts the same block in every workspace. VS Code docs

What VS Code can do once it is connected

Git in other clients