Diff MCP tool lists and dependencies before a release
Catch upstream and local contract changes before agents inherit them. Combine dated MCP Registry dependency checks with local tools/list baseline comparisons in one CI job.
1. Check what changed in an upstream MCP dependency
Ask AgentCaliper what changed since your last known-good version over HTTP, MCP, or the CLI:
node agentcaliper-check.mjs check-dependency dev.agentcaliper/registry-evidence --since-version 0.3.0 --markdown
The report returns observed version updates, lifecycle status changes (deprecated or deleted), transport/endpoint changes, newly required headers or environment variables, and publisher-signed tool-schema diffs when available.
2. Capture comparable local tool lists
Use the same environment, authorization, and client configuration for both captures. Follow every nextCursor and combine the tools into one array before comparing. Measure the known-good capture in the MCP workbench, save its baseline, then compare your candidate under Release drift and estimate repeated context loads in the session cost model.
3. Enforce both checks in GitHub Actions without committing binaries
Download the ready-to-use GitHub Actions workflow. It fetches agentcaliper-check.mjs, verifies its pinned SHA-256 checksum, and writes a Markdown review summary directly into your pull request job summary.
node agentcaliper-check.mjs baseline mcp known-good.json > baseline.json
node agentcaliper-check.mjs audit mcp candidate.json --baseline baseline.json --max-tokens 1000 --fail-on-change --markdown
Comparisons cover declared registry metadata and captured tool definitions. Keep integration tests for live authentication, side effects, latency, and response behavior.