GitCore Sovereign Git & Swarm Merge MCP Server
GitCore MCP: stacked PRs, speculative merge queues, SARIF reviews & agent attestation.
사용해야 할까요
품질 및 안전성
발견 사항 (1)
- LOWcreate_repo에서
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"gitcore-mcp": {
"command": "npx",
"args": [
"@gitcorenet/mcp"
]
}
}
}실행 가능한 패키지
1.1.12stdio원격 엔드포인트
https://mcp.gitcore.net/mcpstreamable-http할 수 있는 일
도구 목록
도구 (8)
🟡create_repo(owner, name, description, defaultBranch, isPrivate, ...)
Provision a new public or private bare Git repository on GitCore and return its Smart HTTP v2 clone URL, default branch, and API metadata.
입력 스키마
{
"type": "object",
"properties": {
"owner": {
"type": "string",
"description": "Owner username or organization slug. Defaults to the authenticated PAT user."
},
"name": {
"type": "string",
"description": "Repository slug (e.g., \"payment-router\")."
},
"description": {
"type": "string",
"description": "Human-readable description of the repository."
},
"defaultBranch": {
"type": "string",
"default": "main",
"description": "Default trunk branch name (defaults to \"main\")."
},
"isPrivate": {
"type": "boolean",
"default": false,
"description": "Set true for private repository, false for public."
},
"initReadme": {
"type": "boolean",
"default": true,
"description": "Initialize repository with a starter README commit so HEAD exists immediately."
}
},
"required": [
"name"
]
}⚪push_stacked_pr(owner, repo, head, base, parentPrNumber, ...)
Atomically commit file additions/edits/deletions onto a stacked feature branch on bare Git storage (or use an already-pushed branch), create/update the Pull Request, link `parentPrNumber` into the Virtual Stacked PR DAG, and optionally attach cryptographic agent attestation.
입력 스키마
{
"type": "object",
"properties": {
"owner": {
"type": "string",
"description": "Repository owner username or organization."
},
"repo": {
"type": "string",
"description": "Repository name."
},
"head": {
"type": "string",
"description": "Feature/stacked branch name (e.g. \"stack/01-schema\"). Created automatically from `base` or `parentPrNumber` if `files` are supplied."
},
"base": {
"type": "string",
"description": "Target base branch. Optional when `parentPrNumber` is provided (automatically targets parent PR head branch)."
},
"parentPrNumber": {
"type": "integer",
"description": "Optional parent Pull Request number in the Virtual Stacked PR DAG."
},
"title": {
"type": "string",
"description": "Pull request title."
},
"body": {
"type": "string",
"description": "Pull request Markdown description."
},
"draft": {
"type": "boolean",
"default": false
},
"commitMessage": {
"type": "string",
"description": "Commit message when `files` are provided (defaults to `title`)."
},
"files": {
"type": "array",
"description": "Optional list of file changes to commit atomically onto `head` without requiring a local git clone.",
"items": {
"type": "object",
"required": [
"path"
],
"properties": {
"path": {
"type": "string",
"description": "Repository-relative file path."
},
"content": {
"type": "string",
"description": "Full UTF-8 file content."
},
"delete": {
"type": "boolean",
"default": false,
"description": "Set true to delete this file."
},
"executable": {
"type": "boolean",
"default": false,
"description": "Set true for executable file mode (100755)."
}
}
}
},
"attestation": {
"type": "object",
"description": "Optional cryptographic agent provenance metadata to sign and attach immediately.",
"properties": {
"agentId": {
"type": "string"
},
"model": {
"type": "string"
},
"runId": {
"type": "string"
},
"promptHash": {
"type": "string"
},
"confidenceScore": {
"type": "number",
"minimum": 0,
"maximum": 1
}
}
}
},
"required": [
"owner",
"repo",
"head",
"title"
]
}🟡enqueue_speculative_merge(owner, repo, prNumber, mergeStrategy, commitTitle, ...)
Add a Pull Request to GitCore Speculative Parallel Merge Queue. Chains in-memory `git merge-tree --write-tree` batches, validates branch protection rules in parallel, and surgically ejects conflicting PRs without stalling healthy downstream PRs.
입력 스키마
{
"type": "object",
"properties": {
"owner": {
"type": "string",
"description": "Repository owner."
},
"repo": {
"type": "string",
"description": "Repository name."
},
"prNumber": {
"type": "integer",
"description": "Pull Request number to enqueue."
},
"mergeStrategy": {
"type": "string",
"enum": [
"merge",
"squash",
"rebase"
],
"default": "merge",
"description": "Git merge strategy when speculative checks succeed."
},
"commitTitle": {
"type": "string",
"description": "Optional custom merge commit title."
},
"autoProcess": {
"type": "boolean",
"default": true,
"description": "Immediately trigger speculative batch evaluation."
}
},
"required": [
"owner",
"repo",
"prNumber"
]
}🟢get_sarif_review(owner, repo, prNumber)
Retrieve structured OASIS SARIF v2.1.0 inline findings, machine-applicable code replacement suggestions, formal review state, Dependabot/secret alert counts, and Anti-Ping-Pong circuit-breaker status for a Pull Request.
입력 스키마
{
"type": "object",
"properties": {
"owner": {
"type": "string",
"description": "Repository owner."
},
"repo": {
"type": "string",
"description": "Repository name."
},
"prNumber": {
"type": "integer",
"description": "Pull Request number."
}
},
"required": [
"owner",
"repo",
"prNumber"
]
}⚪sign_agent_attestation(owner, repo, prNumber, agentId, model, ...)
Cryptographically sign and attach HMAC-SHA256 provenance (`agentId`, `model`, `runId`, `promptHash`, `confidenceScore`, `verifiedActor`) plus optional PGP/Ed25519 client detached signatures onto a Pull Request.
입력 스키마
{
"type": "object",
"properties": {
"owner": {
"type": "string",
"description": "Repository owner."
},
"repo": {
"type": "string",
"description": "Repository name."
},
"prNumber": {
"type": "integer",
"description": "Pull Request number."
},
"agentId": {
"type": "string",
"description": "Unique identifier for the autonomous agent (e.g. \"claude-code-worker-1\")."
},
"model": {
"type": "string",
"description": "Underlying foundation model identifier (e.g. \"gemini-2.5-pro\")."
},
"runId": {
"type": "string",
"description": "Execution trace or run identifier."
},
"promptHash": {
"type": "string",
"description": "SHA-256 hash of the user/orchestrator prompt."
},
"confidenceScore": {
"type": "number",
"minimum": 0,
"maximum": 1,
"default": 1
},
"clientSignature": {
"type": "string",
"description": "Optional detached PGP or Ed25519/ECDSA signature."
},
"clientSignatureAlgorithm": {
"type": "string",
"enum": [
"pgp",
"ed25519",
"ecdsa-p256",
"sigstore",
"custom"
]
},
"clientPublicKey": {
"type": "string",
"description": "Optional armored PGP public key or PEM public key to verify `clientSignature`."
}
},
"required": [
"owner",
"repo",
"prNumber",
"agentId",
"model"
]
}🟡submit_sarif_review(owner, repo, prNumber, sarif)
Post an OASIS SARIF v2.1.0 report onto a Pull Request as structured inline review comments.
입력 스키마
{
"type": "object",
"properties": {
"owner": {
"type": "string"
},
"repo": {
"type": "string"
},
"prNumber": {
"type": "integer"
},
"sarif": {
"type": "object",
"description": "Valid SARIF v2.1.0 JSON object containing `runs[]`."
}
},
"required": [
"owner",
"repo",
"prNumber",
"sarif"
]
}🟢get_pull_request_stack(owner, repo, prNumber)
Retrieve ancestor PRs, descendant PRs, rebase status, and merge blockers for a Pull Request in a stack.
입력 스키마
{
"type": "object",
"properties": {
"owner": {
"type": "string"
},
"repo": {
"type": "string"
},
"prNumber": {
"type": "integer"
}
},
"required": [
"owner",
"repo",
"prNumber"
]
}🟢search_public_repos(query)
List and search public repositories hosted on GitCore.
입력 스키마
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Optional keyword filter matching owner, name, or description."
}
}
}커뮤니티
증거