# git-a2a MCP server

> Manages Git component dependencies and routes coding agents to their responsible owners using Agent Card references.

- Repository: https://github.com/neprel/git-a2a
- Page: https://hostedmcp.org/servers/neprel/git-a2a
- Transport: stdio
- Stars: 0
- License: MIT
- Latest version: 1.7.1

## Install

### Claude Code

```sh
claude mcp add git-a2a -- npx -y git-a2a
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "git-a2a": {
      "command": "npx",
      "args": [
        "-y",
        "git-a2a"
      ]
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "git-a2a": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "git-a2a"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"git-a2a","type":"stdio","command":"npx","args":["-y","git-a2a"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "git-a2a": {
      "command": "npx",
      "args": [
        "-y",
        "git-a2a"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add git-a2a -- npx -y git-a2a
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.git-a2a]
command = "npx"
args = ["-y", "git-a2a"]
```

### Gemini CLI

```sh
gemini mcp add -s user git-a2a npx -- -y git-a2a
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "git-a2a": {
      "command": "npx",
      "args": [
        "-y",
        "git-a2a"
      ]
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `DEMO_PROFILE` | no | no |  |

## FAQ

### What does git-a2a do?

It is a cross-platform component dependency manager that connects Git components with the agents responsible for them.

### Does git-a2a manage agent tasks or communication?

No, it does not send messages, manage tasks, run agents, or host Agent Cards.

### How can I find the agent responsible for a specific dependency?

You can use the command `git a2a whose NAME` to report the responsible agent and its usable Agent Card reference.
