---
title: "MCP Server Assessment"
sidebarTitle: "MCP Server Assessment"
description: "Opt-in, read-only posture check of MCP servers you run: anonymous access, tool poisoning, changed tool definitions, risky tools, protocol mismatches."
keywords: ["mcp security", "mcp server assessment", "tool poisoning", "rug pull", "mcp authentication", "hidden unicode", "mcp posture"]
---

NHI Security can assess the posture of an MCP server that one of your [MCP connectors](/nhi-security/connectors#mcp-tool-servers) collects from. The assessment is **off by default** and is switched on per connector. Turn it on only for servers your organization runs or is allowed to test.

It is read-only. It uses only the methods any MCP client calls when it connects: `initialize`, `tools/list`, `resources/list` and `prompts/list`. It never calls a tool, never reads the content of a resource and never fetches a prompt. It sends no payloads of its own.

## Turn it on

- **Console:** when you add an MCP connector, tick **Assess this server's posture**.
- **API:** set `"assessment": true` in the connector's `settings`.

Keep the **Resources** capability enabled on the connector: the assessment runs once per sync, during resource discovery, and its result is recorded on the server's resource. It runs whenever the connector syncs, on a schedule or on demand.

## What each sync does

1. Reads the tool catalogue page by page, up to 1,000 tools and 4,000,000 characters of title, description and schema text in all, and hashes each tool's name, description and input schema. Only each tool's hash and matches are kept, never its text.
2. Calls `resources/list` and `prompts/list` once each and reads the names and descriptions of up to 100 entries.
3. If the connector authenticates with a bearer token, repeats `initialize` and `tools/list` **without** the token, to see whether the server answers anonymous callers.
4. Records the protocol revision the server answered with and the capabilities it advertised.

Each tool's last-seen hash is kept for comparison, for 90 days after the tool was last seen and for at most 2,000 tools. A tool missing from one sync, or a sync whose `tools/list` fails, does not reset it. When a tool's hash differs from its last-seen hash, the change is recorded and kept for 90 days.

## Checks

| Policy | Severity | What raises it |
|---|---|---|
| `mcp_server_unauthenticated` | High, or low for the handshake alone | The server listed its tools to a caller with no credential (high), or completed the handshake and then refused the listing (low) |
| `mcp_tool_description_instructs_model` | Medium | **Heuristic.** A tool's title, description or input schema text, or a prompt or resource name or description, matches a pattern of text aimed at the model |
| `mcp_tool_definition_changed` | Medium | A tool's definition hash changed within `withinDays` (default 30, range 1–90) |
| `mcp_tool_high_risk_capability` | Medium | **Heuristic.** A tool's name or input field names suggest it runs commands, writes files or fetches arbitrary URLs |
| `mcp_server_protocol_inconsistent` | Low | The server answered a different protocol revision than the connector's `protocolVersion`, lists tools without advertising them, or answers `resources/list` or `prompts/list` inconsistently with what it advertises |

Each finding is raised against the server's resource, so it appears on the server's page and under **Findings → Area: AI agents and MCP**.

### Text aimed at the model

The same seven pattern kinds as the [tool description check](/nhi-security/ai-agent-and-mcp-checks#tool-descriptions-that-talk-to-the-model-heuristic), including invisible and direction-changing Unicode characters. Here they also run over the input schema, because parameter descriptions are read by the model too, and over prompt and resource labels. A tool's title, description and schema are each scanned on their own, so padding one does not push another out of reach. A title or description longer than 20,000 characters, or schema text longer than 100,000, also raises `oversized_text`: padding past the limit is how a payload would otherwise go unread. Only matching prompts and resources are kept, as excerpts of at most 80 characters.

### Changed tool definitions

A tool that changes after somebody reviewed it is no longer the tool they approved: this is how a server turns hostile after it is trusted (a "rug pull"). A change is not proof of malice. A tool seen for the first time is not reported as a change, because there is no earlier definition to compare. A tool that drops out of the catalogue and comes back with a different definition is reported, as long as it returns within 90 days.

### High-risk tools

A fixed word list over the tool's own name (for example `run_shell`, `write_file`, `fetch_url`) and its top-level input names (`command`, `url`, or `path` together with `content`). A match flags the tool for review. It does not change the tool's declared effect, and a tool with no match is not declared harmless.

<Warning>
Two of these checks are heuristics. A tool written to avoid the patterns raises nothing, and **no match never means a server is safe**.
</Warning>

## Transport

Transport security is not a separate finding because a weak transport cannot be collected at all. The connector refuses any endpoint that is not `https://`, and it connects with TLS 1.2 or later and verifies the server's certificate against its host name. A server that fails either shows as a connector error on the connector's page.

## When it is off

A server whose connector does not have the assessment on reports these four checks as **not assessable**, never as passed. Switching the assessment off resolves its open findings at the next evaluation, because nothing is checking them any more.

## Limits

- Tested against a local simulated MCP server only. It has not been run against a live MCP server.
- Reads up to 1,000 tools per server, 20 pages and 4,000,000 characters of tool text. A larger catalogue is marked incomplete, and the findings name the limit reached.
- Keeps tool, prompt and resource names up to 256 characters; a longer tool name is cut and marks the catalogue incomplete. A title or description over 20,000 characters, or schema text over 100,000, does too.
- A change nested more than 32 levels deep in an input schema is not detected.
- The anonymous check tests listing tools, not calling them.
