Git 컴포넌트 의존성을 관리하고 Agent Card 참조를 사용하여 코딩 에이전트를 담당 소유자에게 연결합니다.
다른 이름 neprel/git-a2a
- 스타
- 0
- Tools
- —
- 다운로드, 30일
- —
- 최신 버전
- 1.7.1
- 마지막 커밋
- 2026년 9월 18일
- 라이선스
- MIT
git-a2a MCP란?
git-a2a은(는) MCP server입니다. Git 컴포넌트 의존성을 관리하고 Agent Card 참조를 사용하여 코딩 에이전트를 담당 소유자에게 연결합니다.
프로젝트 README에서 생성된 요약
git-a2a MCP server 정보
git-a2a는 Git 컴포넌트를 해당 컴포넌트를 담당하는 특정 코딩 에이전트에 연결할 수 있게 해줍니다. 이 크로스 플랫폼 의존성 관리 도구를 사용하면 개발자는 코드 저장소를 Agent Card 참조와 연결할 수 있으며, 변경 사항이 발생하거나 문의가 필요할 때 AI 에이전트가 올바른 소유자에게 전달되도록 보장할 수 있습니다. 이 도구는 메시징이나 작업 실행 플랫폼이 아닌 메타데이터 및 라이프사이클 관리자로 작동합니다.
사용자는 init, add, pull, list, remove, whose와 같은 명령어를 사용하는 CLI를 통해 도구와 상호작용합니다. npm, PyPI, Cargo, SwiftPM과 같은 네이티브 패키지 관리자뿐만 아니라 CMake, Maven과 같은 빌드 시스템을 포함한 다양한 어댑터를 통해 의존성을 관리합니다. 이 도구는 지속적인 바인딩을 유지하기 위해 특정 커밋과 어댑터 변형을 기록합니다. 개발 환경 내에서 로컬로 사용되어 a2amodule.yml 매니페스트를 관리하며, 로컬 디렉터리에 API 문서와 같은 선택적 인터페이스를 생성합니다.
활용 사례
- 1담당 에이전트 소유자 식별주어진 의존성에 대한 특정 에이전트와 해당 Agent Card 참조를 찾습니다.
- 2컴포넌트 의존성 동기화이전에 선택한 어댑터와 변형을 통해 연결된 모든 의존성을 업데이트합니다.
- 3새 코드 컴포넌트 등록새 저장소를 로컬 프로젝트에 연결하고 소유자와 문서를 기록합니다.
- 4로컬 의존성 감사커밋, 어댑터 및 Agent Card를 포함한 모든 직접 의존성 보고서를 생성합니다.
프로젝트의 README를 바탕으로 작성되었습니다. 모든 활용 사례는 해당 내용의 인용문과 대조하여 확인합니다.
git-a2a MCP 설치 방법
형식 확인: 2026년 11월 10일Cursor에 추가Goose에 추가Claude Code에 git-a2a MCP 설치
$ claude mcp add git-a2a -- npx -y git-a2aCursor에 git-a2a MCP 설치
~/.cursor/mcp.json
{
"mcpServers": {
"git-a2a": {
"command": "npx",
"args": [
"-y",
"git-a2a"
]
}
}
}VS Code에 git-a2a MCP 설치
.vscode/mcp.json
{
"servers": {
"git-a2a": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"git-a2a"
]
}
}
}VS Code CLI에 git-a2a MCP 설치
$ code --add-mcp '{"name":"git-a2a","type":"stdio","command":"npx","args":["-y","git-a2a"]}'Claude Desktop에 git-a2a MCP 설치
claude_desktop_config.json
{
"mcpServers": {
"git-a2a": {
"command": "npx",
"args": [
"-y",
"git-a2a"
]
}
}
}Codex에 git-a2a MCP 설치
$ codex mcp add git-a2a -- npx -y git-a2aCodex config.toml에 git-a2a MCP 설치
~/.codex/config.toml
[mcp_servers.git-a2a] command = "npx" args = ["-y", "git-a2a"]
Gemini CLI에 git-a2a MCP 설치
$ gemini mcp add -s user git-a2a npx -- -y git-a2aGemini settings.json에 git-a2a MCP 설치
~/.gemini/settings.json
{
"mcpServers": {
"git-a2a": {
"command": "npx",
"args": [
"-y",
"git-a2a"
]
}
}
}구성
DEMO_PROFILE
| 이름 | 설명 | 유형 |
|---|---|---|
| DEMO_PROFILE | — |
자동 검사
2026년 11월 14일에 실행됨전체 보고서 →자동 검사를 통과했습니다. 이는 보안 감사가 아닙니다. 코드를 직접 읽고 서버에 필요한 최소한의 권한만 부여하십시오. 검사 방식
- 소스 저장소 연결 및 접근 가능neprel/git-a2a is public and reachablegithub.com/neprel/git-a2a ↗통과
- 패키지가 이 저장소를 소스로 명시git-a2a names neprel/git-a2a as sourcenpmjs.com/package/git-a2a ↗통과
- 빌드 출처(Sigstore 증명)Sigstore attestation for git-a2anpmjs.com/package/git-a2a/v/1.7.1#provenance ↗통과
- 오픈 소스 라이선스 (OSI)MITspdx.org/licenses/MIT.html ↗통과
- 최근 1년 내 커밋 또는 릴리스Last commit or release 2026-09-18github.com/neprel/git-a2a ↗통과
- OpenSSF Scorecard검사되지 않음
- 패키지 이름이 인기 패키지와 유사하지 않음No popular package one edit away from git-a2a통과
- 패키지 및 해당 종속성에 중요한 보안 권고 없음7 resolved dependencies checked; no critical advisoryosv.dev ↗통과
- 모델에 대한 숨겨진 지침 없음0 tool descriptions and the README read; no override phrases, credential paths or hidden characters통과
- 파괴적인 도구에 라벨 표시됨검사되지 않음
- 원격 엔드포인트가 MCP 핸드셰이크에 응답검사되지 않음
README
GitHub에서 보기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 질문
git-a2a MCP를 Claude Code에 추가하려면 어떻게 하나요?
터미널에서 claude mcp add git-a2a -- npx -y git-a2a를 실행합니다. 모든 프로젝트에서 사용할 수 있게 하려면 --scope user를 추가합니다.
git-a2a MCP를 Cursor에 추가하려면 어떻게 하나요?
~/.cursor/mcp.json를 열고 mcpServers 아래에 서버를 추가합니다. 위 설치 섹션에 표시된 Cursor 구성을 사용합니다.
git-a2a는 어떤 역할을 하나요?
Git 컴포넌트와 이를 담당하는 에이전트를 연결하는 크로스 플랫폼 컴포넌트 의존성 관리 도구입니다.
git-a2a가 에이전트의 작업이나 통신을 관리하나요?
아니요, 메시지 전송, 작업 관리, 에이전트 실행 또는 Agent Card 호스팅 기능은 제공하지 않습니다.
특정 의존성을 담당하는 에이전트를 어떻게 찾을 수 있나요?
git a2a whose NAME 명령어를 사용하여 담당 에이전트와 사용 가능한 Agent Card 참조를 확인할 수 있습니다.