---
title: "Are MCP Servers Safe? A Checklist Before You Install One"
url: "https://mcpshelf.co/guides/check-an-mcp-server"
description: "An MCP server runs with your permissions and your tokens. A practical checklist for judging one before you install it, and how to limit what it can reach."
updated: "2026-11-01"
site: "MCP Shelf"
---

# Checking an MCP server before you install it

By Sophie Filer · Updated 1 Nov 2026

A local MCP server is a program running as you, with your files, your network and whatever tokens you give it. An assistant decides when to call it. That is worth a few minutes of checking.

- **Start with:** The repository and who owns the package
- **Then read:** Its tools, and the access it asks for
- **Finally:** Give it the narrowest token that works

## Where the risk actually is

- The code: a local server can do anything your user account can.
- The package: the name you install may not belong to the project you think it does. While building MCP Shelf we found popular servers whose npm names belong to unrelated authors.
- The data: a remote server sees everything you route through it.
- Prompt injection: a tool that returns text from the web or from other people can steer what the assistant does next.

## A checklist

1. Find the source. No public repository, no named owner: skip it.
2. Match the package to the repo. On npm, check the repository field; on PyPI, check the project links. A mismatch is a red flag.
3. Read the tool list. Writes, deletes and shell commands should be ones you expected. [MCP Inspector](https://mcpshelf.co/guides/test-an-mcp-server) lists them without giving the server to an assistant.
4. Compare what it asks for with what it does. A read-only tool asking for an admin token is wrong.
5. Look at activity: recent commits, open issues, how fast security issues get answered.
6. Prefer a pinned version over running whatever is on a branch today.

Every server page on MCP Shelf shows the repository, what we checked about its package, and its tools, so the first three steps are done for servers on the shelf.

## Limit the damage if it goes wrong

- Use narrow tokens: read-only, one repository, one project.
- Give each server its own token so you can revoke one at a time.
- Start database and cluster servers in their read-only modes.
- Keep secrets in your user-level config, not a project file that gets committed.
- If a secret was ever committed, rotate it. Deleting the line does not remove it from git history.

## Use the limits your app gives you

| App | How to narrow a server |
| --- | --- |
| [Codex](https://mcpshelf.co/guides/codex) | `enabled_tools` and `disabled_tools` per server, and `default_tools_approval_mode = "prompt"` to ask before each call. |
| [VS Code](https://mcpshelf.co/guides/vs-code) | `"sandboxEnabled": true` on macOS and Linux limits the folders a local server may write and the domains it may reach. |
| [Claude Code](https://mcpshelf.co/guides/claude-code) | Asks before each tool unless you allow it; switch a server off per project in `/mcp`. |
| [Cursor](https://mcpshelf.co/guides/cursor) | Asks before each tool by default; toggle servers off in Customize when you are not using them. |
| [mcp-remote](https://mcpshelf.co/guides/mcp-remote) | `--ignore-tool "delete*"` hides matching tools from any app. |

## Questions

### Does MCP Shelf audit servers?

No. We check that each server starts, that its package belongs to its project, and we write down what it can do. That is not a security audit.

### Should I let my assistant run MCP tools without asking?

Only for tools that cannot change anything, such as a docs search. Keep approval on for anything that writes files, runs commands, sends messages or touches a database.

---

From [MCP Shelf](https://mcpshelf.co/): A short shelf of MCP servers that are worth installing. Index for agents: https://mcpshelf.co/llms.txt

