The short answer

Version your MCP tool contracts independently from the MCP protocol version.

The MCP protocol version tells a client which protocol revision it is speaking. Your tool contract tells it which tools exist, what arguments they accept, what they return, and what capabilities they support. Changing a tool name, removing a parameter, narrowing an accepted value, changing a field’s meaning, or replacing a result format can break an agent even when the underlying protocol connection still works.

For a production MCP server, the safest pattern is:

  1. Keep existing tool names and parameters stable.
  2. Treat additive changes carefully, not automatically as safe.
  3. Give materially different behavior a new contract version.
  4. Advertise supported versions and negotiate one explicitly.
  5. Roll out gradually and retain the previous contract for rollback.

That sounds conservative, but it prevents a larger commercial problem: an agent that used to complete a customer workflow successfully starts guessing, retrying, or asking the model to improvise around a changed tool.

Protocol compatibility is not tool compatibility

MCP provides its own versioning and compatibility mechanisms. Protocol revisions use date-based identifiers. Depending on the revision, compatibility is established during initialization or through version metadata carried on requests. Modern MCP versions can also expose supported protocol versions and server capabilities through discovery.

Those mechanisms do not automatically version your business API inside each tool. A server can speak a supported MCP revision and still break its clients by changing a tool from search_orders to find_orders.

There are three separate compatibility layers to track:

  • Transport compatibility: Can the client and server exchange MCP messages?
  • Protocol compatibility: Do both sides support a compatible MCP revision and the required features?
  • Tool-contract compatibility: Does the client’s cached understanding of each tool still match the server’s behavior?

A connection can pass the first two checks and fail the third.

This distinction is especially important for indie developers. Protocol negotiation may let a connection succeed, giving you no immediate warning that a renamed argument or altered result structure has invalidated a workflow.

Classify every change before releasing it

Use a change matrix rather than intuition. Ask whether the change affects tool identity, input interpretation, output interpretation, side effects, or capability discovery.

Usually backward-compatible additions

Examples include:

  • Adding an optional input parameter with a behavior that preserves the previous default.
  • Adding a new, separately named tool without changing existing tools.
  • Adding an optional field to an output object while retaining every previous field.
  • Adding a capability that clients may ignore unless they explicitly request or enable it.

“Usually” matters. An optional field can still break a strict client, a generated validator, or an agent workflow that forwards the entire result into another system with a closed schema. Test your actual consumers before calling an addition harmless.

Breaking changes

Examples include:

  • Renaming or removing a tool.
  • Renaming, removing, or making a previously optional input parameter required.
  • Narrowing an enum, range, format, or accepted resource type.
  • Changing the unit of a value, such as cents to dollars.
  • Changing a field’s meaning while preserving its name and type.
  • Changing a successful result from an object to a string, or vice versa.
  • Removing a previously available capability or permission.
  • Changing whether an operation is safe, read-only, destructive, or idempotent.

Descriptions deserve special attention. A description rewrite may not break JSON validation, but it can alter which tool an agent selects. If the meaning, ordering guidance, side-effect warning, or preferred use case changes materially, treat the change as a contract change even when the schema itself is untouched.

Changes that need a separate capability rather than an in-place mutation

If you need to support two materially different workflows, publish separate capabilities or versions. Do not make one tool branch according to ambiguous inputs.

For example, rather than changing send_email so its recipient field sometimes expects an object and sometimes a string, publish send_email and send_email_v2. Clear names can be less elegant, but they are easier for clients to allowlist, document, test, and roll back.

A capability can also be used to expose an optional behavior separately from the original tool. The key is that the client must be able to discover what changed before relying on it.

Version the contract in a machine-readable place

Do not rely on a Git tag, release note, or prose changelog alone as the compatibility mechanism. A client needs enough information to determine which contract it has and which alternatives the server supports.

At minimum, record:

  • A stable contract version, such as 2026-07-28 or a semantic value such as 2.1.0.
  • The tool name.
  • The input schema.
  • The output shape, if your implementation exposes one.
  • Optional capabilities and their settings.
  • Whether the operation is read-only, mutating, destructive, or idempotent.
  • A deprecation status and migration guidance when relevant.

