Skip to content
Bots
← All editions

AI Open Source Radar / #073

mcp-contracts

Paulo Cesar Braga2 min read

English translation of the original edition published on LinkedIn. Assessments reflect the context of the original publication. View the original ↗

🔬 AI Open Source Radar #073

🧩 Architecture Layer 📐 Tool Contract Layer

🆕 Emerging Discipline 🔏 Agent Tool Contract Engineering

📌 Project: mcp-contracts

Your agent uses an MCP tool called:

"create_customer"

Today it receives:

"name + email"

Tomorrow the server will be updated.

Now you receive:

"name + email + phone"

And "phone" became mandatory.

The agent has not changed.

The workflow has not changed.

But the contract changed.

And production crashes.

🧠 The problem it addresses

Agent tools are becoming software dependencies.

And dependencies evolve.

Schemas change.

Parameters appear.

Enums decrease.

Tools disappear.

Descriptions are changed.

The mcp-contracts treats MCP schemas as contracts:

📸 Snapshot
↓
🔍 Diff
↓
🚦 Classify
↓
🧪 Test
↓
✍️ Sign
↓
🚀 Release

A change can be classified as:

🟢SAFE 🟡WARNING 🔴BREAKING

before reaching the agents.

⚙️ What stood out to me

Even changes to the tool description are included in the diff.

This is important because, for an agent, description is not just documentation.

Description influences behavior.

A seemingly innocent change can change how the model decides to use that tool.

🔬 AI Open Source Radar

🔵 Recommendation: Try

🏛️ Architectural role: Tool Contract Safety

🌱 Maturity: Emerging / Accelerating

💬 My view

MCP is transforming tools into a kind of API for agents.

So we will need to apply the same discipline to them that we learned with APIs:

versioning, contracts, testing and compatibility.

📈 My outlook

Changes to tool schemas will go through CI before reaching agents.

📌 Repository: https://lnkd.in/dj-4W6vV

❓ If an MCP Server changes silently tomorrow, how many agents in your company break without anyone noticing?

#AIOpenSourceRadar #MCP #AgentTools #ContractTesting #AIAgents #AIEngineering #OpenSource