An MCP server can read data and run code, so connecting one is a trust decision, not just a configuration step. The specification warns that tools represent arbitrary code execution and must be treated with appropriate caution, and that tool descriptions should be considered untrusted unless they come from a trusted server. Vet the server first: who published it, what systems it can reach, and what each tool actually does.
What you need
- The server publisher name and source, for example an official repository
- The list of systems the server can reach
- The server tool list with descriptions
Step 1: Check who published the server
Confirm the server comes from the official vendor, the MCP reference set, or a publisher you already trust. A server copied from an unknown post or a shortened link needs a much closer look.
Step 2: Check what it can reach
List every system the server connects to: folders, databases, APIs and accounts. If it can reach a system the task does not need, do not connect it until that access is removed.
Step 3: Read every tool description
Read each tool name, description and input schema, and note which tools only read and which write, delete or send. Treat descriptions as untrusted unless the server itself is trusted.
Worked example: synthetic vetting of three servers
The table below is a synthetic example. It shows the expected result of vetting three servers; no server was connected.
| Server | Publisher | Decision |
|---|---|---|
| Official filesystem server | Model Context Protocol | Connect – trusted |
| Vendor CRM server | CRM vendor | Connect – scope checked |
| Unknown search server | Unknown account | Do not connect |
| Community notes server | Known community author | Connect after reading tools |
Expected result (UNTESTED). the official and vendor servers pass vetting, the unknown server is rejected, and the community server needs a tool read first. This check was not run live; the table shows the expected result for the synthetic example.
Limits
- MCP itself cannot enforce security principles at the protocol level; the host application must implement them.
- A server only exposes what its owner chose to expose, but a malicious server can expose tools that look harmless and act otherwise.
- Hosts must obtain explicit user consent before exposing user data to servers.
- Vetting once is not enough: re-check a server after it updates, since an update can add new tools.
