GitCore Sovereign Git & Swarm Merge MCP Server
GitCore MCP: stacked PRs, speculative merge queues, SARIF reviews & agent attestation.
Sollte ich dies verwenden
Qualität und Sicherheit
Befunde (1)
- LOWin create_repo
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"gitcore-mcp": {
"command": "npx",
"args": [
"@gitcorenet/mcp"
]
}
}
}Ausführbare Pakete
1.1.12stdioRemote-Endpunkte
https://mcp.gitcore.net/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Optional keyword filter matching owner, name, or description."
}
}
}Community
Nachweis