PurePromptOpen workspace

Ready-to-use resource

Copied 0 times

Git (local repository)

Give an AI assistant the ability to inspect and operate on a local git repository's history.

Preview full content

Lets an AI assistant inspect a local git repository — log, diff, blame, branches — useful for having an assistant answer questions about how code evolved or help draft a commit message from an actual diff, without you pasting git output manually. ```json { "mcpServers": { "git": { "command": "uvx", "args": ["mcp-server-git", "--repository", "/absolute/path/to/repo"] } } } ``` This one commonly ships as a Python package run via uvx rather than npx — install uv first if you don't already have it. Some configurations expose write operations (commit, branch) in addition to read-only inspection — check the server's current docs for which operations are enabled by default and whether you want to restrict it to read-only use. As with any MCP server, confirm the exact package name and invocation against current documentation before adding it — this shows the general shape of a git-focused server's config, not a guaranteed-current copy-paste.

Shared by Parshu · Published Aug 1, 2026

mcp-config

Discussion

Sign in to leave feedback.

No comments yet — be the first to weigh in.

You may also like

MCP ConfigSQLiteLet an AI assistant query and inspect a local SQLite database directly.MCP ConfigGitHubConnect an AI assistant to a GitHub account to read and act on repos, issues, and pull requests.MCP ConfigFilesystem AccessGive an AI assistant scoped read/write access to specific folders on your machine.

Advertisement

PurePrompt
AboutContact usPrivacy

Before you begin

How to use this resource

You're opening Git (local repository). Here's the quickest way to get a useful result.

  1. 1Review the complete instructions after closing this guide.
  2. 2Use Copy or Download when that option is available.
  3. 3Follow the setup notes in the AI tool the resource is designed for.