Security/GitHub/Tool

mcp-drift

by DangTruong96·Last observed 2026-10-26
★ 0 stars⑂ 0 forks

MCPDrift is a CLI tool that snapshots an MCP server’s tool definitions into a lockfile and checks later snapshots for changes. It fingerprints full tool, resource, and prompt definitions, reports field-level differences, and can run checks in CI.

Useful for

  • Pin an MCP server’s approved definitions in a committed lockfile and have CI flag definition changes for review.

Key features

  • Snapshots and fingerprints full MCP tool, resource, and prompt definitions, then reports field-level changes and checks lockfile integrity.
  • Can run in CI with exit codes for clean, drift, or error results; remote HTTP servers can be checked offline using a saved tools/list response.

Requirements & limitations

  • Requires Python 3.9+ and uses only the standard library.
  • Remote HTTP servers are supported through offline `--tools-file` mode; native HTTP probing is on the roadmap.

Project information

CategorySecurity
TypeTool
Author / organizationDangTruong96
LicenseMIT
Last observed2026-10-26

Discussion

No comments yet.

Sign in with Google to comment. Browsing is open to everyone.

Community vote