MCP-Bridge icon indicating copy to clipboard operation
MCP-Bridge copied to clipboard

How do you handle upstream MCP servers changing schema/tool list under MCP-Bridge?

Open anythingoah opened this issue 3 months ago • 1 comments

Hey, not a bug report more of a question about how MCP-Bridge handles a specific case.

If one of the MCP servers you're bridging to changes its tool list or schema (renamed tool, changed param, dropped a field) while MCP-Bridge is running against it, how does that usually surface? Does it error out at request time, does the OpenAI-compatible endpoint just silently pass through whatever the new shape is, or is there something that catches it before a client hits it?

Curious whether this has come up in practice with any of the servers you bridge to, or if it's not really been an issue.

Thanks

anythingoah avatar Aug 24 '26 12:08 anythingoah

Great question - today the bridge passes upstream changes straight through. Nothing validates the tool list or schemas between the upstream server and the OpenAI-compatible endpoint: a renamed tool surfaces as a call-time error on the client, a changed parameter or dropped field surfaces as whatever the upstream validation returns, and a changed tool description (which is model-facing instruction text) surfaces as silently different behavior. That last class is the nasty one.

The catching layer you're asking about is exactly what we built rugsnare for (open source, Apache-2.0): it pins each upstream tool's contract (name + description + inputSchema, sha-256) at approval time and diffs on every change - graded by direction (tightened/loosened/new tool), with an HTML report showing was/became text side by side. A cold-start audit run catches pre-existing drift for servers already bridged today. It runs as an npm CLI or a standalone 7 MB native launcher for non-technical users.

So the practical answer for MCP-Bridge users: pin the upstreams rugsnare-style, re-diff when you bump a server version, and the bridge keeps doing what it does - but nothing surprises the client anymore.

Verified drift records for popular servers (Netlify, MongoDB, Sentry and others, with repro commands) are here if useful: https://github.com/Paraphern/rugsnare/tree/main/docs/servers

Paraphern avatar Oct 11 '26 21:10 Paraphern