GitCore Sovereign Git & Swarm Merge MCP Server
v1.1.12GitCore MCP: stacked PRs, speculative merge queues, SARIF reviews & agent attestation.
Values you need
| Variable | What it is | |
|---|---|---|
GITCORE_TOKEN | required secret | GitCore Personal Access Token (`gitcore_pat_...`) for authenticating write operations. |
GITCORE_URL | optional | GitCore base URL (defaults to https://gitcore.net; override for self-hosted/air-gapped VPC instances). Default: https://gitcore.net |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add gitcore-mcp -e 'GITCORE_TOKEN=<GITCORE_TOKEN>' -- npx -y --package=@gitcorenet/mcp@1.1.12 gitcore-mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"gitcore-mcp": {
"args": [
"-y",
"--package=@gitcorenet/mcp@1.1.12",
"gitcore-mcp"
],
"command": "npx",
"env": {
"GITCORE_TOKEN": "<GITCORE_TOKEN>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"gitcore-mcp": {
"args": [
"-y",
"--package=@gitcorenet/mcp@1.1.12",
"gitcore-mcp"
],
"command": "npx",
"env": {
"GITCORE_TOKEN": "<GITCORE_TOKEN>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "GITCORE_TOKEN",
"id": "gitcore-token",
"password": true,
"type": "promptString"
}
],
"servers": {
"gitcore-mcp": {
"args": [
"-y",
"--package=@gitcorenet/mcp@1.1.12",
"gitcore-mcp"
],
"command": "npx",
"env": {
"GITCORE_TOKEN": "${input:gitcore-token}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.gitcore-mcp]
command = "npx"
args = ["-y", "--package=@gitcorenet/mcp@1.1.12", "gitcore-mcp"]
env = { "GITCORE_TOKEN" = "<GITCORE_TOKEN>" }Remote (hosted)
Run in a terminal
claude mcp add --transport http gitcore-mcp https://mcp.gitcore.net/mcp --header 'Authorization: <Authorization>'Add to
Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote){
"mcpServers": {
"gitcore-mcp": {
"args": [
"-y",
"mcp-remote",
"https://mcp.gitcore.net/mcp",
"--header",
"Authorization: <Authorization>"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"gitcore-mcp": {
"headers": {
"Authorization": "<Authorization>"
},
"url": "https://mcp.gitcore.net/mcp"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"gitcore-mcp": {
"headers": {
"Authorization": "<Authorization>"
},
"type": "http",
"url": "https://mcp.gitcore.net/mcp"
}
}
}Add to
~/.codex/config.toml[mcp_servers.gitcore-mcp]
command = "npx"
args = ["-y", "mcp-remote", "https://mcp.gitcore.net/mcp", "--header", "Authorization: <Authorization>"]For AI agents
- Ask the user for: GITCORE_TOKEN. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: create_repo, push_stacked_pr, enqueue_speculative_merge, get_sarif_review, sign_agent_attestation, submit_sarif_review, get_pull_request_stack, search_public_repos.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json