Skip to content

Give your coding agent an API upgrade check

Add GitGo to Claude Code, Codex, Cursor or another MCP client so your agent can check its own SDK upgrades.

Guides2 min read

Short answer

Run gitgo mcp as a Model Context Protocol server. Your coding agent can then run the same API upgrade check as CI, and GitGo only reads your files. Add it to Claude Code with claude mcp add gitgo -- gitgo mcp.

Coding agents are good at bumping an SDK version and fixing the compile errors that follow. They miss the changes that compile fine: a field that is now optional, a new enum value, a response property that was removed from the API but is still typed as any. GitGo gives the agent the same check CI runs, so it can find those before it hands the work back.

What your agent can check

  • gitgo scan: list each line of your code that a new API version affects.
  • gitgo diff: list each change between two API versions.
  • gitgo usages: list every vendor API call, client and version pin in the project.

The agent gets each finding with its file and line, and a pass or fail result. GitGo only reads files. It never writes to your repository.

Add it to your agent

In Claude Code, install the plugin. It adds GitGo and tells Claude to scan before and after an SDK or API version upgrade:

Terminal
/plugin marketplace add gitgo-hq/gitgo
/plugin install gitgo@gitgo

Or add only the server, in Claude Code or Codex:

Shell
claude mcp add gitgo -- gitgo mcp
codex mcp add gitgo -- gitgo mcp

Cursor and most other clients read an mcpServers map:

.cursor/mcp.json
{
  "mcpServers": {
    "gitgo": { "command": "gitgo", "args": ["mcp"] }
  }
}

Limits

Reports over 200 KB are cut short, with a note to check a smaller part of the project or run the CLI directly. A run stops after 300 seconds; set GITGO_MCP_TIMEOUT_SECS to change that.

Hand CI findings to an agent

The GitHub Action's report is plain JSON or SARIF, so a later step can give it to an agent when the check fails. The agents guide has workflows for the Claude Code and Codex actions. Agents in CI run with the permissions the workflow grants, so keep contents: write off workflows that run on pull requests from forks.

Run it on your own code

The CLI is free and open source. It runs on your machine and sends nothing anywhere.