For a small server, this can be a JSON manifest generated from the implementation and served during discovery or initialization. For example:

{
  "contractVersion": "2026-07-28",
  "supportedContractVersions": [
    "2026-07-28",
    "2026-04-15"
  ],
  "tools": [
    {
      "name": "search_orders",
      "inputSchema": {
        "type": "object",
        "properties": {
          "customer_id": { "type": "string" },
          "status": {
            "type": "string",
            "enum": ["open", "paid", "cancelled"]
          }
        },
        "required": ["customer_id"],
        "additionalProperties": false
      },
      "capabilities": {
        "readOnly": true,
        "idempotent": true
      }
    }
  ]
}

This is not a claim that every MCP server must use this exact manifest shape. It is a practical representation of what your server needs to expose so a client can make an informed selection.

Keep the version attached to the complete tool set. A single server can contain several compatible tools, but publishing a new tool while retaining old definitions is not a versioning strategy if clients cannot tell which snapshot they received.

Make capability negotiation explicit

Capability negotiation answers two different questions:

  1. Which contract version does this session use?
  2. Which optional behaviors does the client want or support?

Do not collapse these into a single “latest” flag. A client may support a current contract while declining an optional feature that requires extra permissions, a different output renderer, or a capability the client’s model does not understand.

Use this sequence:

  1. The client discovers the server’s supported contract versions, tools, and capabilities.
  2. The client selects the newest mutually supported version, or a previously pinned version.
  3. The server confirms the selected version for the session or otherwise makes it explicit in request metadata.
  4. The client requests only the optional capabilities it can handle.
  5. The server must not assume that advertised means enabled.

A practical selection rule is “newest mutually supported,” but clients should be able to pin. Pinning matters when an agent was tested against a particular tool description, output structure, or side-effect policy. The server may keep supporting that older contract for a defined period.

Avoid silently choosing the newest version for every client. A compatible client may still have a prompt, allowlist, generated SDK, or workflow instruction that assumes the older contract.

Add compatibility checks to CI

A schema diff is useful, but schema equality is not enough. Your compatibility test should include the agent’s behavior, not only whether JSON validates.

Build fixtures for each supported contract:

fixtures/
  2026-04-15/
    search_orders.request.json
    search_orders.response.json
  2026-07-28/
    search_orders.request.json
    search_orders.response.json

Then run four checks:

  1. Schema check: Existing requests still validate against the selected input schema.
  2. Fixture check: Existing response fixtures still match the documented output shape.
  3. Semantic check: Important fields retain their meaning, units, and optionality.
  4. Workflow check: A representative agent can complete the critical task without inventing arguments or misreading the result.

The semantic check catches changes that a structural diff misses. For example, renaming total to amount while changing its unit from cents to dollars is structurally additive but operationally breaking.

The workflow check can be smaller than a full product test. Preserve recorded tool calls and expected outcomes for a handful of revenue-critical tasks, such as finding an order, issuing a refund, or creating a support ticket. Compare the new contract against the pinned baseline.

A practical release gate is:

- No existing tool is removed or renamed without a new major contract.
- No existing required input is added.
- No existing output field changes type, unit, or meaning.
- All prior request fixtures validate.
- All prior response fixtures match the documented contract.
- Critical workflow fixtures produce the expected operation.
- The server can serve both the previous and new contracts.

Do not treat a green validator as proof that an agent workflow is safe. The failure mode that matters is often semantic.

Stage the rollout by server and client

Avoid replacing a production contract with a single flag flip. Stage the release so you can compare failures and stop before customers lose a working automation.

A practical sequence is:

  1. Deploy the new implementation but keep the old contract selected by default.
  2. Run internal or test clients against the new contract.
  3. Enable the new contract for a small percentage of sessions or an internal allowlist.
  4. Compare validation errors, tool-selection errors, retries, task completion, and human escalations.
  5. Expand gradually while retaining the previous version.
  6. Remove the previous version only after its usage has fallen to zero and the deprecation window has ended.

Instrument the selected contract version with each request. Without that dimension, a rising error rate cannot be attributed to a specific schema or description change.

