{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.Abhishekkumar2021/git",
  "slug": "io.github.abhishekkumar2021.git",
  "title": "Git",
  "summary": "Local Git via MCP: status, log, diff, file history, branches, and gated stage/commit.",
  "version": "0.2.0",
  "serverKey": "git",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.abhishekkumar2021.git",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.abhishekkumar2021.git/install.md",
  "trust": {
    "score": 84,
    "grade": "B",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T19:30:25.334387042Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "--package=@abhishekmcp/git@0.2.0",
        "mcp-git"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add git -e 'GIT_ROOTS=<GIT_ROOTS>' -- npx -y --package=@abhishekmcp/git@0.2.0 mcp-git"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"git\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@abhishekmcp/git@0.2.0\",\n        \"mcp-git\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"GIT_ROOTS\": \"<GIT_ROOTS>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"git\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@abhishekmcp/git@0.2.0\",\n        \"mcp-git\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"GIT_ROOTS\": \"<GIT_ROOTS>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"GIT_ROOTS\",\n      \"id\": \"git-roots\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"git\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@abhishekmcp/git@0.2.0\",\n        \"mcp-git\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"GIT_ROOTS\": \"${input:git-roots}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.git]\ncommand = \"npx\"\nargs = [\"-y\", \"--package=@abhishekmcp/git@0.2.0\", \"mcp-git\"]\nenv = { \"GIT_ROOTS\" = \"<GIT_ROOTS>\" }"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "GIT_ROOTS",
      "required": true,
      "secret": false,
      "description": "Allowed repo root directories (comma-separated). Required — the server refuses to start without it.",
      "help": "Allowed repo root directories (comma-separated). Required — the server refuses to start without it.",
      "placeholder": "<GIT_ROOTS>"
    },
    {
      "name": "GIT_WRITABLE",
      "required": false,
      "secret": false,
      "description": "Set to 1 or true to enable local write tools (stage/commit/branch/checkout).",
      "help": "Set to 1 or true to enable local write tools (stage/commit/branch/checkout).",
      "placeholder": "<GIT_WRITABLE>"
    }
  ],
  "expectedTools": [
    "git_status",
    "git_log",
    "git_show",
    "git_diff",
    "git_file_history",
    "read_file_at",
    "list_branches",
    "list_tags",
    "current_branch",
    "search_log",
    "list_remotes"
  ],
  "agentSteps": [
    "Ask the user for: GIT_ROOTS. Never invent or guess these values; secrets go into the client config, not into chat logs.",
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: git_status, git_log, git_show, git_diff, git_file_history, read_file_at, list_branches, list_tags, ….",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T19:30:25.334387042Z"
}
