X402 Git

mcp-tool-schema-drift-detector

Detects breaking schema drift in Model Context Protocol (MCP) tool lists, preventing AI agent crashes.

Top level of the repository
SizeFolderInside
951 Bexamples/2 examples
5.2 kBbin/1 script
2.4 kBsrc/1 source file
576 Btests/1 test file
5.3 kB(root)4 docs · 1 asset
11 files · 14.5 kB · computed 2026-09-17
SizePath
2.1 kBLICENSE
430 BQUICKSTART.md
1.9 kBREADME.md
326 BSECURITY.md
6 BVERSION · binary
5.2 kBbin/mcp-tool-drift.js
596 Bexamples/v1.json
355 Bexamples/v2.json
606 Bpackage.json
2.4 kBsrc/detector.js
576 Btests/test_detector.js
computed 2026-09-17 21:51 UTC · analyzer 0.1.0

Already bought this?

View your purchases

README

mcp-tool-schema-drift-detector

Detects breaking schema drift in Model Context Protocol (MCP) tool lists, preventing AI agent hallucinations and tool call crashes.

Version License: MIT Zero Dependencies


What Can Break?

MCP servers deleting tools, introducing newly required parameters, or mutating argument types that cause AI agents to break mid-task.

What Does This Tool Check?

MCP tool names, inputSchema properties, required argument lists, enum values, and tool output contracts.

What Does It NOT Check?

Underlying LLM model token limits or prompt engineering wording.

How Fast Can I Run It?

Under 5 seconds. Zero external dependencies. Pure Node.js standard library.

# Clone and run
git clone git@github.com:genesiscode2026/mcp-tool-schema-drift-detector.git
cd mcp-tool-schema-drift-detector

# Execute 60-second demo
./bin/mcp-tool-drift.js --help
./bin/mcp-tool-drift.js --old examples/v1.json --new examples/v2.json

What Do I Get?

  • Deterministic CLI Exit Codes: Returns code 0 on backward-compatible contracts; returns code 1 on breaking drift.
  • Machine-Readable JSON: Pass --json to integrate directly into GitHub Actions, GitLab CI, or pre-commit hooks.
  • Human-Readable Diffs: Clear, actionable error reports with exact field pointers.

Commercial Distribution

  • Catalog ID: P53
  • Price Band: higher-value compatibility ($19)
  • List Price: $19 USD
  • License: GENESIS Commercial Source License v1.0
  • Seller: genesiscode2026
  • Official Storefront: Genesis Code on Getly

Security scan report

Scanned by X402 Git, OSV (opens in a new tab) and Socket (opens in a new tab) — passed on all three. Findings from X402 Git and Socket are listed below.

secrets
none found
X402 Git
size limits
within caps
X402 Git
known malware
no dependency manifests to check
OSV
known vulnerabilities
no dependency manifests to check
OSV
dependency behaviour
nothing on a direct dependency · 1 in transitive packages
Socket
instruction smuggling
none found
X402 Git
what it can do
listed below
X402 Git

What this can do

Tools
none
Runs
bin/mcp-tool-drift.js
Talks to
nothing
Reads
no environment variables
At install
nothing runs
Links to
  • img.shields.io
  • www.getly.store
Findings (2)
  • LOWSocket SBOM Resolver — Socket SBOM Resolver (transitive) — no lockfile, so installs are not reproducible
  • LOWbin/mcp-tool-drift.js — Ships the script bin/mcp-tool-drift.js

Releases 1

  1. v1.0.02026-09-17

    Commercial release v1.0.0 for mcp-tool-schema-drift-detector

$19updates $5

Buy — go to the order block