What is a pinned baseline for an MCP server?
Published 2026-11-14 · Reviewed 2026-11-14 · By the Ingenious AI team
The short answer
A pinned baseline is the recorded, exact state of an MCP server at the moment you approved it: every tool's name, description and input schema, stored as canonical digests alongside the readable report. Later scans compare the live server against those digests. A match means the thing you approved is still the thing connected; a mismatch produces a human-readable diff and a pending decision instead of silent trust. In TrustGate, pinning a baseline is the step that turns a one-time free scan into continuous protection — re-scans, diffs and (with the gateway) call-time enforcement all hang off it.
What is a pinned baseline?
A pinned baseline is an immutable snapshot of an approved MCP server's tool definitions — names, descriptions and input schemas — canonicalised and reduced to SHA-256 digests, stored with the scan report that a human reviewed. “Pinned” means the record does not drift with the server: when the live server changes, the baseline stays where the approval put it, and the difference between the two becomes the unit of review. Approving a change creates a new baseline; until then, the old one remains the definition of “approved”.
Why “we reviewed it” needs a machine-readable form
Human approval is an event; security needs it to be a state. “We reviewed the invoicing server in March” decays immediately — nobody remembers the exact wording of eleven tool descriptions, and the reviewer may leave the team. A baseline converts that event into an artifact: this text, these schemas, this configuration, approved by this person on this date. Any future question about what was approved has an answer that does not depend on memory or archaeology through old tickets.
The digest is what makes the artifact precise. Canonicalising a tool definition — stable ordering, stable formatting — and hashing it means comparison is exact and cheap: identical definitions produce identical digests, and any edit, even whitespace-level rewording inside a description, produces a different one. TrustGate exposes these digests as an API as well, so connected systems like gateways can ask “what is the currently approved digest for this server and tool?” and get a verifiable answer.
What goes into a TrustGate baseline
The pinned core is the tool definitions: names, descriptions and input schemas — the surface an agent actually reads and acts on, and the surface a rug pull edits. Around that core, the scan report records the wider context the reviewer saw: the server's prompts, its configuration signals, command and permission risk, static-key flags, injection evidence and toxic-flow findings, so a later reviewer can reconstruct not just what was approved but what was known when it was approved.
Baselines live per server setup, and history is kept: when a change is approved, the new state becomes the baseline and the old one remains in the record. That history is what powers incident replay — the ability to walk a server's approved states in order and see which change introduced which behaviour, instead of reconstructing a timeline from deploy logs and hunches.
The lifecycle: pin, watch, diff, decide
Pinning happens right after a review you trust: run the scan, read the report, fix or accept what it shows, then pin. A baseline pinned over an unreviewed server is just a photograph of a problem, so the order matters — the baseline certifies a decision, it does not replace one. Our pre-connection audit guide is the review the pin should follow.
Watching is scheduled re-scans against the baseline. Deciding is the re-approval workflow: a diff lands in a pending state, a human reads the human-readable version — which tool, which lines, what class of change — and approves or leaves it pending. With the Interdiction Gateway in path, “pending” has teeth: calls using the drifted definition are blocked until the decision lands, so the lifecycle is not just bookkeeping but control.
What a baseline is not
A baseline is not a backup of the server, not a sandbox, and not a judgement that the approved state is safe in any absolute sense. It faithfully preserves a bad approval if you pin one. It also does not freeze the server — maintainers keep shipping, and they should. The baseline freezes your approval, which is the thing you actually control, and forces every subsequent state of the server to earn that approval again on its own merits.
It is also not a substitute for reading diffs. A baseline makes change visible and attributable; a human still has to look. The good news is that baselines make that look small: instead of re-auditing a whole server every month, reviewers read only what moved, with the old and new text side by side. That is the difference between a control teams actually run and a quarterly ritual everyone routes around.
Baselines for hosted servers you do not control
Hosted MCP servers are where baselines earn their keep. You cannot pin their deploy pipeline, read their release process, or schedule their updates around your change windows. What you can pin is the definition set your agent consumes — because that is served to you, in the open, on every connection. A baseline turns an opaque hosted dependency into a monitored one: their deploy becomes your diff.
This also reframes vendor conversations. Instead of asking a hosted provider “do you ever change tool descriptions?” (answer: of course), you can say “here is the digest of what we approved; here is the change we were shown on Tuesday; walk us through it”. TrustGate's signed change records — HMAC-signed whenever a held change is decided — give that conversation evidence both sides can keep.
Getting started without boiling the ocean
Start with the servers whose tools can hurt you: anything that writes, sends, deletes, pays, or reads private data at scale. Run the free scan, read the report properly once, and pin. Low-stakes read-only servers can follow in the same pass — pinning is cheap once the review is done, and the inventory you build while doing it is valuable on its own (most teams discover at least one server nobody remembers connecting).
Then set the two habits that make baselines real: re-scans on a schedule rather than on suspicion, and a named owner for the pending queue. A diff that nobody owns is a rug pull with extra steps. Pro covers the loop for individual setups; Team adds multiple agent stacks and shared policies for when “the person who reviews MCP changes” becomes a rota instead of a person.
The 5-action checklist
- Scan the server and read the full report — tools, schemas, config risk, injection evidence, toxic flows — before pinning anything.
- Fix or explicitly accept every finding, so the baseline certifies a decision you actually made.
- Pin the baseline and note who approved it and when, while the reasoning is fresh.
- Schedule re-scans and assign a named owner to review diffs and clear the pending queue.
- Approve changes only from the diff view, and let the new baseline replace the old only after that decision.
Worked example: a research team's literature server, pinned on a Friday
A fictional six-person research team, Northbeam Labs, connected a literature-search MCP server holding three read-only tools. Their lead ran the scan on a Friday, read the quoted descriptions (two were long; one mentioned a partner API by name), confirmed the config carried no static keys, and pinned the baseline in about fifteen minutes. The digests for the three tools were recorded, and a weekly re-scan was scheduled.
Three weeks later the weekly diff showed exactly one change: the search tool's schema had gained an optional “notify_url” parameter, and its description now said results could be “pushed to a webhook for convenience”. Because the baseline existed, the review was a two-minute read instead of a fresh audit — and the answer was no: a literature search has no business pushing anything anywhere. The change stayed pending, the vendor confirmed it was an enterprise feature leaking into the shared endpoint, and Northbeam's approved state never moved. That is a baseline doing its whole job in one small story.
Frequently asked questions
How is a baseline different from just saving the scan report?
A report is for humans to read; a baseline is for machines to compare. The baseline stores canonical digests of the tool definitions, so a re-scan can state exactly “these definitions match your approval, these do not” — and the gateway can enforce the same digests at call time. The report stays attached as the human context for why that state was approved.
What happens to the old baseline when I approve a change?
It is kept in the baseline history. The newly approved state becomes the active baseline, and the sequence of baselines forms the server's change record — which is what incident replay walks when you need to know which approved change introduced a behaviour.
Can I pin a baseline for a server I have not connected yet?
Yes — pinning works on the scanned state, which is the right order for new servers: audit the scan, pin the approved state, then connect your agent knowing the approval is recorded and monitored. The first re-scan that finds drift will show you a diff instead of letting the drift become the new normal.
Do baselines work for servers that update frequently?
They work best there, with one discipline: batch your approvals. Frequent updaters produce frequent diffs, and the re-approval queue should be reviewed on a rhythm (daily or weekly) rather than per-ping. Semantic diff classes help triage — a description rewording and a schema widening are both shown, but they do not demand the same depth of review.
Is the free scan enough to create a baseline?
The free scan gives you the full report of one setup. Pinning baselines, scheduled re-scans, the diff and re-approval workflow, and baseline history are Pro and Team features — that ongoing loop, not the one-time look, is the paid product. See pricing for the split.
Keep exploring
Start with the free TrustGate scan of your own MCP setup, compare Free vs Pro vs Team, try the live rug-pull demo and the MCP change impact simulator, or browse the full guides index.