Check an MCP server before connecting
mcp_server_checkFree safety check for any remote MCP server, before an agent connects to it or after it was approved. Privi reads the server's tool list (it never calls a tool) and returns a verdict: ok, caution, danger (tool poisoning: hidden instructions, concealment from the user, requests for keys or private files, tool shadowing, invisible characters), changed (tools differ from expected_tools_hash), unverified (tools behind auth) or unreachable. Also returns the tools_hash to pin, a grade A-F and a link to the server's public history. Every first observation and change is recorded in Privi's on-chain-anchored transparency log. No key needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The server's streamable-HTTP MCP endpoint, e.g. https://example.com/mcp | |
| expected_tools_hash | No | The tools_hash you approved earlier; Privi tells you if the tools changed since then (rug-pull check) |