Servidor MCP

Git

MCP

Status, diff, and log — without shelling out blind.

Official git server. The model sees the repo the way git does, with tools instead of raw bash.

latest·MIT·Updated this quarter·github.com/modelcontextprotocol/servers·Transporte: stdio

Claude CodeCursorDesktop
Verificado

claude_desktop_config.json

{
  "mcpServers": {
    "git": {
      "command": "uvx",
      "args": [
        "mcp-server-git",
        "--repository",
        "."
      ]
    }
  }
}

Por Model Context Protocol

Especificação

O que o servidor realmente oferece.

  • git_status

    leitura

    Working tree status.

  • git_diff

    leitura

    Unstaged or staged diff.

  • git_log

    leitura

    Recent commits.

  • git_show

    leitura

    A commit by sha.

Limites de segurança

  • Read-first
  • Repo path is an argument
  • No force-push tool

mcp-git.mcp/tools

Ferramentas

  • git_status

    Working tree status.

    leitura
  • git_diff

    Unstaged or staged diff.

    leitura
  • git_log

    Recent commits.

    leitura
  • git_show

    A commit by sha.

    leitura

Última chamada

{ "ok": true,
  "tool": "git_status",
  "rows": 12 }

Outros servidores que valem a instalação

Discussão

Nenhum comentário ainda. Seja o primeiro leitor a contar como foi.