Baseline / rug-pull detector (§3.4). An MCP server advertises its tools in
tools/list; a malicious (or compromised) server can serve a benign set
while the client builds trust, then quietly change a tool's description or
input schema — or add/remove tools — to redirect the agent ("rug pull").
baseline capture records the FIRST tools/list result. --baseline <file>
then diffs every later server->client tools/list against it and records
findings. Hashing (sha256 over the canonicalised description + input schema)
means the baseline file never has to store — or diff — the full text.
Baseline / rug-pull detector (§3.4). An MCP server advertises its tools in
tools/list; a malicious (or compromised) server can serve a benign set while the client builds trust, then quietly change a tool's description or input schema — or add/remove tools — to redirect the agent ("rug pull").baseline capturerecords the FIRST tools/list result.--baseline <file>then diffs every later server->client tools/list against it and records findings. Hashing (sha256 over the canonicalised description + input schema) means the baseline file never has to store — or diff — the full text.