Connect with MCP
GitCore provides an official MCP server with hosted Streamable HTTP and local stdio transports. Both expose the same tools and read-only resources.
| Transport | Connection |
|---|---|
| Hosted Streamable HTTP | https://mcp.gitcore.net/mcp or https://gitcore.net/mcp; send Authorization: Bearer $GITCORE_TOKEN. |
| Local stdio | Run npx -y @gitcorenet/mcp with Node.js 18 or newer. Set GITCORE_TOKEN; optionally set GITCORE_URL for a sovereign or self-hosted GitCore URL. |
The npm package has no external runtime dependencies. Store real personal access tokens in the MCP client's secret or environment settings; do not commit them in a project configuration file.
MCP Tools
| Tool | Purpose |
|---|---|
create_repo |
Create a public or private repository. |
push_stacked_pr |
Commit files, create/update a pull request, link it into a stacked PR DAG, and optionally attach attestation. |
enqueue_speculative_merge |
Add a pull request to the speculative merge queue. |
get_sarif_review |
Read structured SARIF review findings, suggestions, and review/circuit-breaker status. |
sign_agent_attestation |
Sign and attach cryptographic agent provenance. |
submit_sarif_review |
Submit a SARIF v2.1.0 report as structured review findings. |
get_pull_request_stack |
Inspect a pull request's ancestors, descendants, and merge blockers. |
search_public_repos |
Search public GitCore repositories. |
MCP Resources
Agents can read these resources for current product and API context:
gitcore://llms.txt— concise platform and integration index.gitcore://llms-full.txt— detailed technical reference.gitcore://openapi.json— OpenAPI 3.1 REST API contract.
Install the GitCore Agent Skill
The companion skill teaches the standard stacked-PR workflow and links to the API reference:
npx skills add christmasday/gitcore --skill gitcore
The upstream skills CLI currently requires Node.js 22.20 or newer. This is separate from the @gitcorenet/mcp package's Node.js 18 requirement.
The current skill is also available at gitcore.net/skills/gitcore/SKILL.md. For registry publishing and distribution instructions, see the agent distribution runbook.