Useful operational signals include:

  • Tool-call volume by version.
  • Validation failures by tool and version.
  • Unknown-tool errors.
  • Unsupported-capability errors.
  • Result-schema validation failures.
  • Duplicate or repeated calls after a tool error.
  • Successful workflow completion by client version.

Version-level metrics let you distinguish “the new tool is broken” from “one client has stale instructions.”

Plan rollback for cached contracts

Clients may cache tool lists, generated schemas, allowlists, or prompt instructions. Even after the server rolls back, those cached artifacts may still refer to the newer contract.

This means rollback has two parts:

  • Restore serving the previous contract from the server side.
  • Ensure the previous contract is still accepted and produces the expected result.

If a breaking release is already serving a renamed tool, merely restoring the old binary may not help clients that cached the new name. A practical incident procedure is:

  1. Stop routing new sessions to the new contract.
  2. Re-enable the previous contract as the default.
  3. Optionally publish a compatibility alias for the new tool name that maps to old behavior, if doing so is safe and observable.
  4. Confirm cached clients can complete the critical workflow.
  5. Ask clients to refresh their tool list or reconnect where possible.
  6. Preserve logs and failing fixtures for diagnosis.

An alias is a recovery tool, not a migration plan. It can be dangerous if both names imply different semantics or if the new name led clients to expect behavior the old implementation cannot provide.

Cache control helps, but do not assume every client honors it. Treat reconnect and rediscovery as normal operational mechanisms, and design rollback so cached clients do not need to download anything to recover.

Deprecate instead of deleting

When a contract must change, publish a replacement before removing the old one. A useful deprecation notice includes:

  • The old and new contract versions.
  • The exact semantic difference.
  • A migration example.
  • The removal date or condition.
  • Whether both versions can run concurrently.

Do not change the meaning of an old tool in place and call it a deprecation. A deprecated contract must continue to behave as advertised until it is removed.

For a solo founder, supporting two contracts temporarily is usually less expensive than debugging failed customer automations. If the operational burden is too high, shorten the migration window and communicate it clearly rather than breaking clients without warning.

A release checklist for solo developers

Before deploying a tool-schema change, answer these questions:

  • Which tool contract versions does the server support?
  • Which version does each client select?
  • Can an existing client pin the old version?
  • Did any tool name, parameter meaning, result meaning, unit, or side effect change?
  • Can the server serve both old and new versions during the transition?
  • Do old request and response fixtures still pass?
  • Does a representative agent still complete the critical workflow?
  • Are logs segmented by contract version?
  • Can the new contract be disabled without removing the old one?
  • Do clients with cached tool definitions have a recovery path?
  • Are deprecated versions documented and scheduled for removal?

If the answer to the first or eighth question is unclear, the release is not ready.

Frequently asked questions

Does a backward-compatible MCP protocol revision mean my tool changes are safe?\n

No. Protocol compatibility concerns the transport and protocol layer. Your tool contract can still break clients through renamed tools, changed arguments, altered result meanings, or revised tool descriptions.

Is adding an optional parameter always safe?\n

No. It is generally low-risk, but strict clients, generated validators, and downstream systems may reject unknown properties. Test against the clients you actually support.

Should every description edit create a new version?\n

No. A typo fix may not need a version. A change that alters tool selection, side-effect expectations, or required workflow steps should be treated as a meaningful contract change even if the JSON schema is unchanged.

Should clients always choose the newest version?\n

Newest mutually supported is a useful default, but pinning is important for agents tested against a particular contract. Allow clients to select a known version and keep older versions available for a defined migration period.

Is MCP capability negotiation enough to solve cached-contract problems?\n

No. Negotiation works only when clients can rediscover the server’s capabilities and can select a compatible contract. Rollback must still preserve the old server behavior because some clients may operate from cached definitions or static instructions.

The founder’s decision

If you sell an MCP-enabled product, tool-contract reliability is part of the product’s reliability. Treat each contract as an interface customers may depend on, not as release-note trivia.

The practical operating model is conservative on purpose: stable names, explicit versions, machine-readable capabilities, compatibility fixtures, staged exposure, and reversible releases. It costs some engineering discipline, but it protects the workflows that create customer value—and makes agent failures diagnosable instead of mysterious.

Sources