Developer builds CI tool to detect silent contract changes in MCP servers
A developer has released mcpward, an open-source command-line tool designed to catch unannounced changes in Model Context Protocol (MCP) server contracts before they break AI agent behaviour in production. The tool works by snapshotting a server's tool definitions — including descriptions, input/output schemas, and annotations — into a lockfile, then flagging any drift in CI pipelines. Unlike existing tools such as Invariant Labs' mcp-scan, which focuses on auditing locally installed servers for security threats, mcpward targets teams who need a build gate against dependency-style contract drift. The tool classifies changes as breaking or non-breaking, failing builds on critical shifts such as rewritten tool descriptions, newly required parameters, or readOnlyHint flipping from safe to mutable. The project highlights a broader gap in AI agent development: MCP servers carry no versioning or integrity guarantees, meaning silent changes can silently alter agent behaviour with no visible diff to review.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in