Home / Guides / MCP server security checklist

MCP server security checklist: 10 checks before you install

An MCP server is code that runs with your permissions, or a service that sees whatever your agent sends it. Being listed in a registry or directory, including this one, settles who published it, not what it does. These are the checks we would run before connecting one to real data.

Checked November 28, 2026 against the MCP project's local server security tutorial, the OWASP MCP Security Cheat Sheet and each client's docs. This is general guidance, not a security audit of any server.

What the registry data shows

From Socketlist's refresh on November 11, 2026: every non-archived server in the official MCP Registry that links a GitHub repository, and the 5,426 we list (score 70 or more).

SignalAll scored (34,169)Listed on Socketlist (5,426)
Has a SECURITY.md disclosure policy25%77%
Declares a licence GitHub recognises72%98%
Code pushed in the last 90 days85%100%
Repository younger than 60 days26%18%

Source: GitHub API fields for each server's linked repository, collected by Socketlist. How we use them: scoring method.

The checklist

  1. Confirm the publisher and the exact package. Open the repository from the listing and check that the package or endpoint you will run is the one its README names. Watch for names one character off a popular server (server-filesytem for server-filesystem); typosquatting is the cheapest attack there is. Prefer the vendor's own server for a SaaS product.
  2. Pin a version. npx -y pkg, uvx pkg and @latest fetch whatever is newest each time the client starts, so a bad release reaches you with no change on your side. Pin pkg@1.4.2, or a container image by digest, and upgrade on purpose. If your company uses an allowlist, pinned commands are separate entries, so plan for updates.
  3. Read the tool list. Read-only tools (search, get, list) are a different decision from tools that write, delete, send, merge or run commands. Use a read-only mode or a tool filter if the server offers one, and keep tool approval prompts on for anything that changes data.
  4. Give it the narrowest token. A fine-grained, short-lived token limited to the repos, projects or mailboxes involved. Never an admin or organisation-wide token because it was quicker.
  5. Limit filesystem roots. A filesystem-style server should get one project folder, read-only if possible. /, ~ or a whole home folder exposes SSH keys, cloud credentials and browser profiles.
  6. Keep secrets out of config files. Use environment-variable references instead of literal keys: ${VAR} in Claude Code and VS Code with Copilot, ${env:VAR} in Cursor. A committed .mcp.json is read by everyone with the repo.
  7. Know where data goes. A hosted server's URL is a vendor that receives your tool calls and results, so it needs the same review as any SaaS handling that data. For a local server, check which hosts it talks to; run broad-access servers in a container or sandbox with limited network where your client supports it.
  8. Check upkeep. When was the code last pushed? Is there a SECURITY.md so problems can be reported? Is the repo archived? Is the open-issue load manageable? Every Socketlist server page shows these with a 0-100 score; low upkeep is a reason to look harder, not proof of a problem.
  9. Review shared server files like code. A repo's .mcp.json or .cursor/mcp.json can add servers for everyone who opens it. Claude Code asks before loading project servers in interactive sessions but not in non-interactive runs such as claude -p, so review changes to these files in pull requests.
  10. Watch for changes after install. A server can change its tool descriptions or behaviour in a later release (OWASP calls this a rug pull). Pinning helps; so does re-reading the changelog before an upgrade and removing servers you no longer use.

For teams

Write the result down as an allowlist so people can't add unchecked servers: how allowlists work in Claude Code, GitHub Copilot and Cursor. Each Socketlist server page includes the matching allowedMcpServers entry next to its setup snippet.

Find servers that pass the basics

Socketlist lists only registry servers with a public GitHub repository and a score of 70 or more; start from security, developer tools or search. Featured placements never change scores or rankings.