# MCP security checklist

_A local MCP server starts with everything your account can touch_  
@demotoprod · KEYS · also LEVERS · October 2026

A local MCP server is a child process of your account. It may inherit your environment variables, can read any file the account can, and can open outbound connections anywhere. The authors of a 2026 study of 15,465 published servers found no guardrails and no review. Five afternoon checks.

**A per-server policy to fill in**

```
# One block per server; names in capitals are yours to set
server-a:
  version: EXACT_VERSION          # never latest, no auto-update
  image: IMAGE@sha256:DIGEST      # pinned by digest
  env: [SERVER_A_TOKEN]           # its own narrow, read-only token
  files: {path: PROJECT_DIR, mode: read-only}   # never home
  network: none                   # or a proxy with ALLOWED_DOMAINS
  always_allow: []                # no standing grants
  confirm: [write, delete, send, spend]
  log: [time, server, tool, inputs]
  tool_descriptions: reapprove_on_change
```

- [ ] **1. Give each server its own narrow, read-only token**

  **What happened.** A local server may inherit the environment of whatever launched it, so tokens exported in a shell profile may be readable by every server. A stolen broad token opens unrelated tools; the protocol's guide lists wildcard scopes as a common mistake.

  **The check.**
  - Give each server its own token in its own config, smallest scope that works, read-only if possible.
  - Grant one project directory, read-only, never your home directory. Rotate what a removed server held.

  ```
  # the server's environment holds PATH and one token
  env -i PATH="$PATH" SERVER_TOKEN="$SERVER_A_TOKEN" server-a --stdio
  ```

  Source: [Local Server Security, MCP documentation, read 27 Oct 2026](https://modelcontextprotocol.io/docs/2026-07-28/tutorials/security/local-server-security)

  Source: [Security Best Practices, Scope Minimization, MCP documentation, read 27 Oct 2026](https://modelcontextprotocol.io/docs/2026-07-28/tutorials/security/security_best_practices)

- [ ] **2. Pin the exact version and the image digest**

  **What happened.** A package version pinned through a launcher fixes only the top-level package; dependencies are typically resolved fresh at install time. An image pinned by digest freezes the whole tree. For a remote server, the study's authors say, review shows what was published, not what runs.

  **The check.**
  - Install an exact version, never latest, from a publisher tied to a source repository. Disable auto-update.
  - Run the server from an image pinned by digest. Re-check pinned servers when advisories land.

  Source: [Local Server Security, MCP documentation, read 27 Oct 2026](https://modelcontextprotocol.io/docs/2026-07-28/tutorials/security/local-server-security)

  Source: [Welcome to the Jungle: What We Found Inside 15,465 Public MCP Servers, 6 Oct 2026](https://thehackernews.com/2026/10/welcome-to-jungle-what-we-found-inside.html)

- [ ] **3. Re-read tool descriptions and re-approve when they change**

  **What happened.** A model reads tool descriptions as instructions, and a server can change them after approval, so a version pin does not cover them. The protocol lets the tool list change over time and calls tool annotations untrusted unless the server is trusted.

  **The check.**
  - List each server's tools and descriptions with a tool inspector, no model involved. Remove any server whose descriptions carry unrelated instructions.
  - Choose a client that asks again when tool definitions change. Keep the server list short.

  Source: [Local Server Security, MCP documentation, read 27 Oct 2026](https://modelcontextprotocol.io/docs/2026-07-28/tutorials/security/local-server-security)

  Source: [Tools, MCP specification 2026-07-28, read 27 Oct 2026](https://modelcontextprotocol.io/specification/2026-07-28/server/tools)

- [ ] **4. Allow-list each server's network and log every call**

  **What happened.** A local process normally has unrestricted outbound access, which turns any overcollection or compromise into data loss. A server wrapping one API has a short, predictable set of destinations. Configuration-level allow-lists are cooperative; a sandbox or proxy enforces them.

  **The check.**
  - Run each server in a sandbox with no network, or behind an egress proxy with a domain allow-list.
  - Log time, server, tool and inputs of every call. Alert on destinations outside the list.

  Source: [Local Server Security, MCP documentation, read 27 Oct 2026](https://modelcontextprotocol.io/docs/2026-07-28/tutorials/security/local-server-security)

  Source: [Tools, MCP specification 2026-07-28, read 27 Oct 2026](https://modelcontextprotocol.io/specification/2026-07-28/server/tools)

- [ ] **5. Delete standing always-allow grants**

  **What happened.** In one security vendor's test on an older model, a single always-allow grant let a malicious server use a later prompt injection for privileged file access with no further confirmation. The same attack did not succeed against two newer models.

  **The check.**
  - Delete standing allow rules for servers that read untrusted content: web pages, mail, tickets.
  - Show the inputs and ask a person before any call that writes, deletes, sends or spends.

  Source: [Study page, 15,465 published MCP servers, read 27 Oct 2026](https://www.ox.security/ebooks/15465-mcp-servers-0-governance/)

  Source: [Tools, MCP specification 2026-07-28, read 27 Oct 2026](https://modelcontextprotocol.io/specification/2026-07-28/server/tools)

The 15,465 count and the always-allow test are one security vendor's own study; the test shows what can happen on one older model. Settings are as documented on 27 October 2026. Afternoon sizing is a planning estimate.

The live version of this list, with every source link, is at https://indica-tech.com/checklists/mcp-permissions/. The PDF is at https://indica-tech.com/checklists/lead-magnets/LEVERS-mcp-permissions-checklist-2026-10.pdf.

---

**Nitish Gautam — Indica Technology Ltd.** Founder-led AI engineering: demo to production, in regulated industries, on fixed scope.

Website https://indica-tech.com · Book a call https://indica-tech.com/#contact · hello@indica-tech.com

YouTube youtube.com/@demotoprod · LinkedIn linkedin.com/company/indica-technology · Instagram and TikTok @demotoprod

_MCP security checklist · October 2026 · @demotoprod_
