highlight_commitLABSCO SUMMARY
Turns 'what will this rebase do' into a picture, and lets the assistant read the same log.
The animation is for you, the tools are for the assistant, and both read the repository the extension is currently pointed at — so you are not comparing two different views. get_git_prompt is the small trick worth knowing: it feeds Git-specific guidance in before the assistant answers.
What it is
A VS Code extension that visualizes Git history with animations and serves its Git analysis to language models over an MCP endpoint the extension itself runs.
What you get
- visualize_git_log — before-and-after visualizations of operations such as merge, rebase and cherry-pick
- get_git_log — the repository's history, returned for analysis
- highlight_commit — highlight a specific commit in the visualization
- get_git_prompt — Git assistance templates the assistant can pull in before answering a Git question
- Interactive playback of the animation, with branch relationships and merge points drawn out
- Click-to-highlight on commits, and a view that updates as the working directory changes
- Automatic repository detection that follows the file you have open, including multi-root workspaces
Requirements
VS Code with the extension installed, and Git available on the command line. The MCP endpoint is served by the running extension, so the editor has to be open for the tools to answer. Cursor is not supported.
Setup effort
Follow the published steps
USE CASES
Understanding what a merge or rebase actually did
Play the before-and-after animation of the operation instead of reading a flat log.
Asking the assistant about your history
Have it read the log directly rather than pasting output into the chat.
Pointing at the commit you mean
Highlight it in the tree so the conversation and the picture agree.
Getting better Git answers from a coding assistant
Pull in the Git guidance template before asking the question.
4 tools
Listed in project docs. Your client may show a different list.
get_git_logvisualize_git_logget_git_promptBEFORE YOU INSTALL
What to know first
Tools you get
4 tools named in the project's documentation.
Where it runs
Both documented clients run the server on your machine.
INSTALLATION
Connect your client
Server setup
Search for "GitViz MCP" in the VS Code Extensions view (Ctrl+Shift+X / Cmd+Shift+X) and click Install.
MCP Clients
VS Code
{
"servers": {
"gitViz": {
"type": "http",
"url": "http://localhost:35555/gitviz/sse"
}
}
}Cline
{
"mcpServers": {
"gitViz": {
"type": "sse",
"url": "http://localhost:35555/gitviz/sse",
"transportType": "sse"
}
}
}