Git bileşen bağımlılıklarını yönetir ve Agent Card referanslarını kullanarak kodlama ajanlarını sorumlu sahiplerine yönlendirir.
Ayrıca bilinen adı neprel/git-a2a
- Yıldızlar
- 0
- Araçlar
- —
- İndirmeler, 30 gün
- —
- En son sürüm
- 1.7.1
- Son commit
- 18 Eyl 2026
- Lisans
- MIT
git-a2a MCP nedir?
git-a2a bir MCP sunucusudur. Git bileşen bağımlılıklarını yönetir ve Agent Card referanslarını kullanarak kodlama ajanlarını sorumlu sahiplerine yönlendirir.
Özet, projenin README dosyasından oluşturuldu
git-a2a MCP sunucusu hakkında
git-a2a, Git bileşenlerini onlardan sorumlu olan spesifik kodlama ajanlarına bağlamanızı sağlar. Bu platformlar arası bağımlılık yöneticisi, geliştiricilerin kod depolarını Agent Card referanslarıyla ilişkilendirmesine olanak tanıyarak, değişiklik veya sorgu gerektiğinde yapay zeka ajanlarının doğru sahiplere yönlendirilmesini sağlar. Bir mesajlaşma veya görev yürütme platformundan ziyade, bir meta veri ve yaşam döngüsü yöneticisi olarak çalışır.
Kullanıcılar araçla; init, add, pull, list, remove ve whose gibi komutları içeren bir komut satırı arayüzü üzerinden etkileşime girer. Bağımlılıkları; npm, PyPI, Cargo ve SwiftPM gibi yerel paket yöneticilerinin yanı sıra CMake ve Maven gibi derleme sistemlerini içeren çeşitli adaptörler aracılığıyla yönetir. Araç, kalıcı bağlar kurmak için belirli commit'leri ve adaptör varyantlarını kaydeder. a2amodule.yml manifest dosyasını yönetmek için bir geliştirme ortamı içinde yerel olarak kullanılır ve yerel bir dizin altında API dokümantasyonu gibi isteğe bağlı yüzeyleri somutlaştırır.
Neler yapabilirsiniz
- 1Sorumlu ajan sahiplerini belirleyinVerilen bir bağımlılık için spesifik ajanı ve onun Agent Card referansını bulun.
- 2Bileşen bağımlılıklarını senkronize edinTüm bağlı bağımlılıkları, daha önce seçilmiş olan adaptörleri ve varyantları aracılığıyla güncelleyin.
- 3Yeni kod bileşenlerini kaydedinYeni bir depoyu yerel projeye bağlayın ve sahibini ve dokümantasyonunu kaydedin.
- 4Yerel bağımlılıkları denetleyinCommit, adaptör ve Agent Card dahil olmak üzere her bir doğrudan bağımlılığın raporunu oluşturun.
Projenin README dosyasından alınmıştır. Her kullanım durumu, oradaki bir alıntı ile kontrol edilir.
git-a2a MCP nasıl yüklenir
Biçimler 10 Kas 2026 tarihinde doğrulandıCursor'a ekleGoose'a eklegit-a2a MCP'yi Claude Code içine yükleyin
$ claude mcp add git-a2a -- npx -y git-a2agit-a2a MCP'yi Cursor içine yükleyin
~/.cursor/mcp.json
{
"mcpServers": {
"git-a2a": {
"command": "npx",
"args": [
"-y",
"git-a2a"
]
}
}
}git-a2a MCP'yi VS Code içine yükleyin
.vscode/mcp.json
{
"servers": {
"git-a2a": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"git-a2a"
]
}
}
}git-a2a MCP'yi VS Code CLI içine yükleyin
$ code --add-mcp '{"name":"git-a2a","type":"stdio","command":"npx","args":["-y","git-a2a"]}'git-a2a MCP'yi Claude Desktop içine yükleyin
claude_desktop_config.json
{
"mcpServers": {
"git-a2a": {
"command": "npx",
"args": [
"-y",
"git-a2a"
]
}
}
}git-a2a MCP'yi Codex içine yükleyin
$ codex mcp add git-a2a -- npx -y git-a2agit-a2a MCP'yi Codex config.toml içine yükleyin
~/.codex/config.toml
[mcp_servers.git-a2a] command = "npx" args = ["-y", "git-a2a"]
git-a2a MCP'yi Gemini CLI içine yükleyin
$ gemini mcp add -s user git-a2a npx -- -y git-a2agit-a2a MCP'yi Gemini settings.json içine yükleyin
~/.gemini/settings.json
{
"mcpServers": {
"git-a2a": {
"command": "npx",
"args": [
"-y",
"git-a2a"
]
}
}
}Yapılandırma
DEMO_PROFILE
| Ad | Açıklama | Sunucu |
|---|---|---|
| DEMO_PROFILE | — |
Otomatik kontroller
Çalıştırıldı 14 Kas 2026Tam rapor →Otomatik kontrollerimizden geçti. Bu bir güvenlik denetimi değildir: kodu okuyun ve sunucuya ihtiyaç duyduğu en dar erişimi verin. Kontroller nasıl çalışır
- Kaynak deposu bağlantılı ve erişilebilirneprel/git-a2a is public and reachablegithub.com/neprel/git-a2a ↗Geçti
- Paket, bu depoyu kaynağı olarak gösteriyorgit-a2a names neprel/git-a2a as sourcenpmjs.com/package/git-a2a ↗Geçti
- Derleme kökeni (Sigstore onayı)Sigstore attestation for git-a2anpmjs.com/package/git-a2a/v/1.7.1#provenance ↗Geçti
- Açık kaynak lisansı (OSI)MITspdx.org/licenses/MIT.html ↗Geçti
- Son bir yıl içinde commit veya sürüm mevcutLast commit or release 2026-09-18github.com/neprel/git-a2a ↗Geçti
- OpenSSF ScorecardKontrol edilmedi
- Paket adı popüler bir pakete yakın değilNo popular package one edit away from git-a2aGeçti
- Pakette veya bağımlılıklarında kritik uyarı yok7 resolved dependencies checked; no critical advisoryosv.dev ↗Geçti
- Modele yönelik gizli talimat yok0 tool descriptions and the README read; no override phrases, credential paths or hidden charactersGeçti
- Yıkıcı araçlar etiketlenmişKontrol edilmedi
- Uzak uç nokta MCP el sıkışmasına yanıt veriyorKontrol edilmedi
git-a2a
Connect a Git component together with the agent responsible for it.
git-a2a is a cross-platform component dependency manager. A component repository publishes code, one A2A Agent Card reference for its owner, and optionally a readable surface such as API documentation, examples, or source. A consumer connects the code through its own platform's adapter and records the exact commit, adapter, and package-manager variant.
git-a2a does not send messages, manage tasks, run agents, or host Agent Cards. Use the usable Agent Card reference
shown by git a2a whose NAME with an external A2A client: an HTTPS URL or a local copy of a
repository-relative card from the applied commit.
Quick start
Run the binary directly as git-a2a, or install it on PATH and use Git's equivalent
git a2a form:
git a2a init
git a2a add https://github.com/acme/lib-utils.git --name lib-utils
git a2a list
git a2a whose lib-utils
git a2a pull lib-utils
git a2a remove lib-utils
Version 2.1.0 introduces whose NAME and removes the positional argument from list.
Scripts using list NAME --json must use list --json and select the alias from the array.
There are exactly six domain commands:
| Command | Result |
|---|---|
init |
Creates a minimal schema 2 a2amodule.yml without overwriting an existing manifest. |
add SOURCE |
Resolves one commit, chooses applicable adapters, connects the component, and records its owner and surface. |
pull [NAME] |
Updates one or every dependency through the adapters and variants chosen by add; with no dependencies it reports No dependencies. and succeeds without mutation. |
remove NAME |
Removes only the selected dependency's owned integration and local materialization. |
list |
Reports every direct dependency, commit, adapter, Agent Card, surface, and local problem; --json returns the existing array format. |
whose NAME |
Reports one dependency's responsible agent, usable Agent Card reference, optional local surface, and recoverable metadata problems; --json returns one object. |
pull is adapter lifecycle, not a wrapper around git pull. All bindings of a polyglot
component use the same resolved commit. Adapter and manager selection is durable: a later change
to PATH or consumer marker files cannot silently switch it.
End-to-end demo
The ACME app walkthrough demonstrates
the complete loop: connect a component, discover its responsible agent, send a request through
A2A, let the owner change the library, run git-a2a pull, and observe the new result. The
app repository and
library repository must be cloned next to each
other. Docker with Compose is the only runtime requirement:
git clone https://github.com/neprel/git-a2a-demo-acme-lib.git
git clone https://github.com/neprel/git-a2a-demo-acme-app.git
cd git-a2a-demo-acme-app
./demo/run.sh
# Short npm-only profile
DEMO_PROFILE=npm ./demo/run.sh
The demo uses deterministic agents without LLM API keys, real A2A transport, the published git-a2a 2.0.0, and temporary local Git remotes. The separate demo client performs A2A communication; git-a2a manages dependency code and metadata. The agents exist only for the local run and are not permanently available public services. See the verified transcript for the recorded full-profile result.
Component contract
a2amodule.yml uses schema 2:
schema: 2
component:
id: lib-utils
description: Shared parsing and validation utilities.
repository: https://github.com/acme/lib-utils.git
exports:
- adapter: npm
name: "@acme/lib-utils"
- adapter: pypi
name: acme-lib-utils
surface: docs/public
agent:
name: lib-utils-owner
card: https://agents.acme.example/lib-utils/.well-known/agent-card.json
The Agent Card remains the authority for the agent's interfaces, skills, and authentication.
The manifest deliberately does not duplicate them. init may create an incomplete local
manifest without agent; a repository consumed by add or pull must declare agent.card.
The optional component.surface is published data from the same applied commit and is
materialized under .git-a2a/surfaces/NAME. If no surface is declared, no repository content is
implicitly published. Surface is not an installation mechanism and is not a submodule.
See the manifest reference, authoring guide, consumer guide, and schema 1 migration guide.
Adapter matrix
Every existing platform integration is retained. Native adapters apply dependencies through the platform's own manager, updating declarations, native locks, and installed or resolved state; build-system adapters compose with one submodule checkout rather than copying source into a second tree.
| Mode | Adapters |
|---|---|
| Native Git dependency | npm (npm, Yarn, pnpm, Bun), Python (uv, Poetry, PDM, PEP 621/pip), Go, Cargo, SwiftPM, Pub, Bundler, Composer, Mix, Cabal/Stack, Zig, Clojure, Nix |
| Submodule + build integration | CMake, Gradle, MSBuild, Maven, Meson |
| Submodule only | Fallback when no integration applies or the native manager cannot represent the source |
Git submodule is an ordinary adapter with the same add/pull/remove/inspect lifecycle. Native lockfiles remain owned by their package managers. See Works with for the detailed matrix and boundaries.
Installation
These existing installation channels are preserved. Commands track the latest stable release; pin a version in CI.
| Channel | Command |
|---|---|
| Go | go install github.com/neprel/git-a2a/v2/cmd/git-a2a@latest |
| Go zero-install | go run github.com/neprel/git-a2a/v2/cmd/git-a2a@latest --version |
| macOS/Linux installer | curl -fsSL https://git-a2a.com/install.sh | bash |
| Windows installer | irm https://git-a2a.com/install.ps1 | iex |
| Homebrew | brew install neprel/tap/git-a2a |
| Scoop | scoop bucket add git-a2a https://github.com/neprel/scoop-bucket; scoop install git-a2a |
| npm | npx git-a2a@latest --version |
| PyPI with uv | uvx git-a2a --version |
| PyPI with pipx | pipx run git-a2a --version |
| Container | docker run --pull=always --rm ghcr.io/neprel/git-a2a:latest --version |
| Nix flake | nix run github:neprel/git-a2a -- --version |
Linux .deb, .rpm, and .apk packages are attached to GitHub Releases. Release archives
cover Darwin, Linux, and Windows on amd64/arm64 and include checksums and SBOMs. The standalone
installers verify checksums and support version pinning, destination selection, and dry-run.
Package-manager installs are updated with that package manager; the binary has no self-updater.
Maintainer and provenance details are in the release guide.
Documentation
- CLI reference
- Manifest reference
- Authoring a component
- Consuming components
- Agents and external A2A clients
- Supported adapters
- Migrating from schema 1
- FAQ
- Release and installation maintenance
The portable Agent Skill teaches a coding agent this six-command workflow. It does not configure an MCP server or agent harness.
Specification as source
Repository decisions and invariants live in .hint files beside the artifacts they govern.
hint <path> returns the knowledge governing a path, and hint check <path...> validates the
linked research records. The repository and CI use HINT 2.0.1. See
HINT for the tool and format.
License: MIT.
git-a2a MCP soruları
git-a2a MCP'yi Claude Code'a nasıl eklerim?
Terminalinizde claude mcp add git-a2a -- npx -y git-a2a komutunu çalıştırın. Her projede kullanılabilir olması için --scope user ekleyin.
git-a2a MCP'yi Cursor'a nasıl eklerim?
~/.cursor/mcp.json dosyasını açın ve yukarıdaki yükleme bölümünde gösterilen Cursor yapılandırmasını kullanarak sunucuyu mcpServers altına ekleyin.
git-a2a ne işe yarar?
Git bileşenlerini, onlardan sorumlu olan ajanlarla birbirine bağlayan platformlar arası bir bileşen bağımlılık yöneticisidir.
git-a2a ajan görevlerini veya iletişimini mi yönetir?
Hayır; mesaj göndermez, görevleri yönetmez, ajanları çalıştırmaz veya Agent Card barındırmaz.
Belirli bir bağımlılıktan sorumlu ajanı nasıl bulabilirim?
Sorumlu ajanı ve kullanılabilir Agent Card referansını raporlamak için git a2a whose NAME komutunu kullanabilirsiniz.