Skip to content
MCP Shelf

Test, fix and stay safe

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. Step 1: Find the source. No public repository, no named owner: skip it.
  2. Step 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. Step 3: Read the tool list. Writes, deletes and shell commands should be ones you expected. MCP Inspector lists them without giving the server to an assistant.
  4. Step 4: Compare what it asks for with what it does. A read-only tool asking for an admin token is wrong.
  5. Step 5: Look at activity: recent commits, open issues, how fast security issues get answered.
  6. Step 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

AppHow to narrow a server
Codexenabled_tools and disabled_tools per server, and default_tools_approval_mode = "prompt" to ask before each call.
VS Code"sandboxEnabled": true on macOS and Linux limits the folders a local server may write and the domains it may reach.
Claude CodeAsks before each tool unless you allow it; switch a server off per project in /mcp.
CursorAsks before each tool by default; toggle servers off in Customize when you are not using them.
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.

Plant Your First Pea

Every server on the shelf has a tab with the exact config for your app.

Browse servers

For bots & AI agents

Machine-readable versions of this guide and MCP Shelf. Fetch these instead of parsing this page.

This guide (.md)llms.txtllms-full.txtai.txtFull catalog (.md)API specMCP serverMCP manifestDeveloper docs